https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cb031ac957898d7e07c94a...
commit cb031ac957898d7e07c94ad6dcdde6c4ec918fbb Author: Hervé Poussineau hpoussin@reactos.org AuthorDate: Sun Apr 7 17:43:58 2019 +0200 Commit: Hervé Poussineau hpoussin@reactos.org CommitDate: Sun Apr 7 18:32:29 2019 +0200
[ACLAYERS] Use correct prototypes
FARPROC is defined in windef.h as "typedef INT_PTR (WINAPI *FARPROC)();" --- dll/appcompat/shims/layer/forcedxsetupsuccess.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dll/appcompat/shims/layer/forcedxsetupsuccess.c b/dll/appcompat/shims/layer/forcedxsetupsuccess.c index 7b22182da8..dd75950876 100644 --- a/dll/appcompat/shims/layer/forcedxsetupsuccess.c +++ b/dll/appcompat/shims/layer/forcedxsetupsuccess.c @@ -25,25 +25,25 @@ typedef BOOL (WINAPI* FREELIBRARYPROC)(HINSTANCE hLibModule);
#define DSETUPERR_SUCCESS 0
-INT WINAPI DirectXSetup(HWND hWnd, LPSTR lpszRootPath, DWORD dwFlags) +INT_PTR WINAPI DirectXSetup(HWND hWnd, LPSTR lpszRootPath, DWORD dwFlags) { SHIM_MSG("Returning DSETUPERR_SUCCESS\n"); return DSETUPERR_SUCCESS; }
-INT WINAPI DirectXSetupA(HWND hWnd, LPSTR lpszRootPath, DWORD dwFlags) +INT_PTR WINAPI DirectXSetupA(HWND hWnd, LPSTR lpszRootPath, DWORD dwFlags) { SHIM_MSG("Returning DSETUPERR_SUCCESS\n"); return DSETUPERR_SUCCESS; }
-INT WINAPI DirectXSetupW(HWND hWnd, LPWSTR lpszRootPath, DWORD dwFlags) +INT_PTR WINAPI DirectXSetupW(HWND hWnd, LPWSTR lpszRootPath, DWORD dwFlags) { SHIM_MSG("Returning DSETUPERR_SUCCESS\n"); return DSETUPERR_SUCCESS; }
-INT WINAPI DirectXSetupGetVersion(DWORD *lpdwVersion, DWORD *lpdwMinorVersion) +INT_PTR WINAPI DirectXSetupGetVersion(DWORD *lpdwVersion, DWORD *lpdwMinorVersion) { if (lpdwVersion) *lpdwVersion = MAKELONG(7, 4); // DirectX 7.0