mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Add lots of stubs.
svn path=/trunk/; revision=18727
This commit is contained in:
parent
1184c4d49e
commit
4f91735027
5 changed files with 15 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
<module name="ddraw" type="win32dll" installbase="system32" installname="ddraw.dll">
|
||||
<module name="ddraw" type="win32dll" installbase="system32" installname="ddraw.dll" allowwarnings="true">
|
||||
<importlibrary definition="ddraw.def" />
|
||||
<include base="ddraw">.</include>
|
||||
<define name="UNICODE" />
|
||||
|
@ -6,8 +6,6 @@
|
|||
<define name="WINVER">0x0600</define>
|
||||
<define name="_WIN32_WINNT">0x0501</define>
|
||||
|
||||
|
||||
|
||||
<library>ntdll</library>
|
||||
<library>kernel32</library>
|
||||
<library>gdi32</library>
|
||||
|
@ -27,6 +25,10 @@
|
|||
<directory name="main">
|
||||
<file>ddraw.c</file>
|
||||
<file>surface.c</file>
|
||||
<file>clipper.c</file>
|
||||
<file>color.c</file>
|
||||
<file>gamma.c</file>
|
||||
<file>palette.c</file>
|
||||
</directory>
|
||||
|
||||
<directory name="soft">
|
||||
|
|
|
@ -23,7 +23,7 @@ HRESULT WINAPI Create_DirectDraw (LPGUID pGUID, LPDIRECTDRAW* pIface,
|
|||
|
||||
ZeroMemory(This,sizeof(IDirectDrawImpl));
|
||||
|
||||
This->lpVtbl = &DirectDraw_VTable;
|
||||
This->lpVtbl = &DirectDraw_Vtable;
|
||||
This->DirectDrawGlobal.dwRefCnt = 1;
|
||||
*pIface = (LPDIRECTDRAW)This;
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@ HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDE
|
|||
if (That == NULL)
|
||||
return E_OUTOFMEMORY;
|
||||
|
||||
That->lpVtbl = &DDrawSurface_VTable;
|
||||
That->lpVtbl = &DirectDrawSurface_Vtable;
|
||||
That->ref = 1;
|
||||
*ppSurf = (LPDIRECTDRAWSURFACE7)That;
|
||||
|
||||
|
@ -380,7 +380,7 @@ HRESULT WINAPI Main_DirectDraw_EvaluateMode(LPDIRECTDRAW7 iface,DWORD a,DWORD* b
|
|||
DX_STUB;
|
||||
}
|
||||
|
||||
IDirectDraw7Vtbl DirectDraw_VTable =
|
||||
IDirectDraw7Vtbl DirectDraw_Vtable =
|
||||
{
|
||||
Main_DirectDraw_QueryInterface,
|
||||
Main_DirectDraw_AddRef,
|
||||
|
|
|
@ -421,7 +421,7 @@ HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder (LPDIRECTDRAWSURFACE7 iface
|
|||
DX_STUB;
|
||||
}
|
||||
|
||||
IDirectDrawSurface7Vtbl DDrawSurface_VTable =
|
||||
IDirectDrawSurface7Vtbl DirectDrawSurface_Vtable =
|
||||
{
|
||||
Main_DDrawSurface_QueryInterface,
|
||||
Main_DDrawSurface_AddRef,
|
||||
|
|
|
@ -11,10 +11,6 @@
|
|||
#include <ddk/d3dhal.h>
|
||||
#include <ddrawgdi.h>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/******** Main Object ********/
|
||||
|
||||
typedef struct
|
||||
|
@ -67,8 +63,12 @@ typedef struct
|
|||
|
||||
/*********** VTables ************/
|
||||
|
||||
extern IDirectDraw7Vtbl DirectDraw_VTable;
|
||||
extern IDirectDrawSurface7Vtbl DDrawSurface_VTable;
|
||||
extern IDirectDraw7Vtbl DirectDraw_Vtable;
|
||||
extern IDirectDrawSurface7Vtbl DirectDrawSurface_Vtable;
|
||||
extern IDirectDrawPaletteVtbl DirectDrawPalette_Vtable;
|
||||
extern IDirectDrawClipperVtbl DirectDrawClipper_Vtable;
|
||||
extern IDirectDrawColorControlVtbl DirectDrawColorControl_Vtable;
|
||||
extern IDirectDrawGammaControlVtbl DirectDrawGammaControl_Vtable;
|
||||
|
||||
/********* Prototypes **********/
|
||||
|
||||
|
|
Loading…
Reference in a new issue