mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
Add SHCreateDefaultExtractIcon prototype and IDefaultExtractIconInit interface.
IID_IDefaultExtractIconInit is not correct, it has to be fixed later svn path=/trunk/; revision=29779
This commit is contained in:
parent
873fccb22a
commit
8ffd3b71f2
|
@ -1394,6 +1394,15 @@ HRESULT WINAPI SHCreateDefaultContextMenu(const DEFCONTEXTMENU *,REFIID,void **p
|
|||
typedef HRESULT (CALLBACK * LPFNDFMCALLBACK)(IShellFolder*,HWND,IDataObject*,UINT,WPARAM,LPARAM);
|
||||
INT CDefFolderMenu_Create2(LPCITEMIDLIST,HWND,UINT,LPCITEMIDLIST*,IShellFolder*,LPFNDFMCALLBACK,UINT,HKEY *,IContextMenu **);
|
||||
|
||||
/****************************************************************************
|
||||
* SHCreateDefaultContextMenu API
|
||||
*/
|
||||
|
||||
HRESULT WINAPI
|
||||
SHCreateDefaultExtractIcon(
|
||||
REFIID riid,
|
||||
void **ppv);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
|
|
@ -1345,5 +1345,33 @@ interface IContextMenuCB : IUnknown
|
|||
[in] UINT uMsg,
|
||||
[in] WPARAM wParam,
|
||||
[in] LPARAM lParam);
|
||||
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* IDefaultExtractIconInit interface
|
||||
*/
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(800AB0B8-F5FA-4e72-8FF3-B1A243B87BD9), /* FIXME: wrong value! */
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IDefaultExtractIconInit : IUnknown
|
||||
{
|
||||
HRESULT SetDefaultIcon(
|
||||
[in] LPCWSTR pszFile,
|
||||
[in] int iIcon);
|
||||
HRESULT SetFlags(
|
||||
[in] UINT uFlags);
|
||||
HRESULT SetKey(
|
||||
[in] HKEY hkey);
|
||||
HRESULT SetNormalIcon(
|
||||
[in] LPCWSTR pszFile,
|
||||
[in] int iIcon);
|
||||
HRESULT SetOpenIcon(
|
||||
[in] LPCWSTR pszFile,
|
||||
[in] int iIcon);
|
||||
HRESULT SetShortcutIcon(
|
||||
[in] LPCWSTR pszFile,
|
||||
[in] int iIcon);
|
||||
}
|
Loading…
Reference in a new issue