mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:17:07 +00:00
start implement of gdientry2, for moment it return incorrect info. and does not fill some stuff right.
we are return alot of kernel pointer and does not setup alot stuff right, see it as start ground. I do not want lose this start code again. it will be add in modifcate alot. svn path=/trunk/; revision=23087
This commit is contained in:
parent
3cf55b986d
commit
3e29a1f5b1
1 changed files with 28 additions and 2 deletions
|
@ -115,8 +115,34 @@ DdQueryDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
|
|||
LPDWORD pdwFourCC,
|
||||
LPVIDMEM pvmList)
|
||||
{
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
BOOL bStatus = FALSE;
|
||||
DD_HALINFO DDHalInfo;
|
||||
LPVOID pCallBackFlags[3];
|
||||
DWORD NumHeaps;
|
||||
DWORD NumFourCC;
|
||||
|
||||
DDHalInfo.dwSize = sizeof(DD_HALINFO);
|
||||
|
||||
pCallBackFlags[0] = pDDCallbacks;
|
||||
pCallBackFlags[1] = pDDSurfaceCallbacks;
|
||||
pCallBackFlags[2] = pDDPaletteCallbacks;
|
||||
|
||||
bStatus = NtGdiDdQueryDirectDrawObject(
|
||||
(HANDLE)pDirectDrawGlobal->hDD,
|
||||
(DD_HALINFO *)&DDHalInfo,
|
||||
(DWORD *)pCallBackFlags,
|
||||
(LPD3DNTHAL_CALLBACKS)pD3dCallbacks,
|
||||
(LPD3DNTHAL_GLOBALDRIVERDATA)pD3dDriverData,
|
||||
(PDD_D3DBUFCALLBACKS)pD3dBufferCallbacks,
|
||||
(LPDDSURFACEDESC)pD3dTextureFormats,
|
||||
(DWORD *)&NumHeaps,
|
||||
(VIDEOMEMORY *)pvmList,
|
||||
(DWORD *)&NumFourCC,
|
||||
(DWORD *)pdwFourCC);
|
||||
|
||||
|
||||
//SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return bStatus;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue