1 #define WIN32_NO_STATUS 2 #define _INC_WINDOWS 3 #define COM_NO_WINDOWS_H 4 #define NTOS_MODE_USER 5 #include <stdarg.h> 6 #include <windef.h> 7 #include <winbase.h> 8 #include <ndk/rtlfuncs.h> 9 #include <wingdi.h> 10 #include <winddi.h> 11 #include <prntfont.h> 12 #include <ntgdityp.h> 13 #include <ntgdi.h> 14 15 /*********************************************************************** 16 * D3DKMTCreateDCFromMemory (GDI32.@) 17 */ 18 DWORD WINAPI D3DKMTCreateDCFromMemory( D3DKMT_CREATEDCFROMMEMORY *desc ) 19 { 20 return NtGdiDdDDICreateDCFromMemory( desc ); 21 } 22 23 DWORD WINAPI D3DKMTDestroyDCFromMemory( const D3DKMT_DESTROYDCFROMMEMORY *desc ) 24 { 25 return NtGdiDdDDIDestroyDCFromMemory( desc ); 26 } 27