Merge DD structure info into gdi structures.

svn path=/trunk/; revision=31513
This commit is contained in:
James Tabor 2007-12-31 06:09:05 +00:00
parent ca60bdfbe8
commit 0c9e6b6cac
2 changed files with 7 additions and 6 deletions

View file

@ -206,10 +206,11 @@ typedef struct _GDI_TABLE_ENTRY
SHORT nCount; /* usage count of object handles */ SHORT nCount; /* usage count of object handles */
union{ // temp union structure. union{ // temp union structure.
LONG Type; /* the first 16 bit is the object type including the stock obj flag, the last 16 bits is just the object type */ LONG Type; /* the first 16 bit is the object type including the stock obj flag, the last 16 bits is just the object type */
SHORT nUpper:16; struct{
CHAR ObjectType:8; SHORT FullUnique;
CHAR Flags:8; CHAR ObjectType;
}; CHAR Flags;
};};
PVOID UserData; /* Points to the user mode structure, usually NULL though */ PVOID UserData; /* Points to the user mode structure, usually NULL though */
} GDI_TABLE_ENTRY, *PGDI_TABLE_ENTRY; } GDI_TABLE_ENTRY, *PGDI_TABLE_ENTRY;

View file

@ -58,9 +58,9 @@ typedef struct _GDIOBJHDR
typedef struct _GDIOBJEMPTYHDR typedef struct _GDIOBJEMPTYHDR
{ {
HGDIOBJ hHmgr; HGDIOBJ hHmgr;
PVOID pvEntry; ULONG Count;
ULONG lucExcLock; ULONG lucExcLock;
ULONG Tid; PW32THREAD Tid;
} GDIOBJEMPTYHDR, *PGDIOBJEMPTYHDR; } GDIOBJEMPTYHDR, *PGDIOBJEMPTYHDR;
BOOL INTERNAL_CALL GDIOBJ_OwnedByCurrentProcess(PGDI_HANDLE_TABLE HandleTable, HGDIOBJ ObjectHandle); BOOL INTERNAL_CALL GDIOBJ_OwnedByCurrentProcess(PGDI_HANDLE_TABLE HandleTable, HGDIOBJ ObjectHandle);