Defines common types of information that can be queried or set for kernel handles/objects. This enumeration is partially documented in Windows Driver Kit.
NtQueryObject
NtSetInformationObject
Retrieves basic information about the handle and the underlying object, such as the granted access mask and handle count.
Query | Set | |
---|---|---|
Type | OBJECT_BASIC_INFORMATION |
N/A |
Required access | None | N/A |
Optional access | READ_CONTROL |
N/A |
Retrieves the name of the object in its native form.
Query | Set | |
---|---|---|
Type | OBJECT_NAME_INFORMATION |
N/A |
Required access | None | N/A |
Retrieves information about the type of the object referenced via the handle.
Query | Set | |
---|---|---|
Type | OBJECT_TYPE_INFORMATION |
N/A |
Required access | None | N/A |
Retrieves information about all types of kernel objects registered on the system. This information class does not require a handle on input.
Query | Set | |
---|---|---|
Type | OBJECT_TYPES_INFORMATION |
N/A |
Required access | N/A | N/A |
Controls handle inheritance and protection attributes.
Query | Set | |
---|---|---|
Type | OBJECT_HANDLE_FLAG_INFORMATION |
OBJECT_HANDLE_FLAG_INFORMATION |
Required access | None | None |
OBJ_INHERIT
OBJ_PROTECT_CLOSE