implement DxEngIncDispUniq

svn path=/trunk/; revision=31558
This commit is contained in:
Magnus Olsen 2008-01-02 10:19:56 +00:00
parent 8429f99652
commit a3bdf2f292
2 changed files with 33 additions and 35 deletions

View file

@ -49,47 +49,27 @@
/************************************************************************/
/* win32k.sys internal protypes for the driver functions it export */
/************************************************************************/
/* Notes : Check see if termal server got a connections or not */
BOOL DxEngNUIsTermSrv();
/* Notes : it always return TRUE, and it update whole the screen (redaw current desktop) */
BOOL DxEngRedrawDesktop();
/* Notes : return the DisplayUniqVisrgn counter from gdishare memory */
ULONG DxEngDispUniq();
/* Notes : return the VisRgnUniq counter for win32k */
ULONG DxEngVisRgnUniq();
/* Notes : Enumate all drivers in win32k */
HDEV *DxEngEnumerateHdev(HDEV *hdev);
/* Notes : same protypes NtGdiEngGetDeviceGammaRamp, diffent is we skipp the user mode checks and seh */
BOOL
DxEngGetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp);
/* Notes : Lock the hDC */
BOOL DxEngGetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp);
PDC DxEngLockDC(HDC hDC);
/* Notes : Unlock the hDC */
BOOL DxEngUnlockDC(PDC pDC);
/* Notes : Set Gamma ramp */
BOOL DxEngSetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp, BOOL Unuse);
BOOLEAN DxEngLockShareSem();
BOOLEAN DxEngUnlockShareSem();
BOOLEAN DxEngCleanDC(HDC hdc);
DWORD DxEngGetHdevData(HDEV hdev, DWORD Index);
BOOLEAN DxEngSetHdevData(HDEV hdev, DWORD Index, DWORD Save);
BOOLEAN DxEngIncDispUniq();
/* prototypes are not done yet, I need gather all my notes
* to make them correct
*/
DWORD DxEngCreateMemoryDC(DWORD x1);
DWORD DxEngScreenAccessCheck();
DWORD DxEngLockHdev(DWORD x1);
DWORD DxEngUnlockHdev(DWORD x1);
DWORD DxEngReferenceHdev(DWORD x1);
@ -98,7 +78,6 @@ DWORD DxEngUnreferenceHdev(DWORD x1);
DWORD DxEngSpTearDownSprites(DWORD x1, DWORD x2, DWORD x3);
DWORD DxEngSpUnTearDownSprites(DWORD x1, DWORD x2, DWORD x3);
DWORD DxEngSpSpritesVisible(DWORD x1);
DWORD DxEngGetDesktopDC(DWORD x1, DWORD x2, DWORD x3);
DWORD DxEngDeleteDC(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 DxEngGetRedirectionBitmap(DWORD x1);
DWORD DxEngLoadImage(DWORD x1,DWORD x2);
DWORD DxEngIncDispUniq();

View file

@ -89,11 +89,19 @@ DxEngRedrawDesktop()
}
/************************************************************************/
/* DxEngDispUniq */
/************************************************************************/
/* Notes : return the DisplayUniqVisrgn counter from gdishare memory */
/*++
* @name DxEngDispUniq
* @implemented
*
* The function DxEngDispUniq return the DisplayUniqVisrgn counter from gdishare memory
*
* @return
* return DisplayUniqVisrgn counter value from gdishare memory
*
* @remarks.
* none
*
*--*/
ULONG
DxEngDispUniq()
{
@ -633,13 +641,24 @@ DWORD DxEngLoadImage(DWORD x1,DWORD x2)
return FALSE;
}
/************************************************************************/
/* DxEngIncDispUniq */
/************************************************************************/
DWORD DxEngIncDispUniq()
/*++
* @name DxEngIncDispUniq
* @implemented
*
* The function DxEngIncDispUniq incress DisplayUniqVisrgn counter from gdishare memory
*
* @return
* This function returns TRUE no matter what
*
* @remarks.
* none
*
*--*/
BOOLEAN
DxEngIncDispUniq()
{
UNIMPLEMENTED;
return FALSE;
InterlockedIncrement((LONG*)&GdiHandleTable->flDeviceUniq);
return TRUE;
}