GweBypassCoredllThunk_t::GetClassNameW_I (Windows CE 5.0)

Send Feedback

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

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: GweBypassCoredllThunk.hpp.

See Also

FindWindow | GetClassInfo | GetClassName | GweBypassCoredllThunk_t::GetClassLongW_I

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.