* Added helper function to read Direct3D registry properties
[reactos.git] / reactos / dll / directx / d3d9 / d3d9_private.h
index 6c36eb8..af30eee 100644 (file)
@@ -1,8 +1,18 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS ReactX
+ * FILE:            dll/directx/d3d9/d3d9_helpers.c
+ * PURPOSE:         d3d9.dll helper functions
+ * PROGRAMERS:      Gregor Brunmar <gregor (dot) brunmar (at) home (dot) se>
+ */
+
 #include <windows.h>
 #include <d3d9.h>
 
 #define DLLAPI __declspec(dllexport)
 
+typedef IDirect3D9* WINAPI (*LPDIRECT3DCREATE9)(UINT);
+
 struct _tagDIRECTD3D9_INT_
 {
 /* 0x0000 */    LPVOID lpVtbl; /* LPDIRECTD3D9 functoions table */
@@ -11,7 +21,7 @@ struct _tagDIRECTD3D9_INT_
 /* 0x0020 */    DWORD dwProcessId; 
 /* 0x0024 */    struct _tagDIRECTD3D9_INT_ * lpInt; 
 /* 0x0028 */    DWORD dwIntRefCnt;      /* Increases and decreases by AddRef() and Release() */
-/* 0x002c */    DWORD unknown000011;      /* 0x00000001 - Probably AdapterIndex */
+/* 0x002c */    DWORD unknown000011;    /* 0x00000001 - Probably AdapterIndex */
 /* 0x0030 */    GUID DisplayGuid;       /*? Always {67685559-3106-11D0-B971-00AA00342F9F} ? */
 /* 0x0040 */    CHAR DeviceName[16];
 /* 0x0050 */    DWORD unknown000020;