ReactOS 0.4.16-dev-178-g8ba6102
d3dkmdt.h File Reference
#include "d3dukmdt.h"
Include dependency graph for d3dkmdt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NTSTATUS   int32_t
 
#define STATUS_SUCCESS   ((NTSTATUS)(0))
 
#define STATUS_OBJECT_NAME_INVALID   ((NTSTATUS)(0xC0000033L))
 
#define STATUS_DEVICE_REMOVED   ((NTSTATUS)(0xC00002B6L))
 
#define STATUS_INVALID_HANDLE   ((NTSTATUS)(0xC0000008L))
 
#define STATUS_ILLEGAL_INSTRUCTION   ((NTSTATUS)(0xC000001DL))
 
#define STATUS_NOT_IMPLEMENTED   ((NTSTATUS)(0xC0000002L))
 
#define STATUS_PENDING   ((NTSTATUS)(0x00000103L))
 
#define STATUS_ACCESS_DENIED   ((NTSTATUS)(0xC0000022L))
 
#define STATUS_BUFFER_TOO_SMALL   ((NTSTATUS)(0xC0000023L))
 
#define STATUS_OBJECT_TYPE_MISMATCH   ((NTSTATUS)(0xC0000024L))
 
#define STATUS_GRAPHICS_ALLOCATION_BUSY   ((NTSTATUS)(0xC01E0102L))
 
#define STATUS_NOT_SUPPORTED   ((NTSTATUS)(0xC00000BBL))
 
#define STATUS_TIMEOUT   ((NTSTATUS)(0x00000102L))
 
#define STATUS_INVALID_PARAMETER   ((NTSTATUS)(0xC000000DL))
 
#define STATUS_NO_MEMORY   ((NTSTATUS)(0xC0000017L))
 
#define STATUS_OBJECT_NAME_COLLISION   ((NTSTATUS)(0xC0000035L))
 
#define STATUS_OBJECT_NAME_NOT_FOUND   ((NTSTATUS)(0xC0000034L))
 
#define STATUS_UNSUCCESSFUL   ((NTSTATUS)(0xC0000001L))
 
#define STATUS_INVALID_PARAMETER   ((NTSTATUS)(0xC000000DL))
 
#define NT_SUCCESS(status)   (status >= 0)
 

Typedefs

typedef enum POWER_ACTIONPPOWER_ACTION
 
typedef enum _DEVICE_POWER_STATE DEVICE_POWER_STATE
 
typedef enum _DEVICE_POWER_STATEPDEVICE_POWER_STATE
 

Enumerations

enum  POWER_ACTION {
  PowerActionNone , PowerActionReserved , PowerActionSleep , PowerActionHibernate ,
  PowerActionShutdown , PowerActionShutdownReset , PowerActionShutdownOff , PowerActionWarmEject ,
  PowerActionNone = 0 , PowerActionReserved , PowerActionSleep , PowerActionHibernate ,
  PowerActionShutdown , PowerActionShutdownReset , PowerActionShutdownOff , PowerActionWarmEject ,
  PowerActionDisplayOff , PowerActionNone = 0 , PowerActionReserved , PowerActionSleep ,
  PowerActionHibernate , PowerActionShutdown , PowerActionShutdownReset , PowerActionShutdownOff ,
  PowerActionWarmEject , PowerActionNone = 0 , PowerActionReserved , PowerActionSleep ,
  PowerActionHibernate , PowerActionShutdown , PowerActionShutdownReset , PowerActionShutdownOff ,
  PowerActionWarmEject
}
 
enum  _DEVICE_POWER_STATE {
  PowerDeviceUnspecified , PowerDeviceD0 , PowerDeviceD1 , PowerDeviceD2 ,
  PowerDeviceD3 , PowerDeviceMaximum , PowerDeviceUnspecified = 0 , PowerDeviceD0 ,
  PowerDeviceD1 , PowerDeviceD2 , PowerDeviceD3 , PowerDeviceMaximum ,
  PowerDeviceUnspecified = 0 , PowerDeviceD0 , PowerDeviceD1 , PowerDeviceD2 ,
  PowerDeviceD3 , PowerDeviceMaximum , PowerDeviceUnspecified = 0 , PowerDeviceD0 ,
  PowerDeviceD1 , PowerDeviceD2 , PowerDeviceD3 , PowerDeviceMaximum
}
 

Macro Definition Documentation

◆ NT_SUCCESS

#define NT_SUCCESS (   status)    (status >= 0)

Definition at line 56 of file d3dkmdt.h.

◆ NTSTATUS

Definition at line 29 of file d3dkmdt.h.

◆ STATUS_ACCESS_DENIED

#define STATUS_ACCESS_DENIED   ((NTSTATUS)(0xC0000022L))

Definition at line 44 of file d3dkmdt.h.

◆ STATUS_BUFFER_TOO_SMALL

#define STATUS_BUFFER_TOO_SMALL   ((NTSTATUS)(0xC0000023L))

Definition at line 45 of file d3dkmdt.h.

◆ STATUS_DEVICE_REMOVED

#define STATUS_DEVICE_REMOVED   ((NTSTATUS)(0xC00002B6L))

Definition at line 39 of file d3dkmdt.h.

◆ STATUS_GRAPHICS_ALLOCATION_BUSY

#define STATUS_GRAPHICS_ALLOCATION_BUSY   ((NTSTATUS)(0xC01E0102L))

Definition at line 47 of file d3dkmdt.h.

◆ STATUS_ILLEGAL_INSTRUCTION

#define STATUS_ILLEGAL_INSTRUCTION   ((NTSTATUS)(0xC000001DL))

Definition at line 41 of file d3dkmdt.h.

◆ STATUS_INVALID_HANDLE

#define STATUS_INVALID_HANDLE   ((NTSTATUS)(0xC0000008L))

Definition at line 40 of file d3dkmdt.h.

◆ STATUS_INVALID_PARAMETER [1/2]

#define STATUS_INVALID_PARAMETER   ((NTSTATUS)(0xC000000DL))

Definition at line 55 of file d3dkmdt.h.

◆ STATUS_INVALID_PARAMETER [2/2]

#define STATUS_INVALID_PARAMETER   ((NTSTATUS)(0xC000000DL))

Definition at line 55 of file d3dkmdt.h.

◆ STATUS_NO_MEMORY

#define STATUS_NO_MEMORY   ((NTSTATUS)(0xC0000017L))

Definition at line 51 of file d3dkmdt.h.

◆ STATUS_NOT_IMPLEMENTED

#define STATUS_NOT_IMPLEMENTED   ((NTSTATUS)(0xC0000002L))

Definition at line 42 of file d3dkmdt.h.

◆ STATUS_NOT_SUPPORTED

#define STATUS_NOT_SUPPORTED   ((NTSTATUS)(0xC00000BBL))

Definition at line 48 of file d3dkmdt.h.

◆ STATUS_OBJECT_NAME_COLLISION

#define STATUS_OBJECT_NAME_COLLISION   ((NTSTATUS)(0xC0000035L))

Definition at line 52 of file d3dkmdt.h.

◆ STATUS_OBJECT_NAME_INVALID

#define STATUS_OBJECT_NAME_INVALID   ((NTSTATUS)(0xC0000033L))

Definition at line 38 of file d3dkmdt.h.

◆ STATUS_OBJECT_NAME_NOT_FOUND

#define STATUS_OBJECT_NAME_NOT_FOUND   ((NTSTATUS)(0xC0000034L))

Definition at line 53 of file d3dkmdt.h.

◆ STATUS_OBJECT_TYPE_MISMATCH

#define STATUS_OBJECT_TYPE_MISMATCH   ((NTSTATUS)(0xC0000024L))

Definition at line 46 of file d3dkmdt.h.

◆ STATUS_PENDING

#define STATUS_PENDING   ((NTSTATUS)(0x00000103L))

Definition at line 43 of file d3dkmdt.h.

◆ STATUS_SUCCESS

#define STATUS_SUCCESS   ((NTSTATUS)(0))

Definition at line 37 of file d3dkmdt.h.

◆ STATUS_TIMEOUT

#define STATUS_TIMEOUT   ((NTSTATUS)(0x00000102L))

Definition at line 49 of file d3dkmdt.h.

◆ STATUS_UNSUCCESSFUL

#define STATUS_UNSUCCESSFUL   ((NTSTATUS)(0xC0000001L))

Definition at line 54 of file d3dkmdt.h.

Typedef Documentation

◆ DEVICE_POWER_STATE

◆ PDEVICE_POWER_STATE

◆ PPOWER_ACTION

Enumeration Type Documentation

◆ _DEVICE_POWER_STATE

Enumerator
PowerDeviceUnspecified 
PowerDeviceD0 
PowerDeviceD1 
PowerDeviceD2 
PowerDeviceD3 
PowerDeviceMaximum 
PowerDeviceUnspecified 
PowerDeviceD0 
PowerDeviceD1 
PowerDeviceD2 
PowerDeviceD3 
PowerDeviceMaximum 
PowerDeviceUnspecified 
PowerDeviceD0 
PowerDeviceD1 
PowerDeviceD2 
PowerDeviceD3 
PowerDeviceMaximum 
PowerDeviceUnspecified 
PowerDeviceD0 
PowerDeviceD1 
PowerDeviceD2 
PowerDeviceD3 
PowerDeviceMaximum 

Definition at line 70 of file d3dkmdt.h.

70 {
enum _DEVICE_POWER_STATE * PDEVICE_POWER_STATE
@ PowerDeviceD1
Definition: d3dkmdt.h:73
@ PowerDeviceUnspecified
Definition: d3dkmdt.h:71
@ PowerDeviceD0
Definition: d3dkmdt.h:72
@ PowerDeviceD2
Definition: d3dkmdt.h:74
@ PowerDeviceD3
Definition: d3dkmdt.h:75
@ PowerDeviceMaximum
Definition: d3dkmdt.h:76
enum _DEVICE_POWER_STATE DEVICE_POWER_STATE

◆ POWER_ACTION

Enumerator
PowerActionNone 
PowerActionReserved 
PowerActionSleep 
PowerActionHibernate 
PowerActionShutdown 
PowerActionShutdownReset 
PowerActionShutdownOff 
PowerActionWarmEject 
PowerActionNone 
PowerActionReserved 
PowerActionSleep 
PowerActionHibernate 
PowerActionShutdown 
PowerActionShutdownReset 
PowerActionShutdownOff 
PowerActionWarmEject 
PowerActionDisplayOff 
PowerActionNone 
PowerActionReserved 
PowerActionSleep 
PowerActionHibernate 
PowerActionShutdown 
PowerActionShutdownReset 
PowerActionShutdownOff 
PowerActionWarmEject 
PowerActionNone 
PowerActionReserved 
PowerActionSleep 
PowerActionHibernate 
PowerActionShutdown 
PowerActionShutdownReset 
PowerActionShutdownOff 
PowerActionWarmEject 

Definition at line 58 of file d3dkmdt.h.

58 {
enum POWER_ACTION * PPOWER_ACTION
POWER_ACTION
Definition: d3dkmdt.h:58
@ PowerActionDisplayOff
Definition: d3dkmdt.h:67
@ PowerActionShutdownOff
Definition: d3dkmdt.h:65
@ PowerActionNone
Definition: d3dkmdt.h:59
@ PowerActionHibernate
Definition: d3dkmdt.h:62
@ PowerActionShutdown
Definition: d3dkmdt.h:63
@ PowerActionShutdownReset
Definition: d3dkmdt.h:64
@ PowerActionWarmEject
Definition: d3dkmdt.h:66
@ PowerActionReserved
Definition: d3dkmdt.h:60
@ PowerActionSleep
Definition: d3dkmdt.h:61