ComCtl32DefSubclassProc(IntPtr, WindowMessages, IntPtr, IntPtr) Method

Calls the next handler in a window's subclass chain.

The last handler in the subclass chain calls the original window procedure for the window.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ComCtl32.dll", SetLastError = true)]
public static IntPtr DefSubclassProc(
	IntPtr hWnd,
	WindowMessages msg,
	IntPtr wParam,
	IntPtr lParam
)

Parameters

hWnd  IntPtr
A handle to the window being subclassed.
msg  WindowMessages
A window message.
wParam  IntPtr
Specifies additional message information. The contents of this parameter depend on the value of the window message.
lParam  IntPtr
Specifies additional message information. The contents of this parameter depend on the value of the window message.

Note: On 64-bit versions of Windows lParam is a 64-bit value.

Return Value

IntPtr
The returned value is specific to the message sent. This value should be ignored.

Remarks

See Also