NtDxgkGetAvailableTrackedWorkloadIndex - NtDoc

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

/**
 * The NtDxgkGetAvailableTrackedWorkloadIndex routine retrieves an available index from a
 * tracked-workload object owned by the current graphics process.
 * \param Data Private in/out tracked-workload request; layout remains opaque in this header.
 * \returns NTSTATUS. An undersized request or invalid workload handle returns STATUS_INVALID_PARAMETER.
 * \remarks The x64 implementation requires the size at offset 0 to be at least
 * 0x218 (536) bytes and captures only 0x218 bytes. The 32-bit workload handle is at
 * offset 4, a 64-bit input value at offset 8, and an inline 64-bit-value array starts
 * at offset 16. The input value and array semantics remain unconfirmed.
 * On success, offset 0x210 receives a ULONG index and offset 0x214 receives a BOOL
 * indicating that active instance pairs were processed before retrying index allocation.
 * The private request tag is descriptive; its WOW64 marshalling has not been established.
 */
_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
NtDxgkGetAvailableTrackedWorkloadIndex(
    _Inout_ struct _D3DKMT_GETAVAILABLETRACKEDWORKLOADINDEX *Data
    );

#endif

View code on GitHub

NtDoc

No description available.