mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
[NTOSKRNL] Modify ObpCreateDeviceMap so that it can handle any process
It is now able to set the newly created device map to any process and will default to current process if none is provided. It also sets system device map if no process is specified. It also deferences existing device map in the process if needed. Finaly, it will make the directory object permanant.
This commit is contained in:
parent
d5b88ff0ae
commit
933dddeb07
3 changed files with 83 additions and 10 deletions
|
@ -399,9 +399,9 @@ ObReferenceFileObjectForWrite(
|
|||
//
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
ObpCreateDeviceMap(
|
||||
IN HANDLE DirectoryHandle
|
||||
);
|
||||
ObSetDeviceMap(
|
||||
IN PEPROCESS Process,
|
||||
IN HANDLE DirectoryHandle);
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue