mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 09:30:55 +00:00
Implement IDirectDraw7::GetFourCCCodes
svn path=/trunk/; revision=26852
This commit is contained in:
parent
0dd6b57e78
commit
1c247edcf4
|
@ -142,6 +142,23 @@ Main_DirectDraw_GetAvailableVidMem(LPDIRECTDRAW7 iface, LPDDSCAPS2 ddscaps,
|
||||||
return memdata.ddRVal;
|
return memdata.ddRVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI
|
||||||
|
Main_DirectDraw_GetFourCCCodes(LPDIRECTDRAW7 iface, LPDWORD lpNumCodes, LPDWORD lpCodes)
|
||||||
|
{
|
||||||
|
LPDDRAWI_DIRECTDRAW_INT This = (LPDDRAWI_DIRECTDRAW_INT)iface;
|
||||||
|
DX_WINDBG_trace();
|
||||||
|
|
||||||
|
if(!lpNumCodes)
|
||||||
|
return DDERR_INVALIDPARAMS;
|
||||||
|
|
||||||
|
if(lpCodes)
|
||||||
|
memcpy(lpCodes, This->lpLcl->lpGbl->lpdwFourCC, sizeof(DWORD)*(*lpNumCodes));
|
||||||
|
else
|
||||||
|
*lpNumCodes = This->lpLcl->lpGbl->dwNumFourCC;
|
||||||
|
|
||||||
|
return DD_OK;
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT WINAPI
|
HRESULT WINAPI
|
||||||
Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDESC2 pDDSD,
|
Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDESC2 pDDSD,
|
||||||
LPDIRECTDRAWSURFACE7 *ppSurf, IUnknown *pUnkOuter)
|
LPDIRECTDRAWSURFACE7 *ppSurf, IUnknown *pUnkOuter)
|
||||||
|
|
|
@ -68,13 +68,6 @@ Main_DirectDraw_GetCaps(LPDIRECTDRAW7 iface, LPDDCAPS pDriverCaps,
|
||||||
DX_STUB;
|
DX_STUB;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT WINAPI
|
|
||||||
Main_DirectDraw_GetFourCCCodes(LPDIRECTDRAW7 iface, LPDWORD pNumCodes, LPDWORD pCodes)
|
|
||||||
{
|
|
||||||
DX_WINDBG_trace();
|
|
||||||
DX_STUB;
|
|
||||||
}
|
|
||||||
|
|
||||||
HRESULT WINAPI
|
HRESULT WINAPI
|
||||||
Main_DirectDraw_GetGDISurface(LPDIRECTDRAW7 iface,
|
Main_DirectDraw_GetGDISurface(LPDIRECTDRAW7 iface,
|
||||||
LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
|
LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
|
||||||
|
|
Loading…
Reference in a new issue