#ifndef _NTOBAPI_H
typedef struct _OBJECT_HANDLE_FLAG_INFORMATION
{
BOOLEAN Inherit;
BOOLEAN ProtectFromClose;
} OBJECT_HANDLE_FLAG_INFORMATION, *POBJECT_HANDLE_FLAG_INFORMATION;
View code on GitHub
This structure controls handle inheritance and protection attributes.
NtQueryObject
with ObjectHandleFlagInformation
.NtSetInformationObject
with ObjectHandleFlagInformation
.A boolean indicating whether the handle is marked as inheritable.
A boolean indicating whether the handle is marked as protected from closing.