9 printf(
"ERROR: Failed to set up ddraw\n");
BOOL Test_GetAvailableVidMem(INT *passed, INT *failed)
HRESULT WINAPI DirectDrawCreateEx(LPGUID lpGUID, LPVOID *lplpDD, REFIID id, LPUNKNOWN pUnkOuter)
#define DDSCAPS2_EXTENDEDFORMATPRIMARY
#define DDSCAPS2_CUBEMAP_NEGATIVEZ
#define DDSCAPS_FRONTBUFFER
#define DDSCAPS_ALLOCONLOAD
#define DDSCAPS2_RTPATCHES
#define DDSCAPS3_AUTOGENMIPMAP
#define DDSCAPS_RESERVED3
#define DDSCAPS2_RESERVED1
#define DDSCAPS_RESERVED2
#define DDSCAPS2_CUBEMAP_POSITIVEX
#define DDSCAPS_PRIMARYSURFACE
#define DDERR_INVALIDCAPS
#define DDSCAPS_WRITEONLY
#define DDSCAPS_NONLOCALVIDMEM
#define DDSCAPS_RESERVED1
#define DDSCAPS3_MULTISAMPLE_QUALITY_MASK
#define DDSCAPS2_MIPMAPSUBLEVEL
#define DDSCAPS_LIVEVIDEO
#define DDSCAPS2_D3DTEXTUREMANAGE
#define DDSCAPS_OFFSCREENPLAIN
#define DDSCAPS2_RESERVED2
#define DDSCAPS2_RESERVED4
#define DDSCAPS2_NPATCHES
#define DDSCAPS3_RESERVED1
#define DDSCAPS3_MULTISAMPLE_MASK
#define DDSCAPS2_HINTDYNAMIC
#define DDSCAPS_BACKBUFFER
#define DDSCAPS2_DISCARDBACKBUFFER
#define DDSCAPS2_ENABLEALPHACHANNEL
#define DDSCAPS2_CUBEMAP_NEGATIVEY
#define DDSCAPS3_RESERVED2
#define DDSCAPS2_CUBEMAP_POSITIVEY
#define DDSCAPS2_CUBEMAP_NEGATIVEX
#define DDSCAPS2_TEXTUREMANAGE
#define DDSCAPS2_HINTANTIALIASING
#define DDSCAPS2_CUBEMAP_POSITIVEZ
#define DDERR_INVALIDPARAMS
#define DDSCAPS2_NOTUSERLOCKABLE
#define DDSCAPS2_ADDITIONALPRIMARY
#define DDSCAPS_VIDEOMEMORY
#define DDSCAPS_LOCALVIDMEM
#define DDSCAPS_SYSTEMMEMORY
#define DDSCAPS2_HINTSTATIC
#define DDSCAPS_VIDEOPORT
#define DDSCAPS3_LIGHTWEIGHTMIPMAP
#define DDSCAPS2_RESERVED3
#define DDSCAPS2_STEREOSURFACELEFT
#define DDSCAPS2_DONOTPERSIST
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free