mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 15:38:37 +00:00
implement DxEngIncDispUniq
svn path=/trunk/; revision=31558
This commit is contained in:
parent
8429f99652
commit
a3bdf2f292
2 changed files with 33 additions and 35 deletions
|
@ -49,47 +49,27 @@
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/* win32k.sys internal protypes for the driver functions it export */
|
/* win32k.sys internal protypes for the driver functions it export */
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
||||||
/* Notes : Check see if termal server got a connections or not */
|
|
||||||
BOOL DxEngNUIsTermSrv();
|
BOOL DxEngNUIsTermSrv();
|
||||||
|
|
||||||
/* Notes : it always return TRUE, and it update whole the screen (redaw current desktop) */
|
|
||||||
BOOL DxEngRedrawDesktop();
|
BOOL DxEngRedrawDesktop();
|
||||||
|
|
||||||
/* Notes : return the DisplayUniqVisrgn counter from gdishare memory */
|
|
||||||
ULONG DxEngDispUniq();
|
ULONG DxEngDispUniq();
|
||||||
|
|
||||||
/* Notes : return the VisRgnUniq counter for win32k */
|
|
||||||
ULONG DxEngVisRgnUniq();
|
ULONG DxEngVisRgnUniq();
|
||||||
|
|
||||||
/* Notes : Enumate all drivers in win32k */
|
|
||||||
HDEV *DxEngEnumerateHdev(HDEV *hdev);
|
HDEV *DxEngEnumerateHdev(HDEV *hdev);
|
||||||
|
BOOL DxEngGetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp);
|
||||||
/* Notes : same protypes NtGdiEngGetDeviceGammaRamp, diffent is we skipp the user mode checks and seh */
|
|
||||||
BOOL
|
|
||||||
DxEngGetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp);
|
|
||||||
|
|
||||||
/* Notes : Lock the hDC */
|
|
||||||
PDC DxEngLockDC(HDC hDC);
|
PDC DxEngLockDC(HDC hDC);
|
||||||
|
|
||||||
/* Notes : Unlock the hDC */
|
|
||||||
BOOL DxEngUnlockDC(PDC pDC);
|
BOOL DxEngUnlockDC(PDC pDC);
|
||||||
|
|
||||||
/* Notes : Set Gamma ramp */
|
|
||||||
BOOL DxEngSetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp, BOOL Unuse);
|
BOOL DxEngSetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp, BOOL Unuse);
|
||||||
|
|
||||||
BOOLEAN DxEngLockShareSem();
|
BOOLEAN DxEngLockShareSem();
|
||||||
BOOLEAN DxEngUnlockShareSem();
|
BOOLEAN DxEngUnlockShareSem();
|
||||||
BOOLEAN DxEngCleanDC(HDC hdc);
|
BOOLEAN DxEngCleanDC(HDC hdc);
|
||||||
DWORD DxEngGetHdevData(HDEV hdev, DWORD Index);
|
DWORD DxEngGetHdevData(HDEV hdev, DWORD Index);
|
||||||
BOOLEAN DxEngSetHdevData(HDEV hdev, DWORD Index, DWORD Save);
|
BOOLEAN DxEngSetHdevData(HDEV hdev, DWORD Index, DWORD Save);
|
||||||
|
BOOLEAN DxEngIncDispUniq();
|
||||||
|
|
||||||
/* prototypes are not done yet, I need gather all my notes
|
/* prototypes are not done yet, I need gather all my notes
|
||||||
* to make them correct
|
* to make them correct
|
||||||
*/
|
*/
|
||||||
DWORD DxEngCreateMemoryDC(DWORD x1);
|
DWORD DxEngCreateMemoryDC(DWORD x1);
|
||||||
DWORD DxEngScreenAccessCheck();
|
DWORD DxEngScreenAccessCheck();
|
||||||
|
|
||||||
DWORD DxEngLockHdev(DWORD x1);
|
DWORD DxEngLockHdev(DWORD x1);
|
||||||
DWORD DxEngUnlockHdev(DWORD x1);
|
DWORD DxEngUnlockHdev(DWORD x1);
|
||||||
DWORD DxEngReferenceHdev(DWORD x1);
|
DWORD DxEngReferenceHdev(DWORD x1);
|
||||||
|
@ -98,7 +78,6 @@ DWORD DxEngUnreferenceHdev(DWORD x1);
|
||||||
DWORD DxEngSpTearDownSprites(DWORD x1, DWORD x2, DWORD x3);
|
DWORD DxEngSpTearDownSprites(DWORD x1, DWORD x2, DWORD x3);
|
||||||
DWORD DxEngSpUnTearDownSprites(DWORD x1, DWORD x2, DWORD x3);
|
DWORD DxEngSpUnTearDownSprites(DWORD x1, DWORD x2, DWORD x3);
|
||||||
DWORD DxEngSpSpritesVisible(DWORD x1);
|
DWORD DxEngSpSpritesVisible(DWORD x1);
|
||||||
|
|
||||||
DWORD DxEngGetDesktopDC(DWORD x1, DWORD x2, DWORD x3);
|
DWORD DxEngGetDesktopDC(DWORD x1, DWORD x2, DWORD x3);
|
||||||
DWORD DxEngDeleteDC(DWORD x1, DWORD x2);
|
DWORD DxEngDeleteDC(DWORD x1, DWORD x2);
|
||||||
DWORD DxEngSetDCOwner(DWORD x1, DWORD x2);
|
DWORD DxEngSetDCOwner(DWORD x1, DWORD x2);
|
||||||
|
@ -116,5 +95,5 @@ DWORD DxEngSyncPaletteTableWithDevice(DWORD x1, DWORD x2);
|
||||||
DWORD DxEngSetPaletteState(DWORD x1, DWORD x2, DWORD x3);
|
DWORD DxEngSetPaletteState(DWORD x1, DWORD x2, DWORD x3);
|
||||||
DWORD DxEngGetRedirectionBitmap(DWORD x1);
|
DWORD DxEngGetRedirectionBitmap(DWORD x1);
|
||||||
DWORD DxEngLoadImage(DWORD x1,DWORD x2);
|
DWORD DxEngLoadImage(DWORD x1,DWORD x2);
|
||||||
DWORD DxEngIncDispUniq();
|
|
||||||
|
|
||||||
|
|
|
@ -89,11 +89,19 @@ DxEngRedrawDesktop()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/************************************************************************/
|
/*++
|
||||||
/* DxEngDispUniq */
|
* @name DxEngDispUniq
|
||||||
/************************************************************************/
|
* @implemented
|
||||||
|
*
|
||||||
/* Notes : return the DisplayUniqVisrgn counter from gdishare memory */
|
* The function DxEngDispUniq return the DisplayUniqVisrgn counter from gdishare memory
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* return DisplayUniqVisrgn counter value from gdishare memory
|
||||||
|
*
|
||||||
|
* @remarks.
|
||||||
|
* none
|
||||||
|
*
|
||||||
|
*--*/
|
||||||
ULONG
|
ULONG
|
||||||
DxEngDispUniq()
|
DxEngDispUniq()
|
||||||
{
|
{
|
||||||
|
@ -633,13 +641,24 @@ DWORD DxEngLoadImage(DWORD x1,DWORD x2)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************/
|
/*++
|
||||||
/* DxEngIncDispUniq */
|
* @name DxEngIncDispUniq
|
||||||
/************************************************************************/
|
* @implemented
|
||||||
DWORD DxEngIncDispUniq()
|
*
|
||||||
|
* The function DxEngIncDispUniq incress DisplayUniqVisrgn counter from gdishare memory
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* This function returns TRUE no matter what
|
||||||
|
*
|
||||||
|
* @remarks.
|
||||||
|
* none
|
||||||
|
*
|
||||||
|
*--*/
|
||||||
|
BOOLEAN
|
||||||
|
DxEngIncDispUniq()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
InterlockedIncrement((LONG*)&GdiHandleTable->flDeviceUniq);
|
||||||
return FALSE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue