mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
Update DxEngSetDCOwner and add owner masks.
svn path=/trunk/; revision=33185
This commit is contained in:
parent
ff187406a6
commit
6e7d793b62
3 changed files with 11 additions and 2 deletions
|
@ -84,6 +84,7 @@ DWORD STDCALL DxEngReferenceHdev(HDEV hdev);
|
|||
BOOLEAN STDCALL DxEngLockShareSem();
|
||||
BOOLEAN STDCALL DxEngUnlockShareSem();
|
||||
DWORD STDCALL DxEngScreenAccessCheck();
|
||||
BOOL STDCALL DxEngSetDCOwner(HGDIOBJ hObject, DWORD OwnerMask);
|
||||
|
||||
/* prototypes are not done yet, I need gather all my notes
|
||||
* to make them correct
|
||||
|
@ -106,7 +107,6 @@ 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);
|
||||
DWORD DxEngSetDCState(DWORD x1, DWORD x2, DWORD x3);
|
||||
DWORD DxEngSelectBitmap(DWORD x1, DWORD x2);
|
||||
DWORD DxEngSetBitmapOwner(DWORD x1, DWORD x2);
|
||||
|
|
|
@ -111,6 +111,14 @@
|
|||
#define GDI_OBJECT_GET_TYPE_INDEX(t) \
|
||||
((t & GDI_HANDLE_BASETYPE_MASK) >> GDI_HANDLE_BASETYPE_SHIFT)
|
||||
|
||||
/* Gdi Object Handle Managment Pid lock masking sets. */
|
||||
/* Ref: used with DxEngSetDCOwner */
|
||||
#define GDI_OBJ_HMGR_PUBLIC 0 // Public owner, Open access?
|
||||
#define GDI_OBJ_HMGR_POWNED 0x80000002 // Set to current owner.
|
||||
#define GDI_OBJ_HMGR_NONE 0x80000012 // No owner, Open access?
|
||||
#define GDI_OBJ_HMGR_RESTRICTED 0x80000022 // Restricted?
|
||||
|
||||
|
||||
/* DC OBJ Types */
|
||||
#define DC_TYPE_DIRECT 0 // normal device context
|
||||
#define DC_TYPE_MEMORY 1 // memory device context
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -722,7 +723,7 @@ BOOLEAN DxEngCleanDC(HDC hdc)
|
|||
/************************************************************************/
|
||||
/* DxEngSetDCOwner */
|
||||
/************************************************************************/
|
||||
DWORD DxEngSetDCOwner(DWORD x1, DWORD x2)
|
||||
BOOL STDCALL DxEngSetDCOwner(HGDIOBJ hObject, DWORD OwnerMask)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue