17 static int setcout = 0;
21 DWORD lpdwFrequency = 0;
50 printf(
"ERROR: Failed to set up ddraw\n");
95 printf(
"ERROR: Failed to set up ddraw\n");
114 This->lpLcl->lpGbl->dwMonitorFrequency = 0;
118 This->lpLcl->lpGbl->dwMonitorFrequency = 85;
122 This->lpLcl->lpGbl->dwMonitorFrequency = lpFreq;
struct _DDRAWI_DIRECTDRAW_INT * LPDDRAWI_DIRECTDRAW_INT
BOOL Test_GetMonitorFrequency(INT *passed, INT *failed)
HRESULT CALLBACK EnumDisplayModes(LPDDSURFACEDESC2 pDDSD, ENUMCONTEXT *Context)
HRESULT CALLBACK DummyEnumDisplayModes(LPDDSURFACEDESC2 pDDSD, ENUMCONTEXT *Context)
BOOL Test_DisplayModes(INT *passed, INT *failed)
HRESULT WINAPI DirectDrawCreateEx(LPGUID lpGUID, LPVOID *lplpDD, REFIID id, LPUNKNOWN pUnkOuter)
static VIDEODISPLAYMODE DisplayMode
HRESULT(WINAPI * LPDDENUMMODESCALLBACK2)(LPDDSURFACEDESC2, LPVOID)
#define DDEDM_REFRESHRATES
#define DDEDM_STANDARDVGAMODES
struct _DDSURFACEDESC2 DDSURFACEDESC2
#define DDPF_PALETTEINDEXED8
#define DDERR_UNSUPPORTED
#define DDERR_INVALIDPARAMS
DDPIXELFORMAT ddpfPixelFormat