include: Add more kernel mode graphics driver definitions.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2019-05-09 20:27:10 +08:00 committed by Alexandre Julliard
parent cfcb7b7473
commit 8a91cd6f0a
3 changed files with 309 additions and 0 deletions

View File

@ -138,4 +138,6 @@ typedef enum _D3DDDIFORMAT
D3DDDIFMT_FORCE_UINT = 0x7fffffff,
} D3DDDIFORMAT;
typedef UINT D3DDDI_VIDEO_PRESENT_SOURCE_ID;
#endif /* __WINE_D3DUKMDT_H */

View File

@ -21,6 +21,121 @@
#include <d3dukmdt.h>
typedef enum _D3DKMT_VIDPNSOURCEOWNER_TYPE
{
D3DKMT_VIDPNSOURCEOWNER_UNOWNED = 0,
D3DKMT_VIDPNSOURCEOWNER_SHARED = 1,
D3DKMT_VIDPNSOURCEOWNER_EXCLUSIVE = 2,
D3DKMT_VIDPNSOURCEOWNER_EXCLUSIVEGDI = 3,
D3DKMT_VIDPNSOURCEOWNER_EMULATED = 4
} D3DKMT_VIDPNSOURCEOWNER_TYPE;
typedef struct _D3DKMT_CREATEDEVICEFLAGS
{
UINT LegacyMode : 1;
UINT RequestVSync : 1;
UINT DisableGpuTimeout : 1;
UINT Reserved : 29;
} D3DKMT_CREATEDEVICEFLAGS;
typedef struct _D3DDDI_ALLOCATIONLIST
{
D3DKMT_HANDLE hAllocation;
union
{
struct
{
UINT WriteOperation : 1;
UINT DoNotRetireInstance : 1;
UINT OfferPriority : 3;
UINT Reserved : 27;
} DUMMYSTRUCTNAME;
UINT Value;
} DUMMYUNIONNAME;
} D3DDDI_ALLOCATIONLIST;
typedef struct _D3DDDI_PATCHLOCATIONLIST
{
UINT AllocationIndex;
union
{
struct
{
UINT SlotId : 24;
UINT Reserved : 8;
} DUMMYSTRUCTNAME;
UINT Value;
} DUMMYUNIONNAME;
UINT DriverId;
UINT AllocationOffset;
UINT PatchOffset;
UINT SplitOffset;
} D3DDDI_PATCHLOCATIONLIST;
typedef struct _D3DKMT_DESTROYDEVICE
{
D3DKMT_HANDLE hDevice;
} D3DKMT_DESTROYDEVICE;
typedef struct _D3DKMT_CHECKOCCLUSION
{
HWND hWnd;
} D3DKMT_CHECKOCCLUSION;
typedef struct _D3DKMT_CREATEDEVICE
{
union
{
D3DKMT_HANDLE hAdapter;
VOID *pAdapter;
} DUMMYUNIONNAME;
D3DKMT_CREATEDEVICEFLAGS Flags;
D3DKMT_HANDLE hDevice;
VOID *pCommandBuffer;
UINT CommandBufferSize;
D3DDDI_ALLOCATIONLIST *pAllocationList;
UINT AllocationListSize;
D3DDDI_PATCHLOCATIONLIST *pPatchLocationList;
UINT PatchLocationListSize;
} D3DKMT_CREATEDEVICE;
typedef struct _D3DKMT_OPENADAPTERFROMHDC
{
HDC hDc;
D3DKMT_HANDLE hAdapter;
LUID AdapterLuid;
D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMT_OPENADAPTERFROMHDC;
typedef struct _D3DKMT_OPENADAPTERFROMDEVICENAME
{
const WCHAR *pDeviceName;
D3DKMT_HANDLE hAdapter;
LUID AdapterLuid;
} D3DKMT_OPENADAPTERFROMDEVICENAME;
typedef struct _D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME
{
WCHAR DeviceName[32];
D3DKMT_HANDLE hAdapter;
LUID AdapterLuid;
D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME;
typedef struct _D3DKMT_SETVIDPNSOURCEOWNER
{
D3DKMT_HANDLE hDevice;
const D3DKMT_VIDPNSOURCEOWNER_TYPE *pType;
const D3DDDI_VIDEO_PRESENT_SOURCE_ID *pVidPnSourceId;
UINT VidPnSourceCount;
} D3DKMT_SETVIDPNSOURCEOWNER;
typedef struct _D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP
{
D3DKMT_HANDLE hAdapter;
D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP;
typedef struct _D3DKMT_CLOSEADAPTER
{
D3DKMT_HANDLE hAdapter;

View File

@ -1210,6 +1210,198 @@
#define STATUS_GENERIC_COMMAND_FAILED ((NTSTATUS) 0xC0150026)
#define STATUS_SXS_FILE_HASH_MISSING ((NTSTATUS) 0xC0150027)
#define STATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER ((NTSTATUS) 0xC01E0000)
#define STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER ((NTSTATUS) 0xC01E0001)
#define STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER ((NTSTATUS) 0xC01E0002)
#define STATUS_GRAPHICS_ADAPTER_WAS_RESET ((NTSTATUS) 0xC01E0003)
#define STATUS_GRAPHICS_INVALID_DRIVER_MODEL ((NTSTATUS) 0xC01E0004)
#define STATUS_GRAPHICS_PRESENT_MODE_CHANGED ((NTSTATUS) 0xC01E0005)
#define STATUS_GRAPHICS_PRESENT_OCCLUDED ((NTSTATUS) 0xC01E0006)
#define STATUS_GRAPHICS_PRESENT_DENIED ((NTSTATUS) 0xC01E0007)
#define STATUS_GRAPHICS_CANNOTCOLORCONVERT ((NTSTATUS) 0xC01E0008)
#define STATUS_GRAPHICS_DRIVER_MISMATCH ((NTSTATUS) 0xC01E0009)
#define STATUS_GRAPHICS_PARTIAL_DATA_POPULATED ((NTSTATUS) 0x401E000A)
#define STATUS_GRAPHICS_PRESENT_REDIRECTION_DISABLED ((NTSTATUS) 0xC01E000B)
#define STATUS_GRAPHICS_PRESENT_UNOCCLUDED ((NTSTATUS) 0xC01E000C)
#define STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE ((NTSTATUS) 0xC01E000D)
#define STATUS_GRAPHICS_WINDOWLESS_PRESENT_DISABLED ((NTSTATUS) 0xC01E000E)
#define STATUS_GRAPHICS_PRESENT_INVALID_WINDOW ((NTSTATUS) 0xC01E000F)
#define STATUS_GRAPHICS_PRESENT_BUFFER_NOT_BOUND ((NTSTATUS) 0xC01E0010)
#define STATUS_GRAPHICS_VAIL_STATE_CHANGED ((NTSTATUS) 0xC01E0011)
#define STATUS_GRAPHICS_NO_VIDEO_MEMORY ((NTSTATUS) 0xC01E0100)
#define STATUS_GRAPHICS_CANT_LOCK_MEMORY ((NTSTATUS) 0xC01E0101)
#define STATUS_GRAPHICS_ALLOCATION_BUSY ((NTSTATUS) 0xC01E0102)
#define STATUS_GRAPHICS_TOO_MANY_REFERENCES ((NTSTATUS) 0xC01E0103)
#define STATUS_GRAPHICS_TRY_AGAIN_LATER ((NTSTATUS) 0xC01E0104)
#define STATUS_GRAPHICS_TRY_AGAIN_NOW ((NTSTATUS) 0xC01E0105)
#define STATUS_GRAPHICS_ALLOCATION_INVALID ((NTSTATUS) 0xC01E0106)
#define STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE ((NTSTATUS) 0xC01E0107)
#define STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED ((NTSTATUS) 0xC01E0108)
#define STATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION ((NTSTATUS) 0xC01E0109)
#define STATUS_GRAPHICS_INVALID_ALLOCATION_USAGE ((NTSTATUS) 0xC01E0110)
#define STATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION ((NTSTATUS) 0xC01E0111)
#define STATUS_GRAPHICS_ALLOCATION_CLOSED ((NTSTATUS) 0xC01E0112)
#define STATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE ((NTSTATUS) 0xC01E0113)
#define STATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE ((NTSTATUS) 0xC01E0114)
#define STATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE ((NTSTATUS) 0xC01E0115)
#define STATUS_GRAPHICS_ALLOCATION_CONTENT_LOST ((NTSTATUS) 0xC01E0116)
#define STATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE ((NTSTATUS) 0xC01E0200)
#define STATUS_GRAPHICS_SKIP_ALLOCATION_PREPARATION ((NTSTATUS) 0x401E0201)
#define STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY ((NTSTATUS) 0xC01E0300)
#define STATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED ((NTSTATUS) 0xC01E0301)
#define STATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED ((NTSTATUS) 0xC01E0302)
#define STATUS_GRAPHICS_INVALID_VIDPN ((NTSTATUS) 0xC01E0303)
#define STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE ((NTSTATUS) 0xC01E0304)
#define STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET ((NTSTATUS) 0xC01E0305)
#define STATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED ((NTSTATUS) 0xC01E0306)
#define STATUS_GRAPHICS_MODE_NOT_PINNED ((NTSTATUS) 0x401E0307)
#define STATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET ((NTSTATUS) 0xC01E0308)
#define STATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET ((NTSTATUS) 0xC01E0309)
#define STATUS_GRAPHICS_INVALID_FREQUENCY ((NTSTATUS) 0xC01E030A)
#define STATUS_GRAPHICS_INVALID_ACTIVE_REGION ((NTSTATUS) 0xC01E030B)
#define STATUS_GRAPHICS_INVALID_TOTAL_REGION ((NTSTATUS) 0xC01E030C)
#define STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE ((NTSTATUS) 0xC01E0310)
#define STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE ((NTSTATUS) 0xC01E0311)
#define STATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET ((NTSTATUS) 0xC01E0312)
#define STATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY ((NTSTATUS) 0xC01E0313)
#define STATUS_GRAPHICS_MODE_ALREADY_IN_MODESET ((NTSTATUS) 0xC01E0314)
#define STATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET ((NTSTATUS) 0xC01E0315)
#define STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET ((NTSTATUS) 0xC01E0316)
#define STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET ((NTSTATUS) 0xC01E0317)
#define STATUS_GRAPHICS_TARGET_ALREADY_IN_SET ((NTSTATUS) 0xC01E0318)
#define STATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH ((NTSTATUS) 0xC01E0319)
#define STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY ((NTSTATUS) 0xC01E031A)
#define STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET ((NTSTATUS) 0xC01E031B)
#define STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE ((NTSTATUS) 0xC01E031C)
#define STATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET ((NTSTATUS) 0xC01E031D)
#define STATUS_GRAPHICS_NO_PREFERRED_MODE ((NTSTATUS) 0x401E031E)
#define STATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET ((NTSTATUS) 0xC01E031F)
#define STATUS_GRAPHICS_STALE_MODESET ((NTSTATUS) 0xC01E0320)
#define STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET ((NTSTATUS) 0xC01E0321)
#define STATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE ((NTSTATUS) 0xC01E0322)
#define STATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN ((NTSTATUS) 0xC01E0323)
#define STATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE ((NTSTATUS) 0xC01E0324)
#define STATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION ((NTSTATUS) 0xC01E0325)
#define STATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES ((NTSTATUS) 0xC01E0326)
#define STATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY ((NTSTATUS) 0xC01E0327)
#define STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE ((NTSTATUS) 0xC01E0328)
#define STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET ((NTSTATUS) 0xC01E0329)
#define STATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET ((NTSTATUS) 0xC01E032A)
#define STATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR ((NTSTATUS) 0xC01E032B)
#define STATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET ((NTSTATUS) 0xC01E032C)
#define STATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET ((NTSTATUS) 0xC01E032D)
#define STATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE ((NTSTATUS) 0xC01E032E)
#define STATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE ((NTSTATUS) 0xC01E032F)
#define STATUS_GRAPHICS_RESOURCES_NOT_RELATED ((NTSTATUS) 0xC01E0330)
#define STATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE ((NTSTATUS) 0xC01E0331)
#define STATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE ((NTSTATUS) 0xC01E0332)
#define STATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET ((NTSTATUS) 0xC01E0333)
#define STATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER ((NTSTATUS) 0xC01E0334)
#define STATUS_GRAPHICS_NO_VIDPNMGR ((NTSTATUS) 0xC01E0335)
#define STATUS_GRAPHICS_NO_ACTIVE_VIDPN ((NTSTATUS) 0xC01E0336)
#define STATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY ((NTSTATUS) 0xC01E0337)
#define STATUS_GRAPHICS_MONITOR_NOT_CONNECTED ((NTSTATUS) 0xC01E0338)
#define STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY ((NTSTATUS) 0xC01E0339)
#define STATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE ((NTSTATUS) 0xC01E033A)
#define STATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE ((NTSTATUS) 0xC01E033B)
#define STATUS_GRAPHICS_INVALID_STRIDE ((NTSTATUS) 0xC01E033C)
#define STATUS_GRAPHICS_INVALID_PIXELFORMAT ((NTSTATUS) 0xC01E033D)
#define STATUS_GRAPHICS_INVALID_COLORBASIS ((NTSTATUS) 0xC01E033E)
#define STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE ((NTSTATUS) 0xC01E033F)
#define STATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY ((NTSTATUS) 0xC01E0340)
#define STATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT ((NTSTATUS) 0xC01E0341)
#define STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE ((NTSTATUS) 0xC01E0342)
#define STATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN ((NTSTATUS) 0xC01E0343)
#define STATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL ((NTSTATUS) 0xC01E0344)
#define STATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION ((NTSTATUS) 0xC01E0345)
#define STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED ((NTSTATUS) 0xC01E0346)
#define STATUS_GRAPHICS_INVALID_GAMMA_RAMP ((NTSTATUS) 0xC01E0347)
#define STATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED ((NTSTATUS) 0xC01E0348)
#define STATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED ((NTSTATUS) 0xC01E0349)
#define STATUS_GRAPHICS_MODE_NOT_IN_MODESET ((NTSTATUS) 0xC01E034A)
#define STATUS_GRAPHICS_DATASET_IS_EMPTY ((NTSTATUS) 0x401E034B)
#define STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET ((NTSTATUS) 0x401E034C)
#define STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON ((NTSTATUS) 0xC01E034D)
#define STATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE ((NTSTATUS) 0xC01E034E)
#define STATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE ((NTSTATUS) 0xC01E034F)
#define STATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS ((NTSTATUS) 0xC01E0350)
#define STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED ((NTSTATUS) 0x401E0351)
#define STATUS_GRAPHICS_INVALID_SCANLINE_ORDERING ((NTSTATUS) 0xC01E0352)
#define STATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED ((NTSTATUS) 0xC01E0353)
#define STATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS ((NTSTATUS) 0xC01E0354)
#define STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT ((NTSTATUS) 0xC01E0355)
#define STATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM ((NTSTATUS) 0xC01E0356)
#define STATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN ((NTSTATUS) 0xC01E0357)
#define STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT ((NTSTATUS) 0xC01E0358)
#define STATUS_GRAPHICS_MAX_NUM_PATHS_REACHED ((NTSTATUS) 0xC01E0359)
#define STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION ((NTSTATUS) 0xC01E035A)
#define STATUS_GRAPHICS_INVALID_CLIENT_TYPE ((NTSTATUS) 0xC01E035B)
#define STATUS_GRAPHICS_CLIENTVIDPN_NOT_SET ((NTSTATUS) 0xC01E035C)
#define STATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED ((NTSTATUS) 0xC01E0400)
#define STATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED ((NTSTATUS) 0xC01E0401)
#define STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS ((NTSTATUS) 0x401E042F)
#define STATUS_GRAPHICS_NOT_A_LINKED_ADAPTER ((NTSTATUS) 0xC01E0430)
#define STATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED ((NTSTATUS) 0xC01E0431)
#define STATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED ((NTSTATUS) 0xC01E0432)
#define STATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY ((NTSTATUS) 0xC01E0433)
#define STATUS_GRAPHICS_CHAINLINKS_NOT_STARTED ((NTSTATUS) 0xC01E0434)
#define STATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON ((NTSTATUS) 0xC01E0435)
#define STATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE ((NTSTATUS) 0xC01E0436)
#define STATUS_GRAPHICS_LEADLINK_START_DEFERRED ((NTSTATUS) 0x401E0437)
#define STATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER ((NTSTATUS) 0xC01E0438)
#define STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY ((NTSTATUS) 0x401E0439)
#define STATUS_GRAPHICS_START_DEFERRED ((NTSTATUS) 0x401E043A)
#define STATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED ((NTSTATUS) 0xC01E043B)
#define STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS ((NTSTATUS) 0x401E043C)
#define STATUS_GRAPHICS_OPM_NOT_SUPPORTED ((NTSTATUS) 0xC01E0500)
#define STATUS_GRAPHICS_COPP_NOT_SUPPORTED ((NTSTATUS) 0xC01E0501)
#define STATUS_GRAPHICS_UAB_NOT_SUPPORTED ((NTSTATUS) 0xC01E0502)
#define STATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS ((NTSTATUS) 0xC01E0503)
#define STATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST ((NTSTATUS) 0xC01E0505)
#define STATUS_GRAPHICS_OPM_INTERNAL_ERROR ((NTSTATUS) 0xC01E050B)
#define STATUS_GRAPHICS_OPM_INVALID_HANDLE ((NTSTATUS) 0xC01E050C)
#define STATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH ((NTSTATUS) 0xC01E050E)
#define STATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED ((NTSTATUS) 0xC01E050F)
#define STATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED ((NTSTATUS) 0xC01E0510)
#define STATUS_GRAPHICS_PVP_HFS_FAILED ((NTSTATUS) 0xC01E0511)
#define STATUS_GRAPHICS_OPM_INVALID_SRM ((NTSTATUS) 0xC01E0512)
#define STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP ((NTSTATUS) 0xC01E0513)
#define STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP ((NTSTATUS) 0xC01E0514)
#define STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA ((NTSTATUS) 0xC01E0515)
#define STATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET ((NTSTATUS) 0xC01E0516)
#define STATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH ((NTSTATUS) 0xC01E0517)
#define STATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE ((NTSTATUS) 0xC01E0518)
#define STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS ((NTSTATUS) 0xC01E051A)
#define STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS ((NTSTATUS) 0xC01E051C)
#define STATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST ((NTSTATUS) 0xC01E051D)
#define STATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR ((NTSTATUS) 0xC01E051E)
#define STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS ((NTSTATUS) 0xC01E051F)
#define STATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED ((NTSTATUS) 0xC01E0520)
#define STATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST ((NTSTATUS) 0xC01E0521)
#define STATUS_GRAPHICS_I2C_NOT_SUPPORTED ((NTSTATUS) 0xC01E0580)
#define STATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST ((NTSTATUS) 0xC01E0581)
#define STATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA ((NTSTATUS) 0xC01E0582)
#define STATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA ((NTSTATUS) 0xC01E0583)
#define STATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED ((NTSTATUS) 0xC01E0584)
#define STATUS_GRAPHICS_DDCCI_INVALID_DATA ((NTSTATUS) 0xC01E0585)
#define STATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE ((NTSTATUS) 0xC01E0586)
#define STATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING ((NTSTATUS) 0xC01E0587)
#define STATUS_GRAPHICS_MCA_INTERNAL_ERROR ((NTSTATUS) 0xC01E0588)
#define STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND ((NTSTATUS) 0xC01E0589)
#define STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH ((NTSTATUS) 0xC01E058A)
#define STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM ((NTSTATUS) 0xC01E058B)
#define STATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE ((NTSTATUS) 0xC01E058C)
#define STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS ((NTSTATUS) 0xC01E058D)
#define STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED ((NTSTATUS) 0xC01E05E0)
#define STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME ((NTSTATUS) 0xC01E05E1)
#define STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP ((NTSTATUS) 0xC01E05E2)
#define STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED ((NTSTATUS) 0xC01E05E3)
#define STATUS_GRAPHICS_INVALID_POINTER ((NTSTATUS) 0xC01E05E4)
#define STATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE ((NTSTATUS) 0xC01E05E5)
#define STATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL ((NTSTATUS) 0xC01E05E6)
#define STATUS_GRAPHICS_INTERNAL_ERROR ((NTSTATUS) 0xC01E05E7)
#define STATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS ((NTSTATUS) 0xC01E05E8)
#define DBG_EXCEPTION_HANDLED ((NTSTATUS) 0x00010001)
#define DBG_CONTINUE ((NTSTATUS) 0x00010002)
#define DBG_TERMINATE_THREAD ((NTSTATUS) 0x40010003)