mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
handle ddraw_surface_QueryInterface
This commit is contained in:
parent
737a26bfb3
commit
2d4841beda
@ -241,6 +241,9 @@ static void CreateSettingsIni()
|
|||||||
"posX=0\n"
|
"posX=0\n"
|
||||||
"posY=0\n"
|
"posY=0\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
"[DKReign]\n"
|
||||||
|
"sleep=10\n"
|
||||||
|
"\n"
|
||||||
|
|
||||||
, fh);
|
, fh);
|
||||||
fclose(fh);
|
fclose(fh);
|
||||||
|
@ -28,6 +28,9 @@ DWORD WINAPI render_soft_main(void);
|
|||||||
HRESULT __stdcall ddraw_surface_QueryInterface(IDirectDrawSurfaceImpl *This, REFIID riid, void **obj)
|
HRESULT __stdcall ddraw_surface_QueryInterface(IDirectDrawSurfaceImpl *This, REFIID riid, void **obj)
|
||||||
{
|
{
|
||||||
printf("DirectDrawSurface::QueryInterface(This=%p, riid=%08X, obj=%p) ???\n", This, (unsigned int)riid, obj);
|
printf("DirectDrawSurface::QueryInterface(This=%p, riid=%08X, obj=%p) ???\n", This, (unsigned int)riid, obj);
|
||||||
|
|
||||||
|
*obj = This;
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user