ComCtl32DefSubclassProc(IntPtr, UInt32, 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.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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,
uint msg,
IntPtr wParam,
IntPtr lParam
)
<DllImportAttribute("ComCtl32.dll", SetLastError := true>]
Public Shared Function DefSubclassProc (
hWnd As IntPtr,
msg As UInteger,
wParam As IntPtr,
lParam As IntPtr
) As IntPtr
Dim hWnd As IntPtr
Dim msg As UInteger
Dim wParam As IntPtr
Dim lParam As IntPtr
Dim returnValue As IntPtr
returnValue = ComCtl32.DefSubclassProc(hWnd,
msg, wParam, lParam)
public:
[DllImportAttribute(L"ComCtl32.dll", SetLastError = true)]
static IntPtr DefSubclassProc(
IntPtr hWnd,
unsigned int msg,
IntPtr wParam,
IntPtr lParam
)
[<DllImportAttribute("ComCtl32.dll", SetLastError = true)>]
static member DefSubclassProc :
hWnd : IntPtr *
msg : uint32 *
wParam : IntPtr *
lParam : IntPtr -> IntPtr
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
A handle to the window being subclassed.
- msg UInt32
-
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.
IntPtr
The returned value is specific to the message sent.
This value should be ignored.