mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[ACLAYERS] Use correct prototypes
FARPROC is defined in windef.h as "typedef INT_PTR (WINAPI *FARPROC)();"
This commit is contained in:
parent
4c1cbd2b53
commit
cb031ac957
|
@ -25,25 +25,25 @@ typedef BOOL (WINAPI* FREELIBRARYPROC)(HINSTANCE hLibModule);
|
||||||
|
|
||||||
#define DSETUPERR_SUCCESS 0
|
#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");
|
SHIM_MSG("Returning DSETUPERR_SUCCESS\n");
|
||||||
return DSETUPERR_SUCCESS;
|
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");
|
SHIM_MSG("Returning DSETUPERR_SUCCESS\n");
|
||||||
return DSETUPERR_SUCCESS;
|
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");
|
SHIM_MSG("Returning DSETUPERR_SUCCESS\n");
|
||||||
return DSETUPERR_SUCCESS;
|
return DSETUPERR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
INT WINAPI DirectXSetupGetVersion(DWORD *lpdwVersion, DWORD *lpdwMinorVersion)
|
INT_PTR WINAPI DirectXSetupGetVersion(DWORD *lpdwVersion, DWORD *lpdwMinorVersion)
|
||||||
{
|
{
|
||||||
if (lpdwVersion)
|
if (lpdwVersion)
|
||||||
*lpdwVersion = MAKELONG(7, 4); // DirectX 7.0
|
*lpdwVersion = MAKELONG(7, 4); // DirectX 7.0
|
||||||
|
|
Loading…
Reference in a new issue