mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
implemented partly DxEngGetDesktopDC
svn path=/trunk/; revision=33254
This commit is contained in:
parent
f343627af2
commit
e54790f042
2 changed files with 17 additions and 5 deletions
|
@ -103,7 +103,7 @@ DWORD STDCALL DxEngUnreferenceHdev(DWORD x1);
|
|||
DWORD STDCALL DxEngSpTearDownSprites(DWORD x1, DWORD x2, DWORD x3);
|
||||
DWORD STDCALL DxEngSpUnTearDownSprites(DWORD x1, DWORD x2, DWORD x3);
|
||||
DWORD STDCALL DxEngSpSpritesVisible(DWORD x1);
|
||||
DWORD STDCALL DxEngGetDesktopDC(DWORD x1, DWORD x2, DWORD x3);
|
||||
HDC STDCALL DxEngGetDesktopDC(BOOLEAN CreateDesktopDc, DWORD x2, DWORD x3);
|
||||
DWORD STDCALL DxEngDeleteDC(DWORD x1, DWORD x2);
|
||||
DWORD STDCALL DxEngSetDCState(DWORD x1, DWORD x2, DWORD x3);
|
||||
DWORD STDCALL DxEngSelectBitmap(DWORD x1, DWORD x2);
|
||||
|
|
|
@ -703,12 +703,24 @@ DxEngUnreferenceHdev(DWORD x1)
|
|||
/************************************************************************/
|
||||
/* DxEngGetDesktopDC */
|
||||
/************************************************************************/
|
||||
DWORD
|
||||
HDC
|
||||
STDCALL
|
||||
DxEngGetDesktopDC(DWORD x1, DWORD x2, DWORD x3)
|
||||
DxEngGetDesktopDC(BOOLEAN CreateDesktopDc, DWORD x2, DWORD x3)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
PWINDOW_OBJECT DesktopObject = 0;
|
||||
HDC DesktopHDC = 0;
|
||||
|
||||
if (CreateDesktopDc == FALSE)
|
||||
{
|
||||
DesktopObject = UserGetDesktopWindow();
|
||||
DesktopHDC = (HDC)UserGetWindowDC(DesktopObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
return DesktopHDC;
|
||||
}
|
||||
|
||||
/************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue