[SHELL32:WINE][PSDK] Fix the prototype of CallCPLEntry16().

This commit is contained in:
Hermès Bélusca-Maïto 2022-01-10 20:07:49 +01:00
parent afb04208f7
commit 0bf768a145
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 6 additions and 1 deletions

View file

@ -25,6 +25,7 @@
#include <windef.h>
#include <winbase.h>
#include <shlobj.h>
#define NO_SHLWAPI_REG
#include <shlwapi.h>
#include <shellapi.h>
@ -941,7 +942,11 @@ void WINAPI RunDll_CallEntry16( DWORD proc, HWND hwnd, HINSTANCE inst,
* hMod("DeskCp16.Dll"), pFunc("CplApplet"), 0, 1, 0xc, 0
*
*/
#ifndef __REACTOS__
DWORD WINAPI CallCPLEntry16(HMODULE hMod, FARPROC pFunc, DWORD dw3, DWORD dw4, DWORD dw5, DWORD dw6)
#else
LRESULT WINAPI CallCPLEntry16(HINSTANCE hMod, FARPROC16 pFunc, HWND dw3, UINT dw4, LPARAM dw5, LPARAM dw6)
#endif
{
FIXME("(%p, %p, %08x, %08x, %08x, %08x): stub.\n", hMod, pFunc, dw3, dw4, dw5, dw6);
return 0x0deadbee;

View file

@ -2664,7 +2664,7 @@ DECLARE_INTERFACE_(IShellFolderBand, IUnknown)
/*****************************************************************************
* Control Panel functions
*/
LRESULT WINAPI CallCPLEntry16(HINSTANCE hMod, FARPROC pFunc, HWND dw3, UINT dw4, LPARAM dw5, LPARAM dw6);
LRESULT WINAPI CallCPLEntry16(HINSTANCE hMod, FARPROC16 pFunc, HWND dw3, UINT dw4, LPARAM dw5, LPARAM dw6);
#ifdef __cplusplus
} /* extern "C" */