ddraw: Avoid VOID.

This commit is contained in:
Henri Verbeet 2013-09-23 10:26:48 +02:00 committed by Alexandre Julliard
parent 7a0390d85a
commit e02de5ff16
2 changed files with 3 additions and 2 deletions

View File

@ -511,7 +511,8 @@ static void LimitTest(void)
IDirectDrawSurface7_Release(pTexture);
}
static HRESULT WINAPI enumDevicesCallback(GUID *Guid,LPSTR DeviceDescription,LPSTR DeviceName, D3DDEVICEDESC *hal, D3DDEVICEDESC *hel, VOID *ctx)
static HRESULT WINAPI enumDevicesCallback(GUID *Guid, char *DeviceDescription,
char *DeviceName, D3DDEVICEDESC *hal, D3DDEVICEDESC *hel, void *ctx)
{
UINT ver = *((UINT *) ctx);
if(IsEqualGUID(&IID_IDirect3DRGBDevice, Guid))

View File

@ -27,7 +27,7 @@ extern "C" {
#define DdQueryDisplaySettingsUniqueness GdiEntry13
ULONG APIENTRY DdQueryDisplaySettingsUniqueness(VOID);
ULONG APIENTRY DdQueryDisplaySettingsUniqueness(void);
#ifdef __cplusplus
}