3{
5
6
8 {
9 printf(
"ERROR: Failed to set up ddraw\n");
11 }
12
13
16
20
21
25
29
33
37
41
45
49
53
57
61
65
69
73
77
81
85
89
93
97
101
105
109
113
117
121
125
129
133
137
141
145
149
153
157
161
165
169
173
177
181
185
189
193
197
201
205
209
213
217
221
225
229
233
237
241
245
249
253
257
261
265
267
269}
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