Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 605 Bytes

ntcurrentprocess.md

File metadata and controls

8 lines (6 loc) · 605 Bytes

This macro is documented in Windows Driver Kit. It is a native equivalent of the GetCurrentProcess function and returns a pseudo-handle that grants PROCESS_ALL_ACCESS to the current process. You do not need to call NtClose on the returned handle.

Applicable to

This pseudo-handle can be used with all functions that accept process handles.

See also

  • NtCurrentThread
  • RtlIsCurrentProcess