mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
* Forgot the struct name change in self-pointer
* Inited self-pointer svn path=/trunk/; revision=31336
This commit is contained in:
parent
141a3b554b
commit
2ba19fb650
2 changed files with 3 additions and 1 deletions
|
@ -88,6 +88,8 @@ HRESULT CreateD3D9(OUT LPDIRECT3D9 *ppDirect3D9)
|
|||
pDirect3D9->unknown004583 = 0;
|
||||
pDirect3D9->unknown004589 = 0;
|
||||
|
||||
pDirect3D9->lpInt = pDirect3D9;
|
||||
|
||||
*ppDirect3D9 = (LPDIRECT3D9)&pDirect3D9->lpVtbl;
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
|
|
|
@ -24,7 +24,7 @@ typedef struct _tagDIRECT3D9_INT_
|
|||
/* 0x0004 */ CRITICAL_SECTION d3d9_cs;
|
||||
/* 0x001c */ DWORD unknown000007; /* 0x00000001 */
|
||||
/* 0x0020 */ DWORD dwProcessId;
|
||||
/* 0x0024 */ struct _tagDIRECTD3D9_INT_ * lpInt;
|
||||
/* 0x0024 */ struct _tagDIRECT3D9_INT_ *lpInt;
|
||||
/* 0x0028 */ LONG dwRefCnt; /* Increases and decreases by AddRef() and Release() */
|
||||
/* 0x002c */ DWORD unknown000011; /* 0x00000001 - Probably AdapterIndex */
|
||||
/* 0x0030 */ GUID DisplayGuid; /*? Always {67685559-3106-11D0-B971-00AA00342F9F} ? */
|
||||
|
|
Loading…
Reference in a new issue