mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 07:08:30 +00:00
implement DxEngLockDC and DxEngUnlockDC
Documented DxEngLockDC and DxEngUnlockDC svn path=/branches/reactx/; revision=29743
This commit is contained in:
parent
bd8a20efb1
commit
86bc741994
1 changed files with 48 additions and 4 deletions
|
@ -61,10 +61,8 @@ DRVFN gaEngFuncs [] =
|
||||||
{0, (PFN) NULL}, // hack for now
|
{0, (PFN) NULL}, // hack for now
|
||||||
// {DXENG_INDEX_DxEngSetDCOwner, (PFN)DxEngSetDCOwner},
|
// {DXENG_INDEX_DxEngSetDCOwner, (PFN)DxEngSetDCOwner},
|
||||||
{0, (PFN) NULL}, // hack for now
|
{0, (PFN) NULL}, // hack for now
|
||||||
// {DXENG_INDEX_DxEngLockDC, (PFN)DxEngLockDC},
|
{DXENG_INDEX_DxEngLockDC, (PFN)DxEngLockDC},
|
||||||
{0, (PFN) NULL}, // hack for now
|
{DXENG_INDEX_DxEngUnlockDC, (PFN)DxEngUnlockDC},
|
||||||
// {DXENG_INDEX_DxEngUnlockDC, (PFN)DxEngUnlockDC},
|
|
||||||
{0, (PFN) NULL}, // hack for now
|
|
||||||
// {DXENG_INDEX_DxEngSetDCState, (PFN)DxEngGetDCState},
|
// {DXENG_INDEX_DxEngSetDCState, (PFN)DxEngGetDCState},
|
||||||
{0, (PFN) NULL}, // hack for now
|
{0, (PFN) NULL}, // hack for now
|
||||||
// {DXENG_INDEX_DxEngGetDCState, (PFN)DxEngGetDCState},
|
// {DXENG_INDEX_DxEngGetDCState, (PFN)DxEngGetDCState},
|
||||||
|
@ -172,5 +170,51 @@ DxEngGetDeviceGammaRamp(HDC hDC, LPVOID lpRamp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*++
|
||||||
|
* @name DxEngLockDC
|
||||||
|
* @implemented
|
||||||
|
*
|
||||||
|
* The function DxEngLockDC lock a hdc from dxg.sys
|
||||||
|
*
|
||||||
|
* @param HDC hDC
|
||||||
|
* The handle we need want lock
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* This api return PDC or NULL depns if it sussess lock the hdc or not
|
||||||
|
* @remarks.
|
||||||
|
* none
|
||||||
|
*
|
||||||
|
*--*/
|
||||||
|
PDC
|
||||||
|
DxEngLockDC(HDC hDC)
|
||||||
|
{
|
||||||
|
return DC_LockDc(hdc);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*++
|
||||||
|
* @name DxEngUnlockDC
|
||||||
|
* @implemented
|
||||||
|
*
|
||||||
|
* The function DxEngUnlockDC Unlock a pDC (hdc) from dxg.sys
|
||||||
|
|
||||||
|
* @param PDC pDC
|
||||||
|
* The handle we need unlock
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* This api always return TRUE if it sussess or not
|
||||||
|
|
||||||
|
* @remarks.
|
||||||
|
* none
|
||||||
|
*
|
||||||
|
*--*/
|
||||||
|
BOOL
|
||||||
|
DxEngUnlockDC(PDC pDC)
|
||||||
|
{
|
||||||
|
DC_UnlockDc(pDC);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue