Fix some parameter types.
This commit is contained in:
parent
41dfa0590f
commit
5bfcdc8d73
|
@ -86,13 +86,13 @@ static UINT (WINAPI *pDragQueryFileW)(HDROP, UINT, LPWSTR, UINT);
|
||||||
static BOOL (WINAPI *pSHGetPathFromIDListW)(LPCITEMIDLIST, LPWSTR);
|
static BOOL (WINAPI *pSHGetPathFromIDListW)(LPCITEMIDLIST, LPWSTR);
|
||||||
static BOOL (WINAPI *pShellExecuteExW)(LPSHELLEXECUTEINFOW);
|
static BOOL (WINAPI *pShellExecuteExW)(LPSHELLEXECUTEINFOW);
|
||||||
static HICON (WINAPI *pSHFileOperationW)(LPSHFILEOPSTRUCTW);
|
static HICON (WINAPI *pSHFileOperationW)(LPSHFILEOPSTRUCTW);
|
||||||
static HICON (WINAPI *pExtractIconExW)(LPCWSTR, INT,HICON *,HICON *, UINT);
|
static UINT (WINAPI *pExtractIconExW)(LPCWSTR, INT,HICON *,HICON *, UINT);
|
||||||
static BOOL (WINAPI *pSHGetNewLinkInfoW)(LPCWSTR, LPCWSTR, LPCWSTR, BOOL*, UINT);
|
static BOOL (WINAPI *pSHGetNewLinkInfoW)(LPCWSTR, LPCWSTR, LPCWSTR, BOOL*, UINT);
|
||||||
static DWORD (WINAPI *pSHDefExtractIconW)(LPVOID, LPVOID, LPVOID, LPVOID, LPVOID, LPVOID); /* FIXME: Correct args */
|
static HRESULT (WINAPI *pSHDefExtractIconW)(LPCWSTR, int, UINT, HICON*, HICON*, UINT);
|
||||||
static HICON (WINAPI *pExtractIconW)(HINSTANCE, LPCWSTR, UINT);
|
static HICON (WINAPI *pExtractIconW)(HINSTANCE, LPCWSTR, UINT);
|
||||||
static BOOL (WINAPI *pGetSaveFileNameW)(LPOPENFILENAMEW);
|
static BOOL (WINAPI *pGetSaveFileNameW)(LPOPENFILENAMEW);
|
||||||
static DWORD (WINAPI *pWNetRestoreConnectionW)(LPVOID, LPVOID); /* FIXME: Correct args */
|
static DWORD (WINAPI *pWNetRestoreConnectionW)(HWND, LPWSTR);
|
||||||
static DWORD (WINAPI *pWNetGetLastErrorW)(LPVOID, LPVOID, LPVOID, LPVOID, LPVOID); /* FIXME: Correct args */
|
static DWORD (WINAPI *pWNetGetLastErrorW)(LPDWORD, LPWSTR, DWORD, LPWSTR, DWORD);
|
||||||
static BOOL (WINAPI *pPageSetupDlgW)(LPPAGESETUPDLGW);
|
static BOOL (WINAPI *pPageSetupDlgW)(LPPAGESETUPDLGW);
|
||||||
static BOOL (WINAPI *pPrintDlgW)(LPPRINTDLGW);
|
static BOOL (WINAPI *pPrintDlgW)(LPPRINTDLGW);
|
||||||
static BOOL (WINAPI *pGetOpenFileNameW)(LPOPENFILENAMEW);
|
static BOOL (WINAPI *pGetOpenFileNameW)(LPOPENFILENAMEW);
|
||||||
|
@ -2215,10 +2215,10 @@ HICON WINAPI SHLWAPI_336(LPSHFILEOPSTRUCTW lpFileOp)
|
||||||
*
|
*
|
||||||
* Late bound call to shell32.ExtractIconExW.
|
* Late bound call to shell32.ExtractIconExW.
|
||||||
*/
|
*/
|
||||||
HICON WINAPI SHLWAPI_337(LPCWSTR lpszFile, INT nIconIndex, HICON *phiconLarge,
|
UINT WINAPI SHLWAPI_337(LPCWSTR lpszFile, INT nIconIndex, HICON *phiconLarge,
|
||||||
HICON *phiconSmall, UINT nIcons)
|
HICON *phiconSmall, UINT nIcons)
|
||||||
{
|
{
|
||||||
GET_FUNC(pExtractIconExW, shell32, "ExtractIconExW", NULL);
|
GET_FUNC(pExtractIconExW, shell32, "ExtractIconExW", 0);
|
||||||
return pExtractIconExW(lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons);
|
return pExtractIconExW(lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2308,11 +2308,11 @@ BOOL WINAPI SHLWAPI_357(LPCWSTR pszLinkTo, LPCWSTR pszDir, LPWSTR pszName,
|
||||||
*
|
*
|
||||||
* Late bound call to shell32.SHDefExtractIconW
|
* Late bound call to shell32.SHDefExtractIconW
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI SHLWAPI_358(LPVOID arg1, LPVOID arg2, LPVOID arg3, LPVOID arg4,
|
UINT WINAPI SHLWAPI_358(LPCWSTR pszIconFile, int iIndex, UINT uFlags, HICON* phiconLarge,
|
||||||
LPVOID arg5, LPVOID arg6)
|
HICON* phiconSmall, UINT nIconSize)
|
||||||
{
|
{
|
||||||
GET_FUNC(pSHDefExtractIconW, shell32, "SHDefExtractIconW", 0);
|
GET_FUNC(pSHDefExtractIconW, shell32, "SHDefExtractIconW", 0);
|
||||||
return pSHDefExtractIconW(arg1, arg2, arg3, arg4, arg5, arg6);
|
return pSHDefExtractIconW(pszIconFile, iIndex, uFlags, phiconLarge, phiconSmall, nIconSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
@ -2425,10 +2425,10 @@ BOOL WINAPI SHLWAPI_389(LPOPENFILENAMEW ofn)
|
||||||
*
|
*
|
||||||
* Late bound call to mpr.WNetRestoreConnectionW
|
* Late bound call to mpr.WNetRestoreConnectionW
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI SHLWAPI_390(LPVOID arg1, LPVOID arg2)
|
DWORD WINAPI SHLWAPI_390(HWND hwndOwner, LPWSTR lpszDevice)
|
||||||
{
|
{
|
||||||
GET_FUNC(pWNetRestoreConnectionW, mpr, "WNetRestoreConnectionW", 0);
|
GET_FUNC(pWNetRestoreConnectionW, mpr, "WNetRestoreConnectionW", 0);
|
||||||
return pWNetRestoreConnectionW(arg1, arg2);
|
return pWNetRestoreConnectionW(hwndOwner, lpszDevice);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
@ -2436,11 +2436,11 @@ DWORD WINAPI SHLWAPI_390(LPVOID arg1, LPVOID arg2)
|
||||||
*
|
*
|
||||||
* Late bound call to mpr.WNetGetLastErrorW
|
* Late bound call to mpr.WNetGetLastErrorW
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI SHLWAPI_391(LPVOID arg1, LPVOID arg2, LPVOID arg3, LPVOID arg4,
|
DWORD WINAPI SHLWAPI_391(LPDWORD lpError, LPWSTR lpErrorBuf, DWORD nErrorBufSize,
|
||||||
LPVOID arg5)
|
LPWSTR lpNameBuf, DWORD nNameBufSize)
|
||||||
{
|
{
|
||||||
GET_FUNC(pWNetGetLastErrorW, mpr, "WNetGetLastErrorW", 0);
|
GET_FUNC(pWNetGetLastErrorW, mpr, "WNetGetLastErrorW", 0);
|
||||||
return pWNetGetLastErrorW(arg1, arg2, arg3, arg4, arg5);
|
return pWNetGetLastErrorW(lpError, lpErrorBuf, nErrorBufSize, lpNameBuf, nNameBufSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|
|
@ -355,7 +355,7 @@
|
||||||
355 stub @
|
355 stub @
|
||||||
356 stdcall @(ptr ptr) SHLWAPI_356
|
356 stdcall @(ptr ptr) SHLWAPI_356
|
||||||
357 stdcall @(wstr wstr wstr long long) SHLWAPI_357
|
357 stdcall @(wstr wstr wstr long long) SHLWAPI_357
|
||||||
358 stdcall @(ptr ptr ptr ptr ptr ptr) SHLWAPI_358
|
358 stdcall @(wstr long long ptr ptr long) SHLWAPI_358
|
||||||
359 forward @ kernel32.OpenEventW
|
359 forward @ kernel32.OpenEventW
|
||||||
360 forward @ kernel32.RemoveDirectoryW
|
360 forward @ kernel32.RemoveDirectoryW
|
||||||
361 forward @ kernel32.GetShortPathNameW
|
361 forward @ kernel32.GetShortPathNameW
|
||||||
|
@ -387,8 +387,8 @@
|
||||||
387 stub ColorAdjustLuma
|
387 stub ColorAdjustLuma
|
||||||
388 stub @
|
388 stub @
|
||||||
389 stdcall @(ptr) SHLWAPI_389
|
389 stdcall @(ptr) SHLWAPI_389
|
||||||
390 stdcall @(ptr ptr) SHLWAPI_390
|
390 stdcall @(long wstr) SHLWAPI_390
|
||||||
391 stdcall @(ptr ptr ptr ptr ptr ) SHLWAPI_391
|
391 stdcall @(ptr ptr long ptr long) SHLWAPI_391
|
||||||
392 stub @
|
392 stub @
|
||||||
393 forward @ user32.CreateDialogIndirectParamW
|
393 forward @ user32.CreateDialogIndirectParamW
|
||||||
394 forward @ user32.CreateDialogIndirectParamA
|
394 forward @ user32.CreateDialogIndirectParamA
|
||||||
|
|
Loading…
Reference in New Issue