PROCESS_HANDLE_SNAPSHOT_INFORMATION - NtDoc

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

typedef struct _PROCESS_HANDLE_SNAPSHOT_INFORMATION
{
    ULONG_PTR NumberOfHandles;
    ULONG_PTR Reserved;
    _Field_size_(NumberOfHandles) PROCESS_HANDLE_TABLE_ENTRY_INFO Handles[1];
} PROCESS_HANDLE_SNAPSHOT_INFORMATION, *PPROCESS_HANDLE_SNAPSHOT_INFORMATION;

#endif

View code on GitHub

This structure defines a snapshot of handles opened by the process.

Applicable to

Members

NumberOfHandles

The number of entries returned in the Handles field.

Reserved

This value is unused.

Handles

An array of entries with information about each handle. See PROCESS_HANDLE_TABLE_ENTRY_INFO for more details.

Required OS version

This structure was introduced in Windows 8.