mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 23:12:04 +00:00
A partial implementation of NtGdiCreate/DeleteClientObj.
svn path=/trunk/; revision=31174
This commit is contained in:
parent
a2cdbddc57
commit
6be093f33b
1 changed files with 8 additions and 4 deletions
|
@ -1509,8 +1509,13 @@ NtGdiCreateClientObj(
|
|||
IN ULONG ulType
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return 0;
|
||||
// INT Index;
|
||||
// PGDI_TABLE_ENTRY Entry;
|
||||
HANDLE handle = GDIOBJ_AllocObj(GdiHandleTable, GDI_OBJECT_TAG_CLIOBJ);
|
||||
// Need to change handle type based on ulType.
|
||||
// Index = GDI_HANDLE_GET_INDEX((HGDIOBJ)handle);
|
||||
// Entry = &GdiHandleTable->Entries[Index];
|
||||
return handle;
|
||||
}
|
||||
|
||||
W32KAPI
|
||||
|
@ -1520,8 +1525,7 @@ NtGdiDeleteClientObj(
|
|||
IN HANDLE h
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return 0;
|
||||
return GDIOBJ_FreeObj(GdiHandleTable, h, GDI_OBJECT_TAG_CLIOBJ);
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue