Process Hacker
d3dkmt.h File Reference

Go to the source code of this file.

Data Structures

struct  _D3DKMT_OPENADAPTERFROMDEVICENAME
 
struct  _D3DKMT_CLOSEADAPTER
 
struct  _D3DKMT_QUERYSTATISTICS_COUNTER
 
struct  _D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_NODE_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION
 
struct  _D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER
 
struct  _D3DKMT_QUERYSTATSTICS_RENAMING
 
struct  _D3DKMT_QUERYSTATSTICS_PREPRATION
 
struct  _D3DKMT_QUERYSTATSTICS_PAGING_FAULT
 
struct  _D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER
 
struct  _D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE
 
struct  _D3DKMT_QUERYSTATSTICS_LOCKS
 
struct  _D3DKMT_QUERYSTATSTICS_ALLOCATIONS
 
struct  _D3DKMT_QUERYSTATSTICS_TERMINATIONS
 
struct  _D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY
 
struct  _D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_DMA_BUFFER
 
struct  _D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA
 
struct  _D3DKMT_QUERYSTATISTICS_POLICY
 
struct  _D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_MEMORY
 
struct  _D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_V1
 
struct  _D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY
 
struct  _D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY
 
struct  _D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION
 
struct  _D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT
 
struct  _D3DKMT_QUERYSTATISTICS_QUERY_NODE
 
struct  _D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE
 
union  _D3DKMT_QUERYSTATISTICS_RESULT
 
struct  _D3DKMT_QUERYSTATISTICS
 

Macros

#define D3DKMT_QUERYSTATISTICS_SEGMENT_PREFERENCE_MAX   5
 

Typedefs

typedef ULONG D3DKMT_HANDLE
 
typedef struct
_D3DKMT_OPENADAPTERFROMDEVICENAME 
D3DKMT_OPENADAPTERFROMDEVICENAME
 
typedef struct _D3DKMT_CLOSEADAPTER D3DKMT_CLOSEADAPTER
 
typedef enum
_D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT 
D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT
 
typedef enum
_D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE 
D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE
 
typedef enum
_D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE 
D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE
 
typedef enum
_D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS 
D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS
 
typedef struct
_D3DKMT_QUERYSTATISTICS_COUNTER 
D3DKMT_QUERYSTATISTICS_COUNTER
 
typedef struct
_D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION 
D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION 
D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION 
D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION 
D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION 
D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_NODE_INFORMATION 
D3DKMT_QUERYSTATISTICS_NODE_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION 
D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION 
D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER 
D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER
 
typedef struct
_D3DKMT_QUERYSTATSTICS_RENAMING 
D3DKMT_QUERYSTATSTICS_RENAMING
 
typedef struct
_D3DKMT_QUERYSTATSTICS_PREPRATION 
D3DKMT_QUERYSTATSTICS_PREPRATION
 
typedef struct
_D3DKMT_QUERYSTATSTICS_PAGING_FAULT 
D3DKMT_QUERYSTATSTICS_PAGING_FAULT
 
typedef struct
_D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER 
D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER
 
typedef struct
_D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE 
D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE
 
typedef struct
_D3DKMT_QUERYSTATSTICS_LOCKS 
D3DKMT_QUERYSTATSTICS_LOCKS
 
typedef struct
_D3DKMT_QUERYSTATSTICS_ALLOCATIONS 
D3DKMT_QUERYSTATSTICS_ALLOCATIONS
 
typedef struct
_D3DKMT_QUERYSTATSTICS_TERMINATIONS 
D3DKMT_QUERYSTATSTICS_TERMINATIONS
 
typedef struct
_D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION 
D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY 
D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY
 
typedef struct
_D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION 
D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_DMA_BUFFER 
D3DKMT_QUERYSTATISTICS_DMA_BUFFER
 
typedef struct
_D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA 
D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA
 
typedef struct
_D3DKMT_QUERYSTATISTICS_POLICY 
D3DKMT_QUERYSTATISTICS_POLICY
 
typedef struct
_D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION 
D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_MEMORY 
D3DKMT_QUERYSTATISTICS_MEMORY
 
typedef struct
_D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_V1 
D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_V1
 
typedef struct
_D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION 
D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION
 
typedef struct
_D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY 
D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY
 
typedef struct
_D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY 
D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY
 
typedef struct
_D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION 
D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION
 
typedef enum
_D3DKMT_QUERYSTATISTICS_TYPE 
D3DKMT_QUERYSTATISTICS_TYPE
 
typedef struct
_D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT 
D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT
 
typedef struct
_D3DKMT_QUERYSTATISTICS_QUERY_NODE 
D3DKMT_QUERYSTATISTICS_QUERY_NODE
 
typedef struct
_D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE 
D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE
 
typedef union
_D3DKMT_QUERYSTATISTICS_RESULT 
D3DKMT_QUERYSTATISTICS_RESULT
 
typedef struct
_D3DKMT_QUERYSTATISTICS 
D3DKMT_QUERYSTATISTICS
 
typedef _Check_return_
NTSTATUS(APIENTRY * 
PFND3DKMT_OPENADAPTERFROMDEVICENAME )(_Inout_ D3DKMT_OPENADAPTERFROMDEVICENAME *)
 
typedef _Check_return_
NTSTATUS(APIENTRY * 
PFND3DKMT_CLOSEADAPTER )(_In_ const D3DKMT_CLOSEADAPTER *)
 
typedef _Check_return_
NTSTATUS(APIENTRY * 
PFND3DKMT_QUERYSTATISTICS )(_In_ const D3DKMT_QUERYSTATISTICS *)
 

Enumerations

enum  _D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT {
  D3DKMT_PreemptionAttempt = 0, D3DKMT_PreemptionAttemptSuccess = 1, D3DKMT_PreemptionAttemptMissNoCommand = 2, D3DKMT_PreemptionAttemptMissNotEnabled = 3,
  D3DKMT_PreemptionAttemptMissNextFence = 4, D3DKMT_PreemptionAttemptMissPagingCommand = 5, D3DKMT_PreemptionAttemptMissSplittedCommand = 6, D3DKMT_PreemptionAttemptMissFenceCommand = 7,
  D3DKMT_PreemptionAttemptMissRenderPendingFlip = 8, D3DKMT_PreemptionAttemptMissNotMakingProgress = 9, D3DKMT_PreemptionAttemptMissLessPriority = 10, D3DKMT_PreemptionAttemptMissRemainingQuantum = 11,
  D3DKMT_PreemptionAttemptMissRemainingPreemptionQuantum = 12, D3DKMT_PreemptionAttemptMissAlreadyPreempting = 13, D3DKMT_PreemptionAttemptMissGlobalBlock = 14, D3DKMT_PreemptionAttemptMissAlreadyRunning = 15,
  D3DKMT_PreemptionAttemptStatisticsMax
}
 
enum  _D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE {
  D3DKMT_ClientRenderBuffer = 0, D3DKMT_ClientPagingBuffer = 1, D3DKMT_SystemPagingBuffer = 2, D3DKMT_SystemPreemptionBuffer = 3,
  D3DKMT_DmaPacketTypeMax
}
 
enum  _D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE {
  D3DKMT_RenderCommandBuffer = 0, D3DKMT_DeferredCommandBuffer = 1, D3DKMT_SystemCommandBuffer = 2, D3DKMT_MmIoFlipCommandBuffer = 3,
  D3DKMT_WaitCommandBuffer = 4, D3DKMT_SignalCommandBuffer = 5, D3DKMT_DeviceCommandBuffer = 6, D3DKMT_SoftwareCommandBuffer = 7,
  D3DKMT_QueuePacketTypeMax
}
 
enum  _D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS {
  D3DKMT_AllocationPriorityClassMinimum = 0, D3DKMT_AllocationPriorityClassLow = 1, D3DKMT_AllocationPriorityClassNormal = 2, D3DKMT_AllocationPriorityClassHigh = 3,
  D3DKMT_AllocationPriorityClassMaximum = 4, D3DKMT_MaxAllocationPriorityClass
}
 
enum  _D3DKMT_QUERYSTATISTICS_TYPE {
  D3DKMT_QUERYSTATISTICS_ADAPTER = 0, D3DKMT_QUERYSTATISTICS_PROCESS = 1, D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER = 2, D3DKMT_QUERYSTATISTICS_SEGMENT = 3,
  D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT = 4, D3DKMT_QUERYSTATISTICS_NODE = 5, D3DKMT_QUERYSTATISTICS_PROCESS_NODE = 6, D3DKMT_QUERYSTATISTICS_VIDPNSOURCE = 7,
  D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE = 8
}
 

Macro Definition Documentation

#define D3DKMT_QUERYSTATISTICS_SEGMENT_PREFERENCE_MAX   5

Definition at line 73 of file d3dkmt.h.

Typedef Documentation

typedef ULONG D3DKMT_HANDLE

Definition at line 6 of file d3dkmt.h.

typedef _Check_return_ NTSTATUS(APIENTRY * PFND3DKMT_CLOSEADAPTER)(_In_ const D3DKMT_CLOSEADAPTER *)

Definition at line 479 of file d3dkmt.h.

typedef _Check_return_ NTSTATUS(APIENTRY * PFND3DKMT_OPENADAPTERFROMDEVICENAME)(_Inout_ D3DKMT_OPENADAPTERFROMDEVICENAME *)

Definition at line 478 of file d3dkmt.h.

typedef _Check_return_ NTSTATUS(APIENTRY * PFND3DKMT_QUERYSTATISTICS)(_In_ const D3DKMT_QUERYSTATISTICS *)

Definition at line 480 of file d3dkmt.h.

Enumeration Type Documentation

Enumerator:
D3DKMT_PreemptionAttempt 
D3DKMT_PreemptionAttemptSuccess 
D3DKMT_PreemptionAttemptMissNoCommand 
D3DKMT_PreemptionAttemptMissNotEnabled 
D3DKMT_PreemptionAttemptMissNextFence 
D3DKMT_PreemptionAttemptMissPagingCommand 
D3DKMT_PreemptionAttemptMissSplittedCommand 
D3DKMT_PreemptionAttemptMissFenceCommand 
D3DKMT_PreemptionAttemptMissRenderPendingFlip 
D3DKMT_PreemptionAttemptMissNotMakingProgress 
D3DKMT_PreemptionAttemptMissLessPriority 
D3DKMT_PreemptionAttemptMissRemainingQuantum 
D3DKMT_PreemptionAttemptMissRemainingPreemptionQuantum 
D3DKMT_PreemptionAttemptMissAlreadyPreempting 
D3DKMT_PreemptionAttemptMissGlobalBlock 
D3DKMT_PreemptionAttemptMissAlreadyRunning 
D3DKMT_PreemptionAttemptStatisticsMax 

Definition at line 20 of file d3dkmt.h.

Enumerator:
D3DKMT_AllocationPriorityClassMinimum 
D3DKMT_AllocationPriorityClassLow 
D3DKMT_AllocationPriorityClassNormal 
D3DKMT_AllocationPriorityClassHigh 
D3DKMT_AllocationPriorityClassMaximum 
D3DKMT_MaxAllocationPriorityClass 

Definition at line 63 of file d3dkmt.h.

Enumerator:
D3DKMT_ClientRenderBuffer 
D3DKMT_ClientPagingBuffer 
D3DKMT_SystemPagingBuffer 
D3DKMT_SystemPreemptionBuffer 
D3DKMT_DmaPacketTypeMax 

Definition at line 41 of file d3dkmt.h.

Enumerator:
D3DKMT_RenderCommandBuffer 
D3DKMT_DeferredCommandBuffer 
D3DKMT_SystemCommandBuffer 
D3DKMT_MmIoFlipCommandBuffer 
D3DKMT_WaitCommandBuffer 
D3DKMT_SignalCommandBuffer 
D3DKMT_DeviceCommandBuffer 
D3DKMT_SoftwareCommandBuffer 
D3DKMT_QueuePacketTypeMax 

Definition at line 50 of file d3dkmt.h.

Enumerator:
D3DKMT_QUERYSTATISTICS_ADAPTER 
D3DKMT_QUERYSTATISTICS_PROCESS 
D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER 
D3DKMT_QUERYSTATISTICS_SEGMENT 
D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT 
D3DKMT_QUERYSTATISTICS_NODE 
D3DKMT_QUERYSTATISTICS_PROCESS_NODE 
D3DKMT_QUERYSTATISTICS_VIDPNSOURCE 
D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE 

Definition at line 416 of file d3dkmt.h.