Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ae3108e6
Commit
ae3108e6
authored
Aug 01, 2011
by
Jay Yang
Committed by
Alexandre Julliard
Aug 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add header entries required for SHCreateDefaultContextMenu and CDefFolderMenu_Create2.
parent
2e5e7dbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
0 deletions
+41
-0
shlobj.h
include/shlobj.h
+24
-0
shobjidl.idl
include/shobjidl.idl
+17
-0
No files found.
include/shlobj.h
View file @
ae3108e6
...
...
@@ -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>
...
...
include/shobjidl.idl
View file @
ae3108e6
...
...
@@ -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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment