From 0fc011a74ab41a0d6647fb4dd79764c256e7940a Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Fri, 7 Dec 2007 21:00:26 +0000 Subject: [PATCH] Start building up ddrawex.h it is directdraw 3 header, ms have separeate directdraw 3 to a file ddrawex.dll svn path=/trunk/; revision=31062 --- reactos/include/dxsdk/ddrawex.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 reactos/include/dxsdk/ddrawex.h diff --git a/reactos/include/dxsdk/ddrawex.h b/reactos/include/dxsdk/ddrawex.h new file mode 100644 index 00000000000..4fcbd717bf1 --- /dev/null +++ b/reactos/include/dxsdk/ddrawex.h @@ -0,0 +1,23 @@ +#ifndef __DDRAWEXH__ +#define __DDRAWEXH__ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +DEFINE_GUID(CLSID_DirectDrawFactory, 0x4FD2A832, 0x86C8, 0x11D0, 0x8F, 0xCA, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0x9D); +DEFINE_GUID(IID_IDirectDrawFactory, 0x4FD2A833, 0x86C8, 0x11D0, 0x8F, 0xCA, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0x9D); +DEFINE_GUID(IID_IDirectDraw3, 0x618F8AD4, 0x8B7A, 0x11D0, 0x8F, 0xCC, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0x9D); + +#define DDSCAPS_DATAEXCHANGE (DDSCAPS_SYSTEMMEMORY|DDSCAPS_VIDEOMEMORY) +#define DDERR_LOADFAILED MAKE_DDHRESULT( 901 ) +#define DDERR_BADVERSIONINFO MAKE_DDHRESULT( 902 ) +#define DDERR_BADPROCADDRESS MAKE_DDHRESULT( 903 ) +#define DDERR_LEGACYUSAGE MAKE_DDHRESULT( 904 ) + + +#ifdef __cplusplus +} +#endif +#endif