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
62bc2c18
Commit
62bc2c18
authored
Mar 17, 2005
by
Jon Griffiths
Committed by
Alexandre Julliard
Mar 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some missing interfaces.
parent
1b5ebabd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
6 deletions
+82
-6
shlguid.h
include/shlguid.h
+4
-2
shlobj.h
include/shlobj.h
+78
-4
No files found.
include/shlguid.h
View file @
62bc2c18
...
@@ -83,8 +83,10 @@ DEFINE_GUID(SID_STopLevelBrowser, 0x4C96BE40L, 0x915C, 0x11CF, 0x99, 0xD3, 0x00,
...
@@ -83,8 +83,10 @@ DEFINE_GUID(SID_STopLevelBrowser, 0x4C96BE40L, 0x915C, 0x11CF, 0x99, 0xD3, 0x00,
#define IID_IShellExecuteHook WINELIB_NAME_AW(IID_IShellExecuteHook)
#define IID_IShellExecuteHook WINELIB_NAME_AW(IID_IShellExecuteHook)
#define IID_INewShortcutHook WINELIB_NAME_AW(IID_INewShortcutHook)
#define IID_INewShortcutHook WINELIB_NAME_AW(IID_INewShortcutHook)
DEFINE_GUID
(
IID_IDockingWindow
,
0x012dd920L
,
0x7B26
,
0x11D0
,
0x8C
,
0xA9
,
0x00
,
0xA0
,
0xC9
,
0x2D
,
0xBF
,
0xE8
);
DEFINE_GUID
(
IID_IDockingWindow
,
0x012dd920L
,
0x7B26
,
0x11D0
,
0x8C
,
0xA9
,
0x00
,
0xA0
,
0xC9
,
0x2D
,
0xBF
,
0xE8
);
DEFINE_GUID
(
IID_IDockingWindowSite
,
0x2A342FC2L
,
0x7B26
,
0x11D0
,
0x8C
,
0xA9
,
0x00
,
0xA0
,
0xC9
,
0x2D
,
0xBF
,
0xE8
);
DEFINE_GUID
(
IID_IDockingWindowSite
,
0x2A342FC2L
,
0x7B26
,
0x11D0
,
0x8C
,
0xA9
,
0x00
,
0xA0
,
0xC9
,
0x2D
,
0xBF
,
0xE8
);
DEFINE_GUID
(
IID_IInputObject
,
0x068284FAA
,
0x6A48
,
0x11D0
,
0x8C
,
0x78
,
0x00
,
0xC0
,
0x4F
,
0xD9
,
0x18
,
0xB4
);
DEFINE_GUID
(
IID_IInputObjectSite
,
0x0F1DB8392
,
0x7331
,
0x11D0
,
0x8C
,
0x99
,
0x00
,
0xA0
,
0xC9
,
0x2D
,
0xBF
,
0xE8
);
/****************************************************************************
/****************************************************************************
* the next IID's are the namespace elements of the pidls
* the next IID's are the namespace elements of the pidls
...
...
include/shlobj.h
View file @
62bc2c18
...
@@ -76,13 +76,15 @@ BOOL WINAPI SHObjectProperties(HWND,DWORD,LPCWSTR,LPCWSTR);
...
@@ -76,13 +76,15 @@ BOOL WINAPI SHObjectProperties(HWND,DWORD,LPCWSTR,LPCWSTR);
#define PCS_TRUNCATED 0x00000004
#define PCS_TRUNCATED 0x00000004
#define PCS_PATHTOOLONG 0x00000008
#define PCS_PATHTOOLONG 0x00000008
int
WINAPI
PathCleanupSpec
(
LPCWSTR
pszDir
,
LPWSTR
pszSpec
);
int
WINAPI
PathCleanupSpec
(
LPCWSTR
,
LPWSTR
);
/*****************************************************************************
/*****************************************************************************
* Predeclare interfaces
* Predeclare interfaces
*/
*/
typedef
struct
IShellIcon
IShellIcon
,
*
LPSHELLICON
;
typedef
struct
IShellIcon
IShellIcon
,
*
LPSHELLICON
;
typedef
struct
IQueryInfo
IQueryInfo
;
typedef
struct
IInputObject
IInputObject
;
typedef
struct
IInputObjectSite
IInputObjectSite
;
/*****************************************************************************
/*****************************************************************************
* IContextMenu interface
* IContextMenu interface
...
@@ -221,6 +223,78 @@ DECLARE_INTERFACE_(IShellIcon,IUnknown)
...
@@ -221,6 +223,78 @@ DECLARE_INTERFACE_(IShellIcon,IUnknown)
#define IShellIcon_GetIconOf(p,a,b,c) (p)->lpVtbl->GetIconOf(p,a,b,c)
#define IShellIcon_GetIconOf(p,a,b,c) (p)->lpVtbl->GetIconOf(p,a,b,c)
#endif
#endif
/* IQueryInfo interface */
#define INTERFACE IQueryInfo
DECLARE_INTERFACE_
(
IQueryInfo
,
IUnknown
)
{
/*** IUnknown methods ***/
STDMETHOD_
(
HRESULT
,
QueryInterface
)(
THIS_
REFIID
riid
,
void
**
ppvObject
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IQueryInfo methods ***/
STDMETHOD
(
GetInfoTip
)(
THIS_
DWORD
dwFlags
,
WCHAR
**
lppTips
)
PURE
;
STDMETHOD
(
GetInfoFlags
)(
THIS_
DWORD
*
lpFlags
)
PURE
;
};
#undef INTERFACE
#if !defined(__cplusplus) || defined(CINTERFACE)
/*** IUnknown methods ***/
#define IQueryInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IQueryInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IQueryInfo_Release(p) (p)->lpVtbl->Release(p)
/*** IQueryInfo methods ***/
#define IQueryInfo_GetInfoTip(p,a,b) (p)->lpVtbl->GetInfoTip(p,a,b)
#define IQueryInfo_GetInfoFlags(p,a) (p)->lpVtbl->GetInfoFlags(p,a)
#endif
/* IInputObject interface */
#define INTERFACE IInputObject
DECLARE_INTERFACE_
(
IInputObject
,
IUnknown
)
{
/*** IUnknown methods ***/
STDMETHOD_
(
HRESULT
,
QueryInterface
)(
THIS_
REFIID
riid
,
void
**
ppvObject
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IInputObject methods ***/
STDMETHOD
(
UIActivateIO
)(
THIS_
BOOL
bActivating
,
LPMSG
lpMsg
)
PURE
;
STDMETHOD
(
HasFocusIO
)(
THIS
)
PURE
;
STDMETHOD
(
TranslateAcceleratorIO
)(
THIS_
LPMSG
lpMsg
)
PURE
;
};
#undef INTERFACE
#if !defined(__cplusplus) || defined(CINTERFACE)
/*** IUnknown methods ***/
#define IInputObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IInputObject_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IInputObject_Release(p) (p)->lpVtbl->Release(p)
/*** IInputObject methods ***/
#define IInputObject_UIActivateIO(p,a,b) (p)->lpVtbl->UIActivateIO(p,a,b)
#define IInputObject_HasFocusIO(p) (p)->lpVtbl->HasFocusIO(p)
#define IInputObject_TranslateAcceleratorIO(p,a) (p)->lpVtbl->TranslateAcceleratorIO(p,a)
#endif
/* IInputObjectSite interface */
#define INTERFACE IInputObjectSite
DECLARE_INTERFACE_
(
IInputObjectSite
,
IUnknown
)
{
/*** IUnknown methods ***/
STDMETHOD_
(
HRESULT
,
QueryInterface
)
(
THIS_
REFIID
riid
,
void
**
ppvObject
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)
(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)
(
THIS
)
PURE
;
/*** IInputObjectSite methods ***/
STDMETHOD
(
OnFocusChangeIS
)(
THIS_
LPUNKNOWN
lpUnknown
,
BOOL
bFocus
)
PURE
;
};
#undef INTERFACE
#if !defined(__cplusplus) || defined(CINTERFACE)
/*** IUnknown methods ***/
#define IInputObjectSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IInputObjectSite_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IInputObjectSite_Release(p) (p)->lpVtbl->Release(p)
/*** IInputObject methods ***/
#define IInputObjectSite_OnFocusChangeIS(p,a,b) (p)->lpVtbl->OnFocusChangeIS(p,a,b)
#endif
/****************************************************************************
/****************************************************************************
* SHAddToRecentDocs API
* SHAddToRecentDocs API
*/
*/
...
@@ -229,12 +303,12 @@ DECLARE_INTERFACE_(IShellIcon,IUnknown)
...
@@ -229,12 +303,12 @@ DECLARE_INTERFACE_(IShellIcon,IUnknown)
#define SHARD_PATHW 0x00000003L
#define SHARD_PATHW 0x00000003L
#define SHARD_PATH WINELIB_NAME_AW(SHARD_PATH)
#define SHARD_PATH WINELIB_NAME_AW(SHARD_PATH)
void
WINAPI
SHAddToRecentDocs
(
UINT
uFlags
,
LPCVOID
pv
);
void
WINAPI
SHAddToRecentDocs
(
UINT
,
LPCVOID
);
/****************************************************************************
/****************************************************************************
* SHBrowseForFolder API
* SHBrowseForFolder API
*/
*/
typedef
INT
(
CALLBACK
*
BFFCALLBACK
)(
HWND
hwnd
,
UINT
uMsg
,
LPARAM
lParam
,
LPARAM
lpData
);
typedef
INT
(
CALLBACK
*
BFFCALLBACK
)(
HWND
,
UINT
,
LPARAM
,
LPARAM
);
#include <pshpack8.h>
#include <pshpack8.h>
...
...
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