The RegisterClassEx API registers a new window class to be created using CreateWindow or CreateWindowEx.
8/14/2010 9:24:43 AM - -200.171.175.201
The GetClassInfoEx API
10/7/2013 12:52:24 PM - -74.212.46.188
The '''WNDCLASSEX''' structure contains window class information. It is used with the RegisterClassEx and GetClassInfoEx functions. The '''WNDCLASSEX''' structure is similar to the Structures.[WNDCLASS] structure. There are two differences. '''WNDCLASSEX''' includes the '''cbSize''' member, which specifies the size of the structure, and the '''hIconSm''' member, which contains a handle to a small icon associated with the window class.
6/5/2016 9:19:43 AM - jnm2-74.212.46.188
.
Specifies the size, in bytes, of this structure. Set this member to sizeof(WNDCLASSEX). Be sure to set this member before calling the GetClassInfoEx function.
The RegisterClassEx API registers a new window class to be created using CreateWindow or CreateWindowEx.
8/14/2010 9:24:43 AM - -200.171.175.201
The GetClassInfoEx API
10/7/2013 12:52:24 PM - -74.212.46.188
The '''WNDCLASSEX''' structure contains window class information. It is used with the RegisterClassEx and GetClassInfoEx functions. The '''WNDCLASSEX''' structure is similar to the Structures.[WNDCLASS] structure. There are two differences. '''WNDCLASSEX''' includes the '''cbSize''' member, which specifies the size of the structure, and the '''hIconSm''' member, which contains a handle to a small icon associated with the window class.
6/5/2016 9:19:43 AM - jnm2-74.212.46.188
.
Specifies the size, in bytes, of this structure. Set this member to sizeof(WNDCLASSEX). Be sure to set this member before calling the GetClassInfoEx function.
Private Shared Function GetClassInfoEx(hInstance As IntPtr, lpClassName As String, ByRef lpWndClass As WNDCLASSEX) As Boolean
.
Be sure to set cbSize member of WNDCLASSEX structure before calling the GetClassInfoEx function.
The '''WNDCLASSEX''' structure contains window class information. It is used with the RegisterClassEx and GetClassInfoEx functions. The '''WNDCLASSEX''' structure is similar to the Structures.[WNDCLASS] structure. There are two differences. '''WNDCLASSEX''' includes the '''cbSize''' member, which specifies the size of the structure, and the '''hIconSm''' member, which contains a handle to a small icon associated with the window class.
Private Shared Function GetClassInfoEx(hInstance As IntPtr, lpClassName As String, ByRef lpWndClass As WNDCLASSEX) As Boolean
.
Be sure to set cbSize member of WNDCLASSEX structure before calling the GetClassInfoEx function.
The '''WNDCLASSEX''' structure contains window class information. It is used with the RegisterClassEx and GetClassInfoEx functions. The '''WNDCLASSEX''' structure is similar to the Structures.[WNDCLASS] structure. There are two differences. '''WNDCLASSEX''' includes the '''cbSize''' member, which specifies the size of the structure, and the '''hIconSm''' member, which contains a handle to a small icon associated with the window class.
Things like RegisterWindowClass and GetClassInfo using the WNDCLASS structure in different ways requires creating separate structures with different field types in order to satisfy the marshaller (The WndProc pointer as a raw IntPtr in some cases, or as a method pointer in other cases). I can see that the params for GetClassInfo and RegisterWindowClass do take different structure types, but those types do not appear to be documented here.
The GetClassInfoEx API
11/19/2013 10:15:05 AM - -80.66.6.99
A delegate for window procedure callbacks (handlers).
7/31/2009 12:04:10 PM - -92.224.233.194
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.