User32DefDlgProc Method

Calls the default dialog box window procedure to provide default processing for any window messages that a dialog box with a private window class does not process.

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("User32.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true)]
public static IntPtr DefDlgProc(
	IntPtr hDlg,
	uint msg,
	IntPtr wParam,
	IntPtr lParam
)

Parameters

hDlg  IntPtr
A handle to the dialog box.
msg  UInt32
The message to be processed.
wParam  IntPtr
Additional message information. The content of this parameter depends on the value of the msg parameter.
lParam  IntPtr
Additional message information. The content of this parameter depends on the value of the msg parameter.

Return Value

IntPtr
The return value specifies the result of the message processing and depends on the message.

Remarks

See Also