[SHELL32:WINE][PSDK] Addendum to 0bf768a1: Add missing FARPROC16 definition for CallCPLEntry16() prototype.

This commit is contained in:
Hermès Bélusca-Maïto 2022-01-11 23:31:26 +01:00
parent 0bf768a145
commit 1df87d7fe9
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 4 additions and 2 deletions

View file

@ -25,7 +25,6 @@
#include <windef.h>
#include <winbase.h>
#include <shlobj.h>
#define NO_SHLWAPI_REG
#include <shlwapi.h>
#include <shellapi.h>
@ -945,6 +944,7 @@ void WINAPI RunDll_CallEntry16( DWORD proc, HWND hwnd, HINSTANCE inst,
#ifndef __REACTOS__
DWORD WINAPI CallCPLEntry16(HMODULE hMod, FARPROC pFunc, DWORD dw3, DWORD dw4, DWORD dw5, DWORD dw6)
#else
DECLARE_HANDLE(FARPROC16);
LRESULT WINAPI CallCPLEntry16(HINSTANCE hMod, FARPROC16 pFunc, HWND dw3, UINT dw4, LPARAM dw5, LPARAM dw6)
#endif
{

View file

@ -2660,11 +2660,13 @@ DECLARE_INTERFACE_(IShellFolderBand, IUnknown)
};
#undef INTERFACE
#if (NTDDI_VERSION >= NTDDI_WIN2K) && (NTDDI_VERSION <= NTDDI_WINXPSP2)
/*****************************************************************************
* Control Panel functions
*/
DECLARE_HANDLE(FARPROC16);
LRESULT WINAPI CallCPLEntry16(HINSTANCE hMod, FARPROC16 pFunc, HWND dw3, UINT dw4, LPARAM dw5, LPARAM dw6);
#endif
#ifdef __cplusplus
} /* extern "C" */