FileDialog.HookProc(IntPtr, Int32, IntPtr, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
protected override IntPtr HookProc (IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam);
[<System.Security.SecurityCritical>]
override this.HookProc : nativeint * int * nativeint * nativeint -> nativeint
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
nativeint
Window handle for the Win32 dialog.
- msg
- Int32
Message to be processed by the Win32 dialog.
- wParam
-
IntPtr
nativeint
Parameters for dialog actions.
- lParam
-
IntPtr
nativeint
Parameters for dialog actions.
Returns
IntPtr
nativeint
Returns Zero to indicate success; otherwise, a non-zero value is returned to indicate failure.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.