FileDialog.HookProc(IntPtr, Int32, IntPtr, IntPtr) Method
Definition
Defines the common file dialog hook procedure that is overridden to add common functionality to a file dialog.
protected:
override IntPtr HookProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam);
[System.Security.SecurityCritical]
protected override IntPtr HookProc (IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam);
override this.HookProc : nativeint * int * nativeint * nativeint -> nativeint
Protected Overrides Function HookProc (hwnd As IntPtr, msg As Integer, wParam As IntPtr, lParam As IntPtr) As IntPtr
Parameters
- hwnd
- IntPtr
Window handle for the Win32 dialog.
- msg
- Int32
Message to be processed by the Win32 dialog.
- wParam
- IntPtr
Parameters for dialog actions.
- lParam
- IntPtr
Parameters for dialog actions.
Returns
Returns Zero to indicate success; otherwise, a non-zero value is returned to indicate failure.
- Attributes