Share via


GweBypassCoredllThunk_t::GetClassNameW_I (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the name of the class to which the specified window belongs.

Syntax

static int WINAPI GetClassNameW_I(
  HWND hwndThis,
  PTSTR szClassName,
  int cchClassName
);

Parameters

  • hwndThis
    [in] Handle to the window and, indirectly, the class to which the window belongs.
  • szClassName
    [out] Long pointer to the buffer that is to receive the class name string.
  • cchClassName
    [in] Integer that specifies the length, in characters, of the buffer pointed to by the szClassName parameter. The class name string is truncated if it is longer than the buffer.

Return Value

The number of characters copied to the specified buffer indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Remarks

This method is an internal version of the GetClassName function.

Requirements

Header gwebypasscoredllthunk.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

GweBypassCoredllThunk_t
FindWindow
GetClassInfo
GetClassName
GweBypassCoredllThunk_t::GetClassLongW_I