Name

GetClassInfoEx

Synopsis

Returns information about the specified class:

Public Declare Function GetClassInfoEx Lib "user32" Alias "GetClassInfoExA" _
		(ByVal hInstance As Long, ByVal lpClassName As String, _
		lpWndClass As WNDCLASSEX) As Long

Parameters

hInstance

Handle to the application instance that created the class. This argument is NULL if the system created the class (system-wide class).

lpClassName

The name or class atom of a registered class.

lpWndClass

Pointer to a WNDCLASSEX structure, which is passed back to the calling function.

Return Value

Returns a nonzero value if it successfully returns a window class structure. Returns 0 if the function fails.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.