User32GetClassLong Method

Overload List

GetClassLong(HandleRef, ClassLongValues) Retrieves the specified 32-bit (DWORD) value from the WNDCLASSEX structure associated with the specified window.

Note: This function has been superseded by the GetClassLongPtr(IntPtr, ClassLongValues) function.

To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetClassLongPtr(IntPtr, ClassLongValues).

GetClassLong(IntPtr, ClassLongValues) Retrieves the specified 32-bit (DWORD) value from the WNDCLASSEX structure associated with the specified window.

Note: This function has been superseded by the GetClassLongPtr(IntPtr, ClassLongValues) function.

To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetClassLongPtr(IntPtr, ClassLongValues).

GetClassLong(SafeHandle, ClassLongValues) Retrieves the specified 32-bit (DWORD) value from the WNDCLASSEX structure associated with the specified window.

Note: This function has been superseded by the GetClassLongPtr(IntPtr, ClassLongValues) function.

To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetClassLongPtr(IntPtr, ClassLongValues).

See Also