mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NtGDI] Set owner after changing object type.
This commit is contained in:
parent
d9f8b8b033
commit
72f115d6ed
1 changed files with 1 additions and 1 deletions
|
@ -1501,7 +1501,7 @@ GDIOBJ_ConvertFromStockObj(HGDIOBJ *phObj)
|
||||||
|
|
||||||
/* Update the entry */
|
/* Update the entry */
|
||||||
pentry->FullUnique &= ~GDI_ENTRY_STOCK_MASK;
|
pentry->FullUnique &= ~GDI_ENTRY_STOCK_MASK;
|
||||||
pentry->ObjectOwner.ulObj = 0;
|
pentry->ObjectOwner.ulObj = PtrToUlong(PsGetCurrentProcessId());
|
||||||
|
|
||||||
/* Get the pointer to the BASEOBJECT */
|
/* Get the pointer to the BASEOBJECT */
|
||||||
pobj = pentry->einfo.pobj;
|
pobj = pentry->einfo.pobj;
|
||||||
|
|
Loading…
Reference in a new issue