POWER_INFORMATION_BBR_DIRECT_ACCESS_REQUEST_INPUT - NtDoc

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

// rev
/**
 * The POWER_INFORMATION_BBR_DIRECT_ACCESS_REQUEST_INPUT structure contains the input parameters for the BlackBoxRecorderDirectAccessBuffer (97) information level,
 * used to obtain a direct-access mapping (kernel address + size) to the power black-box recorder entry selected by Index.
 * \remarks InputBufferLength must be at least sizeof(POWER_INFORMATION_BBR_DIRECT_ACCESS_REQUEST_INPUT) (0x20). Layout reversed from PopBlackBoxDirectAccess.
 * The handler requires Reserved0..Reserved3 to be zero and only honors Index; the Version/Flags/Category/Modifiers/Offset/Length
 * form and the POWER_INFORMATION_BBR_DIRECT_ACCESS_REQUEST_* macros above are not evaluated by the level-97 handler.
 */
typedef struct _POWER_INFORMATION_BBR_DIRECT_ACCESS_REQUEST_INPUT
{
    ULONGLONG Reserved0;    // Must be 0.
    ULONGLONG Reserved1;    // Must be 0 (Offset is not honored).
    ULONGLONG Reserved2;    // Must be 0 (Length is not honored).
    ULONG Index;            // Recorder category index (valid range 0..24); selects PopBlackBoxEntries[Index].
    ULONG Reserved3;        // Must be 0.
} POWER_INFORMATION_BBR_DIRECT_ACCESS_REQUEST_INPUT, *PPOWER_INFORMATION_BBR_DIRECT_ACCESS_REQUEST_INPUT;

#endif

View code on GitHub

NtDoc

No description available.