Author: greatlrd
Date: Sun Oct 21 21:06:27 2007
New Revision: 29742
URL:
http://svn.reactos.org/svn/reactos?rev=29742&view=rev
Log:
add correct prototypes for DxEngLockDC and DxEngUnlockDC
add comment how DxEngLockDC and DxEngUnlockDC works
Modified:
branches/reactx/reactos/include/reactos/drivers/directx/dxeng.h
Modified: branches/reactx/reactos/include/reactos/drivers/directx/dxeng.h
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/include/reactos/…
==============================================================================
--- branches/reactx/reactos/include/reactos/drivers/directx/dxeng.h (original)
+++ branches/reactx/reactos/include/reactos/drivers/directx/dxeng.h Sun Oct 21 21:06:27
2007
@@ -56,19 +56,24 @@
/* Notes : it always return TRUE, and it update whole the screen (redaw current desktop)
*/
BOOL DxEngRedrawDesktop();
-/* Notes : return the DisplayUniqVisrgn counter from gdishare memory */
+/* Notes : return the DisplayUniqVisrgn counter from gdishare memory */
ULONG DxEngDispUniq();
/* Notes : return the VisRgnUniq counter for win32k */
ULONG DxEngVisRgnUniq();
-/* Enumate all drivers in win32k */
-HDEV *
-DxEngEnumerateHdev(HDEV *hdev);
-
-/* same protypes NtGdiEngGetDeviceGammaRamp, diffent is we skipp the user mode checks and
seh */
+/* 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(HDC hDC, LPVOID lpRamp);
+
+/* Notes : Lock the hDC */
+PDC DxEngLockDC(HDC hDC);
+
+/* Notes : Unlock the hDC */
+BOOL DxEngUnlockDC(PDC pDC);
/* prototypes are not done yet, I need gather all my notes
@@ -138,11 +143,9 @@
DWORD
DxEngSetDCOwner(x,x)
-DWORD
-DxEngLockDC(x);
-
-DWORD
-DxEngUnlockDC(x);
+
+
+
DWORD
DxEngSetDCState(x,x,x);