shell32: Fix prototypes.
Fix the SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray, SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray function prototypes because they're now documented. Also add them to shlobj.h.
This commit is contained in:
parent
64f1d97a54
commit
e06345db52
|
@ -1516,37 +1516,36 @@ DWORD WINAPI SHELL32_714(LPVOID x)
|
|||
/*************************************************************************
|
||||
* SHAddFromPropSheetExtArray [SHELL32.167]
|
||||
*/
|
||||
DWORD WINAPI SHAddFromPropSheetExtArray(DWORD a, DWORD b, DWORD c)
|
||||
UINT WINAPI SHAddFromPropSheetExtArray(HPSXA hpsxa, LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam)
|
||||
{
|
||||
FIXME("(%08x,%08x,%08x)stub\n", a, b, c);
|
||||
FIXME("(%p,%p,%08lx)stub\n", hpsxa, lpfnAddPage, lParam);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* SHCreatePropSheetExtArray [SHELL32.168]
|
||||
*/
|
||||
DWORD WINAPI SHCreatePropSheetExtArray(DWORD a, LPCSTR b, DWORD c)
|
||||
HPSXA WINAPI SHCreatePropSheetExtArray(HKEY hKey, LPCWSTR pszSubKey, UINT max_iface)
|
||||
{
|
||||
FIXME("(%08x,%s,%08x)stub\n", a, debugstr_a(b), c);
|
||||
return 0;
|
||||
FIXME("(%p,%s,%u)stub\n", hKey, debugstr_w(pszSubKey), max_iface);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* SHReplaceFromPropSheetExtArray [SHELL32.170]
|
||||
*/
|
||||
DWORD WINAPI SHReplaceFromPropSheetExtArray(DWORD a, DWORD b, DWORD c, DWORD d)
|
||||
UINT WINAPI SHReplaceFromPropSheetExtArray(HPSXA hpsxa, UINT uPageID, LPFNADDPROPSHEETPAGE lpfnReplaceWith, LPARAM lParam)
|
||||
{
|
||||
FIXME("(%08x,%08x,%08x,%08x)stub\n", a, b, c, d);
|
||||
FIXME("(%p,%u,%p,%08lx)stub\n", hpsxa, uPageID, lpfnReplaceWith, lParam);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* SHDestroyPropSheetExtArray [SHELL32.169]
|
||||
*/
|
||||
DWORD WINAPI SHDestroyPropSheetExtArray(DWORD a)
|
||||
void WINAPI SHDestroyPropSheetExtArray(HPSXA hpsxa)
|
||||
{
|
||||
FIXME("(%08x)stub\n", a);
|
||||
return 0;
|
||||
FIXME("(%p)stub\n", hpsxa);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
|
@ -34,12 +34,20 @@ extern "C" {
|
|||
#include <shtypes.h>
|
||||
#include <shobjidl.h>
|
||||
|
||||
#ifndef HPSXA_DEFINED
|
||||
#define HPSXA_DEFINED
|
||||
DECLARE_HANDLE(HPSXA);
|
||||
#endif
|
||||
|
||||
UINT WINAPI SHAddFromPropSheetExtArray(HPSXA,LPFNADDPROPSHEETPAGE,LPARAM);
|
||||
LPVOID WINAPI SHAlloc(ULONG);
|
||||
HRESULT WINAPI SHCoCreateInstance(LPCWSTR,const CLSID*,IUnknown*,REFIID,LPVOID*);
|
||||
HPSXA WINAPI SHCreatePropSheetExtArray(HKEY,LPCWSTR,UINT);
|
||||
DWORD WINAPI SHCLSIDFromStringA(LPCSTR,CLSID*);
|
||||
DWORD WINAPI SHCLSIDFromStringW(LPCWSTR,CLSID*);
|
||||
#define SHCLSIDFromString WINELIB_NAME_AW(SHCLSIDFromString)
|
||||
HRESULT WINAPI SHCreateStdEnumFmtEtc(DWORD,const FORMATETC *,IEnumFORMATETC**);
|
||||
void WINAPI SHDestroyPropSheetExtArray(HPSXA);
|
||||
BOOL WINAPI SHFindFiles(LPCITEMIDLIST,LPCITEMIDLIST);
|
||||
DWORD WINAPI SHFormatDrive(HWND,UINT,UINT,UINT);
|
||||
void WINAPI SHFree(LPVOID);
|
||||
|
@ -50,6 +58,7 @@ BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST,LPWSTR);
|
|||
INT WINAPI SHHandleUpdateImage(LPCITEMIDLIST);
|
||||
HRESULT WINAPI SHILCreateFromPath(LPCWSTR,LPITEMIDLIST*,DWORD*);
|
||||
HRESULT WINAPI SHLoadOLE(LPARAM);
|
||||
UINT WINAPI SHReplaceFromPropSheetExtArray(HPSXA,UINT,LPFNADDPROPSHEETPAGE,LPARAM);
|
||||
LPITEMIDLIST WINAPI SHSimpleIDListFromPath(LPCWSTR);
|
||||
int WINAPI SHMapPIDLToSystemImageListIndex(IShellFolder*,LPCITEMIDLIST,int*);
|
||||
HRESULT WINAPI SHStartNetConnectionDialog(HWND,LPCSTR,DWORD);
|
||||
|
|
Loading…
Reference in New Issue