Go to the source code of this file.
|
enum | _DXEGSHDEVDATA {
DxEGShDevData_Surface
, DxEGShDevData_hSpooler
, DxEGShDevData_DitherFmt
, DxEGShDevData_FxCaps
,
DxEGShDevData_FxCaps2
, DxEGShDevData_DrvFuncs
, DxEGShDevData_dhpdev
, DxEGShDevData_eddg
,
DxEGShDevData_dd_locks
, DxEGShDevData_dd_flags
, DxEGShDevData_disable
, DxEGShDevData_metadev
,
DxEGShDevData_display
, DxEGShDevData_Parent
, DxEGShDevData_OpenRefs
, DxEGShDevData_palette
,
DxEGShDevData_ldev
, DxEGShDevData_GDev
, DxEGShDevData_clonedev
} |
|
|
BOOLEAN NTAPI | DxEngNUIsTermSrv (VOID) |
|
PDC NTAPI | DxEngLockDC (HDC hDC) |
|
BOOLEAN NTAPI | DxEngUnlockDC (PDC pDC) |
|
DWORD_PTR NTAPI | DxEngGetHdevData (HDEV, DXEGSHDEVDATA) |
|
BOOLEAN NTAPI | DxEngSetHdevData (HDEV, DXEGSHDEVDATA, DWORD_PTR) |
|
BOOLEAN NTAPI | DxEngLockHdev (HDEV hdev) |
|
BOOLEAN NTAPI | DxEngUnlockHdev (HDEV hdev) |
|
DWORD_PTR NTAPI | DxEngGetDCState (HDC hDC, DWORD type) |
|
BOOLEAN NTAPI | DxEngReferenceHdev (HDEV hdev) |
|
BOOLEAN NTAPI | DxEngLockShareSem (VOID) |
|
BOOLEAN NTAPI | DxEngUnlockShareSem (VOID) |
|
DWORD NTAPI | DxEngScreenAccessCheck (VOID) |
|
BOOL NTAPI | DxEngSetDCOwner (HGDIOBJ hObject, DWORD OwnerMask) |
|
BOOLEAN NTAPI | DxEngRedrawDesktop (VOID) |
|
ULONG NTAPI | DxEngDispUniq (VOID) |
|
ULONG NTAPI | DxEngVisRgnUniq (VOID) |
|
HDEV *NTAPI | DxEngEnumerateHdev (HDEV *hdev) |
|
BOOL NTAPI | DxEngGetDeviceGammaRamp (HDEV hPDev, PGAMMARAMP Ramp) |
|
BOOLEAN NTAPI | DxEngSetDeviceGammaRamp (HDEV hPDev, PGAMMARAMP Ramp, BOOL Unuse) |
|
BOOLEAN NTAPI | DxEngCleanDC (HDC hdc) |
|
BOOLEAN NTAPI | DxEngIncDispUniq (VOID) |
|
HDC NTAPI | DxEngCreateMemoryDC (HDEV hDev) |
|
BOOLEAN NTAPI | DxEngIsHdevLockedByCurrentThread (HDEV hDev) |
|
BOOLEAN NTAPI | DxEngUnreferenceHdev (HDEV hDev) |
|
DWORD NTAPI | DxEngSpTearDownSprites (DWORD x1, DWORD x2, DWORD x3) |
|
DWORD NTAPI | DxEngSpUnTearDownSprites (DWORD x1, DWORD x2, DWORD x3) |
|
DWORD NTAPI | DxEngSpSpritesVisible (DWORD x1) |
|
HDC NTAPI | DxEngGetDesktopDC (ULONG DcType, BOOL EmptyDC, BOOL ValidatehWnd) |
|
BOOLEAN NTAPI | DxEngDeleteDC (HDC hdc, BOOL Force) |
|
BOOLEAN NTAPI | DxEngSetDCState (HDC hDC, DWORD SetType, DWORD Set) |
|
HBITMAP NTAPI | DxEngSelectBitmap (HDC hdc, HBITMAP hbmp) |
|
BOOLEAN NTAPI | DxEngSetBitmapOwner (HBITMAP hbmp, ULONG ulOwner) |
|
BOOLEAN NTAPI | DxEngDeleteSurface (HSURF hsurf) |
|
DWORD NTAPI | DxEngGetSurfaceData (DWORD x1, DWORD x2) |
|
SURFOBJ *NTAPI | DxEngAltLockSurface (HSURF hsurf) |
|
DWORD NTAPI | DxEngUploadPaletteEntryToSurface (DWORD x1, DWORD x2, DWORD x3, DWORD x4) |
|
DWORD NTAPI | DxEngMarkSurfaceAsDirectDraw (DWORD x1, DWORD x2) |
|
DWORD NTAPI | DxEngSelectPaletteToSurface (DWORD x1, DWORD x2) |
|
DWORD NTAPI | DxEngSyncPaletteTableWithDevice (DWORD x1, DWORD x2) |
|
DWORD NTAPI | DxEngSetPaletteState (DWORD x1, DWORD x2, DWORD x3) |
|
DWORD NTAPI | DxEngGetRedirectionBitmap (DWORD x1) |
|
DWORD NTAPI | DxEngLoadImage (DWORD x1, DWORD x2) |
|
◆ DXENG_INDEX_DxEngAltLockSurface
#define DXENG_INDEX_DxEngAltLockSurface 0x23 |
◆ DXENG_INDEX_DxEngCleanDC
#define DXENG_INDEX_DxEngCleanDC 0x19 |
◆ DXENG_INDEX_DxEngCreateMemoryDC
#define DXENG_INDEX_DxEngCreateMemoryDC 0x16 |
◆ DXENG_INDEX_DxEngDeleteDC
#define DXENG_INDEX_DxEngDeleteDC 0x18 |
◆ DXENG_INDEX_DxEngDeleteSurface
#define DXENG_INDEX_DxEngDeleteSurface 0x21 |
◆ DXENG_INDEX_DxEngDispUniq
#define DXENG_INDEX_DxEngDispUniq 0x04 |
◆ DXENG_INDEX_DxEngEnumerateHdev
#define DXENG_INDEX_DxEngEnumerateHdev 0x09 |
◆ DXENG_INDEX_DxEngGetDCState
#define DXENG_INDEX_DxEngGetDCState 0x1E |
◆ DXENG_INDEX_DxEngGetDesktopDC
#define DXENG_INDEX_DxEngGetDesktopDC 0x17 |
◆ DXENG_INDEX_DxEngGetDeviceGammaRamp
#define DXENG_INDEX_DxEngGetDeviceGammaRamp 0x0F |
◆ DXENG_INDEX_DxEngGetHdevData
#define DXENG_INDEX_DxEngGetHdevData 0x14 |
◆ DXENG_INDEX_DxEngGetRedirectionBitmap
#define DXENG_INDEX_DxEngGetRedirectionBitmap 0x29 |
◆ DXENG_INDEX_DxEngGetSurfaceData
#define DXENG_INDEX_DxEngGetSurfaceData 0x22 |
◆ DXENG_INDEX_DxEngIncDispUniq
#define DXENG_INDEX_DxEngIncDispUniq 0x05 |
◆ DXENG_INDEX_DxEngIsHdevLockedByCurrentThread
#define DXENG_INDEX_DxEngIsHdevLockedByCurrentThread 0x0C |
◆ DXENG_INDEX_DxEngLoadImage
#define DXENG_INDEX_DxEngLoadImage 0x2A |
◆ DXENG_INDEX_DxEngLockDC
#define DXENG_INDEX_DxEngLockDC 0x1B |
◆ DXENG_INDEX_DxEngLockHdev
#define DXENG_INDEX_DxEngLockHdev 0x0A |
◆ DXENG_INDEX_DxEngLockShareSem
#define DXENG_INDEX_DxEngLockShareSem 0x07 |
◆ DXENG_INDEX_DxEngMarkSurfaceAsDirectDraw
#define DXENG_INDEX_DxEngMarkSurfaceAsDirectDraw 0x25 |
◆ DXENG_INDEX_DxEngNUIsTermSrv
#define DXENG_INDEX_DxEngNUIsTermSrv 0x01 |
◆ DXENG_INDEX_DxEngRedrawDesktop
#define DXENG_INDEX_DxEngRedrawDesktop 0x03 |
◆ DXENG_INDEX_DxEngReferenceHdev
#define DXENG_INDEX_DxEngReferenceHdev 0x0D |
◆ DXENG_INDEX_DxEngScreenAccessCheck
#define DXENG_INDEX_DxEngScreenAccessCheck 0x02 |
◆ DXENG_INDEX_DxEngSelectBitmap
#define DXENG_INDEX_DxEngSelectBitmap 0x1F |
◆ DXENG_INDEX_DxEngSelectPaletteToSurface
#define DXENG_INDEX_DxEngSelectPaletteToSurface 0x26 |
◆ DXENG_INDEX_DxEngSetBitmapOwner
#define DXENG_INDEX_DxEngSetBitmapOwner 0x20 |
◆ DXENG_INDEX_DxEngSetDCOwner
#define DXENG_INDEX_DxEngSetDCOwner 0x1A |
◆ DXENG_INDEX_DxEngSetDCState
#define DXENG_INDEX_DxEngSetDCState 0x1D |
◆ DXENG_INDEX_DxEngSetDeviceGammaRamp
#define DXENG_INDEX_DxEngSetDeviceGammaRamp 0x10 |
◆ DXENG_INDEX_DxEngSetHdevData
#define DXENG_INDEX_DxEngSetHdevData 0x15 |
◆ DXENG_INDEX_DxEngSetPaletteState
#define DXENG_INDEX_DxEngSetPaletteState 0x28 |
◆ DXENG_INDEX_DxEngSpSpritesVisible
#define DXENG_INDEX_DxEngSpSpritesVisible 0x13 |
◆ DXENG_INDEX_DxEngSpTearDownSprites
#define DXENG_INDEX_DxEngSpTearDownSprites 0x11 |
◆ DXENG_INDEX_DxEngSpUnTearDownSprites
#define DXENG_INDEX_DxEngSpUnTearDownSprites 0x12 |
◆ DXENG_INDEX_DxEngSyncPaletteTableWithDevice
#define DXENG_INDEX_DxEngSyncPaletteTableWithDevice 0x27 |
◆ DXENG_INDEX_DxEngUnlockDC
#define DXENG_INDEX_DxEngUnlockDC 0x1C |
◆ DXENG_INDEX_DxEngUnlockHdev
#define DXENG_INDEX_DxEngUnlockHdev 0x0B |
◆ DXENG_INDEX_DxEngUnlockShareSem
#define DXENG_INDEX_DxEngUnlockShareSem 0x08 |
◆ DXENG_INDEX_DxEngUnreferenceHdev
#define DXENG_INDEX_DxEngUnreferenceHdev 0x0E |
◆ DXENG_INDEX_DxEngUploadPaletteEntryToSurface
#define DXENG_INDEX_DxEngUploadPaletteEntryToSurface 0x24 |
◆ DXENG_INDEX_DxEngVisRgnUniq
#define DXENG_INDEX_DxEngVisRgnUniq 0x06 |
◆ DXENG_INDEX_Resverd0
#define DXENG_INDEX_Resverd0 0x00 |
◆ DXEGSHDEVDATA
◆ PDXEGSHDEVDATA
◆ _DXEGSHDEVDATA
Enumerator |
---|
DxEGShDevData_Surface | |
DxEGShDevData_hSpooler | |
DxEGShDevData_DitherFmt | |
DxEGShDevData_FxCaps | |
DxEGShDevData_FxCaps2 | |
DxEGShDevData_DrvFuncs | |
DxEGShDevData_dhpdev | |
DxEGShDevData_eddg | |
DxEGShDevData_dd_locks | |
DxEGShDevData_dd_flags | |
DxEGShDevData_disable | |
DxEGShDevData_metadev | |
DxEGShDevData_display | |
DxEGShDevData_Parent | |
DxEGShDevData_OpenRefs | |
DxEGShDevData_palette | |
DxEGShDevData_ldev | |
DxEGShDevData_GDev | |
DxEGShDevData_clonedev | |
Definition at line 50 of file dxeng.h.
51{
enum _DXEGSHDEVDATA DXEGSHDEVDATA
@ DxEGShDevData_DitherFmt
enum _DXEGSHDEVDATA * PDXEGSHDEVDATA
◆ DxEngAltLockSurface()
Definition at line 800 of file dxeng.c.
801{
802 DPRINT(
"ReactX Calling : DxEngAltLockSurface\n");
803
805}
ENGAPI SURFOBJ *APIENTRY EngLockSurface(_In_ HSURF hsurf)
◆ DxEngCleanDC()
Definition at line 717 of file dxeng.c.
718{
720}
BOOL FASTCALL IntGdiCleanDC(HDC hDC)
◆ DxEngCreateMemoryDC()
HDC NTAPI DxEngCreateMemoryDC |
( |
HDEV |
hDev | ) |
|
Definition at line 654 of file dxeng.c.
655{
657}
HDC FASTCALL IntGdiCreateDisplayDC(HDEV hDev, ULONG DcType, BOOL EmptyDC)
◆ DxEngDeleteDC()
Definition at line 707 of file dxeng.c.
708{
710}
_Inout_ PVCB _In_ BOOLEAN Force
BOOL FASTCALL IntGdiDeleteDC(HDC, BOOL)
◆ DxEngDeleteSurface()
Definition at line 781 of file dxeng.c.
782{
783 DPRINT(
"ReactX Calling : DxEngDeleteSurface\n");
784
786}
ENGAPI BOOL APIENTRY EngDeleteSurface(_In_ _Post_ptr_invalid_ HSURF hsurf)
◆ DxEngDispUniq()
Definition at line 80 of file dxeng.c.
81{
82 DPRINT(
"ReactX Calling : DxEngDispUniq\n");
84}
◆ DxEngEnumerateHdev()
HDEV *NTAPI DxEngEnumerateHdev |
( |
HDEV * |
hdev | ) |
|
◆ DxEngGetDCState()
Definition at line 450 of file dxeng.c.
452{
455
456 DPRINT(
"ReactX Calling : DxEngGetDCState, type: %lu\n",
type);
457
458 if (pDC)
459 {
461 {
462 case 1:
464 break;
465 case 2:
466
468 break;
469 case 3:
470 {
471
473 break;
474 }
475 default:
476
478 break;
479 }
481 }
482
483 DPRINT(
"retVal: %08Ix\n", retVal);
484
485 return retVal;
486}
FORCEINLINE VOID DC_UnlockDc(PDC pdc)
FORCEINLINE PDC DC_LockDc(HDC hdc)
GLuint GLuint GLsizei GLenum type
INT FASTCALL REGION_Complexity(PREGION prgn)
◆ DxEngGetDesktopDC()
Definition at line 697 of file dxeng.c.
698{
700}
HDC FASTCALL UserGetDesktopDC(ULONG DcType, BOOL bAltDc, BOOL ValidatehWnd)
◆ DxEngGetDeviceGammaRamp()
Definition at line 107 of file dxeng.c.
108{
109 DPRINT(
"ReactX Calling : DxEngGetDeviceGammaRamp\n");
111}
BOOL FASTCALL IntGetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp)
◆ DxEngGetHdevData()
Definition at line 280 of file dxeng.c.
282{
285
286 DPRINT(
"ReactX Calling : DxEngGetHdevData, Type: %d\n",
Type);
287
288#if 1
289 DPRINT(
"hDev: %p\n", hDev);
290#endif
291
293 {
295 DPRINT(
"requested DxEGShDevData_Surface\n");
297 break;
299 DPRINT(
"requested DxEGShDevData_hSpooler\n");
301 break;
303 DPRINT(
"requested DxEGShDevData_DitherFmt\n");
305 break;
307 DPRINT(
"requested DxEGShDevData_FxCaps\n");
309 break;
311 DPRINT(
"requested DxEGShDevData_FxCaps2\n");
313 break;
315 DPRINT(
"requested DxEGShDevData_DrvFuncs\n");
317 break;
319 DPRINT(
"requested DxEGShDevData_dhpdev\n");
321 break;
323 DPRINT(
"requested DxEGShDevData_eddg\n");
325 break;
327 DPRINT(
"requested DxEGShDevData_dd_locks\n");
329 break;
331 DPRINT(
"requested DxEGShDevData_dd_flags\n");
333 break;
335 DPRINT(
"requested DxEGShDevData_disable\n");
337 break;
339 DPRINT(
"requested DxEGShDevData_metadev\n");
341 break;
343 DPRINT(
"requested DxEGShDevData_display\n");
345 break;
347 DPRINT(
"requested DxEGShDevData_Parent\n");
349 break;
351 DPRINT(
"requested DxEGShDevData_OpenRefs\n");
353 break;
355 DPRINT(
"requested DxEGShDevData_palette\n");
357 break;
359 DPRINT(
"requested DxEGShDevData_ldev\n");
361 break;
363 DPRINT(
"requested DxEGShDevData_GDev\n");
365 break;
367 DPRINT(
"requested DxEGShDevData_clonedev\n");
369 break;
370 default:
371
372 break;
373 }
374
375#if 1
376 DPRINT(
"retVal: %08Ix\n", retVal);
377#endif
378
379 return retVal;
380}
struct _PDEVOBJ * PPDEVOBJ
struct _PDEVOBJ * ppdevParent
struct _EDD_DIRECTDRAW_GLOBAL * pEDDgpl
PGRAPHICS_DEVICE pGraphicsDevice
DRIVER_FUNCTIONS DriverFunctions
ULONG cDirectDrawDisableLocks
◆ DxEngGetRedirectionBitmap()
◆ DxEngGetSurfaceData()
◆ DxEngIncDispUniq()
Definition at line 503 of file dxeng.c.
504{
505 DPRINT(
"ReactX Calling : DxEngIncDispUniq\n");
506
509}
#define InterlockedIncrement
◆ DxEngIsHdevLockedByCurrentThread()
Definition at line 675 of file dxeng.c.
676{
679}
#define PsGetCurrentThread()
ULONG_PTR ERESOURCE_THREAD
◆ DxEngLoadImage()
◆ DxEngLockDC()
Definition at line 131 of file dxeng.c.
132{
133 DPRINT(
"ReactX Calling : DxEngLockDC\n");
135}
◆ DxEngLockHdev()
Definition at line 529 of file dxeng.c.
530{
533
534 DPRINT(
"ReactX Calling : DxEngLockHdev\n");
535
536 DPRINT(
"hDev: %p\n", hDev);
537
539
541 {
544 }
546}
_Acquires_exclusive_lock_ Resource _Acquires_shared_lock_ Resource _Inout_ PERESOURCE Resource
#define ExAcquireResourceExclusiveLite(res, wait)
#define KeEnterCriticalRegion()
◆ DxEngLockShareSem()
Definition at line 179 of file dxeng.c.
180{
181 DPRINT(
"ReactX Calling : DxEngLockShareSem\n");
185}
HSEMAPHORE ghsemShareDevLock
HSEMAPHORE WINAPI EngCreateSemaphore(VOID)
ENGAPI VOID APIENTRY EngAcquireSemaphore(_Inout_ HSEMAPHORE hsem)
◆ DxEngMarkSurfaceAsDirectDraw()
◆ DxEngNUIsTermSrv()
◆ DxEngRedrawDesktop()
Definition at line 615 of file dxeng.c.
616{
619}
VOID APIENTRY UserRedrawDesktop(VOID)
◆ DxEngReferenceHdev()
Definition at line 586 of file dxeng.c.
587{
589
591}
FORCEINLINE VOID PDEVOBJ_vReference(_In_ PPDEVOBJ ppdev)
◆ DxEngScreenAccessCheck()
◆ DxEngSelectBitmap()
Definition at line 761 of file dxeng.c.
762{
763 DPRINT(
"ReactX Calling : DxEngSelectBitmap\n");
764
766}
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiSelectBitmap(_In_ HDC hdc, _In_ HBITMAP hbm)
◆ DxEngSelectPaletteToSurface()
◆ DxEngSetBitmapOwner()
Definition at line 771 of file dxeng.c.
772{
773 DPRINT(
"ReactX Calling : DxEngSetBitmapOwner\n");
774
776}
BOOL NTAPI GreSetBitmapOwner(_In_ HBITMAP hbmp, _In_ ULONG ulOwner)
◆ DxEngSetDCOwner()
Definition at line 725 of file dxeng.c.
726{
727 DPRINT(
"ReactX Calling : DxEngSetDCOwner\n");
728
730}
BOOL NTAPI GreSetDCOwner(HDC hdc, ULONG ulOwner)
◆ DxEngSetDCState()
Definition at line 737 of file dxeng.c.
738{
741
742 if (pDC)
743 {
744 if (SetType == 1)
745 {
748 else
749 pDC->fs &= ~DC_FULLSCREEN;
751 }
753 return Ret;
754 }
755 return Ret;
756}
◆ DxEngSetDeviceGammaRamp()
Definition at line 233 of file dxeng.c.
234{
235 DPRINT(
"ReactX Calling : DxEngSetDeviceGammaRamp\n");
237}
BOOL FASTCALL IntSetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp, BOOL Test)
◆ DxEngSetHdevData()
Definition at line 406 of file dxeng.c.
409{
411
412 DPRINT(
"ReactX Calling : DxEngSetHdevData, Type: %d\n",
Type);
413
415 {
419 }
420 return retVal;
421}
◆ DxEngSetPaletteState()
◆ DxEngSpSpritesVisible()
◆ DxEngSpTearDownSprites()
◆ DxEngSpUnTearDownSprites()
◆ DxEngSyncPaletteTableWithDevice()
◆ DxEngUnlockDC()
Definition at line 155 of file dxeng.c.
156{
157 DPRINT(
"ReactX Calling : DxEngUnlockDC\n");
160}
◆ DxEngUnlockHdev()
Definition at line 566 of file dxeng.c.
567{
570
571 DPRINT(
"ReactX Calling : DxEngUnlockHdev\n");
572
574 {
577 }
579}
#define KeLeaveCriticalRegion()
VOID FASTCALL ExReleaseResourceLite(IN PERESOURCE Resource)
◆ DxEngUnlockShareSem()
Definition at line 202 of file dxeng.c.
203{
204 DPRINT(
"ReactX Calling : DxEngUnlockShareSem\n");
207}
VOID WINAPI EngReleaseSemaphore(IN HSEMAPHORE hsem)
◆ DxEngUnreferenceHdev()
Definition at line 686 of file dxeng.c.
687{
690}
VOID NTAPI PDEVOBJ_vRelease(_Inout_ PPDEVOBJ ppdev)
◆ DxEngUploadPaletteEntryToSurface()
◆ DxEngVisRgnUniq()
Definition at line 629 of file dxeng.c.
630{
631 DPRINT(
"ReactX Calling : DxEngVisRgnUniq\n");
632
634}
ULONG gulVisRgnUniqueness