PROCESS_HANDLE_TABLE_ENTRY_INFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPSAPI_H

/**
 * The PROCESS_HANDLE_TABLE_ENTRY_INFO structure contains information about a handle table entry of a process.
 */
typedef struct _PROCESS_HANDLE_TABLE_ENTRY_INFO
{
    HANDLE HandleValue;         // The value of the handle.
    SIZE_T HandleCount;         // The number of references to the handle.
    SIZE_T PointerCount;        // The number of pointers to the handle.
    ACCESS_MASK GrantedAccess;  // The access rights granted to the handle.
    ULONG ObjectTypeIndex;      // The index of the object type.
    ULONG HandleAttributes;     // The attributes of the handle.
    ULONG Reserved;             // Reserved for future use.
} PROCESS_HANDLE_TABLE_ENTRY_INFO, *PPROCESS_HANDLE_TABLE_ENTRY_INFO;

#endif

View code on GitHub

This structure defines information about a handle opened by the process.

Applicable to

Members

HandleValue

The value of the handle.

HandleCount

The number of handles pointing to the object.

PointerCount

The number of pointers to the object.

GrantedAccess

The access mask granted on the handle.

ObjectTypeIndex

The index of this type in the global list of kernel types.

See also

HandleAttributes

A bit mask containing attributes of the handle/object:

Reserved

This field in unused.

Required OS version

This structure was introduced in Windows 8.