UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:shlobj_core.LPFNDFMCALLBACK |
LPFNDFMCALLBACK (shlobj_core.h) |
LPFNDFMCALLBACK may be altered or unavailable. |
|
shell\LPFNDFMCALLBACK.htm |
shell |
a5635196-80de-4db9-9c3a-65f2b241b4a0 |
12/05/2018 |
LPFNDFMCALLBACK, LPFNDFMCALLBACK callback, LPFNDFMCALLBACK callback function [Windows Shell], _win32_LPFNDFMCALLBACK, shell.LPFNDFMCALLBACK, shlobj_core/LPFNDFMCALLBACK |
shlobj_core.h |
Shlobj.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
[LPFNDFMCALLBACK is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Defines the prototype for the callback function that receives messages from the Shell's default context menu implementation.
Type: IShellFolder*
A pointer to the IShellFolder object the message applies to. This value can be NULL.
Type: HWND
The handle of the window that contains the view. This value can be NULL.
Type: IDataObject*
IDataObject that represents the selection the context menu is based on. This value can be NULL.
Type: UINT
One of the following notifications.
Notification | Usage |
---|---|
DFM_MERGECONTEXTMENU | Sent by the default context menu implementation to allow LPFNDFMCALLBACK to add items to the menu. |
DFM_INVOKECOMMAND | Sent by the default context menu implementation to request LPFNDFMCALLBACK to invoke a menu command. |
DFM_GETDEFSTATICID | Sent by the default context menu implementation when the default menu command is being created, allowing an alternate choice to be made. |
Type: WPARAM
Additional information. See the individual notification pages for specific requirements.
Type: LPARAM
Additional information. See the individual notification pages for specific requirements.
Type: HRESULT
Returns S_OK if the message was handled, or an error value otherwise, including the following:
Return code | Description |
---|---|
|
The message was not handled. |