include: Add header entries required for SHCreateDefaultContextMenu and CDefFolderMenu_Create2.
This commit is contained in:
parent
2e5e7dbeba
commit
ae3108e66f
|
@ -1701,6 +1701,30 @@ static inline BOOL ILIsEmpty(LPCITEMIDLIST pidl)
|
|||
return !(pidl && pidl->mkid.cb);
|
||||
}
|
||||
|
||||
#include <pshpack8.h>
|
||||
|
||||
typedef struct {
|
||||
HWND hwnd;
|
||||
IContextMenuCB *pcmcb;
|
||||
PCIDLIST_ABSOLUTE pidlFolder;
|
||||
IShellFolder *psf;
|
||||
UINT cidl;
|
||||
PCUITEMID_CHILD_ARRAY apidl;
|
||||
IUnknown *punkAssociationInfo;
|
||||
UINT cKeys;
|
||||
const HKEY *aKeys;
|
||||
} DEFCONTEXTMENU;
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
HRESULT WINAPI SHCreateDefaultContextMenu(const DEFCONTEXTMENU *pdcm, REFIID riid, void **ppv);
|
||||
|
||||
typedef HRESULT (CALLBACK *LPFNDFMCALLBACK)(IShellFolder*,HWND,IDataObject*,UINT,WPARAM,LPARAM);
|
||||
|
||||
HRESULT WINAPI CDefFolderMenu_Create2(LPCITEMIDLIST pidlFolder, HWND hwnd, UINT cidl,
|
||||
LPCITEMIDLIST *apidl, IShellFolder *psf,
|
||||
LPFNDFMCALLBACK lpfn, UINT nKeys, const HKEY *ahkeys,
|
||||
IContextMenu **ppcm);
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
|
|
|
@ -1586,6 +1586,23 @@ interface IContextMenu3 : IContextMenu2
|
|||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(3409e930-5a39-11d1-83fa-00a0c90dc849),
|
||||
pointer_default(unique),
|
||||
local
|
||||
]
|
||||
interface IContextMenuCB : IUnknown
|
||||
{
|
||||
HRESULT CallBack(
|
||||
[in] IShellFolder *psf,
|
||||
[in] HWND hwndOwner,
|
||||
[in] IDataObject *pdtobj,
|
||||
[in] UINT uMsg,
|
||||
[in] WPARAM wParam,
|
||||
[in] LPARAM lParam);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* IShellExecuteHookA interface
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue