mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
exprement code for GetPxielformat, (manger crash mplayer (the gui version) in the GetDC api, and maybe for we do not have the clipper implement. yet.
svn path=/trunk/; revision=25151
This commit is contained in:
@@ -43,6 +43,7 @@ ULONG WINAPI Main_DDrawSurface_AddRef(LPDIRECTDRAWSURFACE7 iface)
|
||||
}
|
||||
}
|
||||
return This->dwIntRefCnt;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -554,9 +555,20 @@ HRESULT WINAPI
|
||||
Main_DDrawSurface_GetPixelFormat(LPDIRECTDRAWSURFACE7 iface,
|
||||
LPDDPIXELFORMAT pDDPixelFormat)
|
||||
{
|
||||
DX_WINDBG_trace();
|
||||
LPDDRAWI_DDRAWSURFACE_INT This = (LPDDRAWI_DDRAWSURFACE_INT)iface;
|
||||
HRESULT retVale = DDERR_INVALIDPARAMS;
|
||||
|
||||
DX_STUB;
|
||||
DX_WINDBG_trace();
|
||||
|
||||
/* FIXME is this right ?? */
|
||||
if (pDDPixelFormat != NULL)
|
||||
{
|
||||
memcpy(pDDPixelFormat,&This->lpLcl->lpSurfMore->
|
||||
lpDD_lcl->lpGbl->vmiData.ddpfDisplay,sizeof(DDPIXELFORMAT));
|
||||
|
||||
retVale = DD_OK;
|
||||
}
|
||||
return retVale;
|
||||
}
|
||||
|
||||
HRESULT WINAPI
|
||||
|
||||
Reference in New Issue
Block a user