-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
display.h
246 lines (209 loc) · 15.4 KB
/
display.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
#ifndef DISPLAY_H
#define DISPLAY_H
#include <dispmprt.h>
//--------------------------------------------------------------------------------------------------------
#pragma region //Device Section
DXGKDDI_CREATEDEVICE DxgkDdiCreateDevice;
DXGKDDI_ADD_DEVICE DxgkDdiAddDevice;
DXGKDDI_LINK_DEVICE DxgkDdiLinkDevice;
DXGKDDI_START_DEVICE DxgkDdiStartDevice;
DXGKDDI_RESET_DEVICE DxgkDdiResetDevice;
DXGKDDI_STOP_DEVICE DxgkDdiStopDevice;
DXGKDDI_REMOVE_DEVICE DxgkDdiRemoveDevice;
DXGKDDI_DESTROYDEVICE DxgkDdiDestroyDevice;
DXGKDDI_UNLOAD DxgkDdiUnload;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Present Section
DXGKDDI_PRESENT DxgkDdiPresent;
DXGKDDI_RENDER DxgkDdiRender;
DXGKDDI_RENDER DxgkDdiRenderKm;
DXGKDDI_RENDERGDI DxgkDdiRenderGdi;
PVOID DxgkDdiSubmitRender;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Command Section
DXGKDDI_PATCH DxgkDdiPatch;
DXGKDDI_PREEMPTCOMMAND DxgkDdiPreemptCommand;
DXGKDDI_SUBMITCOMMAND DxgkDdiSubmitCommand;
DXGKDDI_SUBMITCOMMANDVIRTUAL DxgkDdiSubmitCommandVirtual;
DXGKDDI_VALIDATESUBMITCOMMAND DxgkDdiValidateSubmitCommand;
DXGKDDI_CANCELCOMMAND DxgkDdiCancelCommand;
DXGKDDI_BUILDPAGINGBUFFER DxgkDdiBuildPagingBuffer;
DXGKDDI_RESETFROMTIMEOUT DxgkDdiResetFromTimeout;
DXGKDDI_RESTARTFROMTIMEOUT DxgkDdiRestartFromTimeout;
DXGKDDI_ESCAPE DxgkDdiEscape;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Calibration Section
DXGKDDI_EXCHANGEPRESTARTINFO DxgkDdiExchangePreStartInfo;
DXGKDDI_FORMATHISTORYBUFFER DxgkDdiFormatHistoryBuffer;
DXGKDDI_CONTROLDIAGNOSTICREPORTING DxgkDdiControlDiagnosticReporting;
DXGKDDI_COLLECTDIAGNOSTICINFO DxgkDdiCollectDiagnosticInfo;
DXGKDDI_CALIBRATEGPUCLOCK DxgkDdiCalibrateGpuClock;
DXGKDDI_CONTROLMODEBEHAVIOR DxgkDdiControlModeBehavior;
DXGKDDI_UPDATEMONITORLINKINFO DxgkDdiUpdateMonitorLinkInfo;
DXGKDDI_VALIDATEUPDATEALLOCATIONPROPERTY DxgkDdiValidateUpdateAllocationProperty;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Set Calibration Section
DXGKDDI_SETUPPRIORITYBANDS DxgkDdiSetupPriorityBands;
DXGKDDI_SETCONTEXTSCHEDULINGPROPERTIES DxgkDdiSetContextSchedulingProperties;
DXGKDDI_SETSCHEDULINGLOGBUFFER DxgkDdiSetSchedulingLogBuffer;
DXGKDDI_SETTARGETGAMMA DxgkDdiSetTargetGamma;
DXGKDDI_SETTARGETCONTENTTYPE DxgkDdiSetTargetContentType;
DXGKDDI_SETTARGETANALOGCOPYPROTECTION DxgkDdiSetTargetAnalogCopyProtection;
DXGKDDI_SETTARGETADJUSTEDCOLORIMETRY DxgkDdiSetTargetAdjustedColorimetry;
DXGKDDI_SETTARGETADJUSTEDCOLORIMETRY2 DxgkDdiSetTargetAdjustedColorimetry2;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Set Section
DXGKDDI_SETPALETTE DxgkDdiSetPalette;
DXGKDDI_SETPOINTERPOSITION DxgkDdiSetPointerPosition;
DXGKDDI_SETPOINTERSHAPE DxgkDdiSetPointerShape;
DXGKDDI_SET_POWER_STATE DxgkDdiSetPowerState;
DXGKDDISETPOWERPSTATE DxgkDdiSetPowerPState;
DXGKDDISETPOWERCOMPONENTFSTATE DxgkDdiSetPowerComponentFState;
DXGKDDI_SETSTABLEPOWERSTATE DxgkDdiSetStablePowerState;
DXGKDDI_SETTRACKEDWORKLOADPOWERLEVEL DxgkDdiSetTrackedWorkloadPowerLevel;
DXGKDDI_SETDISPLAYPRIVATEDRIVERFORMAT DxgkDdiSetDisplayPrivateDriverFormat;
DXGKDDI_SETVIDEOPROTECTEDREGION DxgkDdiSetVideoProtectedRegion;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Get Section
DXGKDDI_GETSCANLINE DxgkDdiGetScanLine;
DXGKDDI_GETNODEMETADATA DxgkDdiGetNodeMetadata;
DXGKDDI_GET_CHILD_CONTAINER_ID DxgkDdiGetChildContainerId;
DXGKDDI_GETPOSTCOMPOSITIONCAPS DxgkDdiGetPostCompositionCaps;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Notify Section
DXGKDDI_NOTIFY_ACPI_EVENT DxgkDdiNotifyAcpiEvent;
DXGKDDI_NOTIFYFOCUSPRESENT DxgkDdiNotifyFocusPresent;
DXGKDDI_NOTIFY_SURPRISE_REMOVAL DxgkDdiNotifySurpriseRemoval;
DXGKDDIPOWERRUNTIMECONTROLREQUEST DxgkDdiPowerRuntimeControlRequest;
DXGKDDI_POWERRUNTIMESETDEVICEHANDLE DxgkDdiPowerRuntimeSetDeviceHandle;
DXGKDDI_CREATEPERIODICFRAMENOTIFICATION DxgkDdiCreatePeriodicFrameNotification;
DXGKDDI_DESTROYPERIODICFRAMENOTIFICATION DxgkDdiDestroyPeriodicFrameNotification;
DXGKDDI_SIGNALMONITOREDFENCE DxgkDdiSignalMonitoredFence;
DXGKDDI_DISPLAYDETECTCONTROL DxgkDdiDisplayDetectControl;
DXGKDDI_RECOMMENDMONITORMODES DxgkDdiRecommendMonitorModes;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Query Section
DXGKDDI_QUERY_INTERFACE DxgkDdiQueryInterface;
DXGKDDI_QUERYADAPTERINFO DxgkDdiQueryAdapterInfo;
DXGKDDI_QUERYCURRENTFENCE DxgkDdiQueryCurrentFence;
DXGKDDI_QUERY_DEVICE_DESCRIPTOR DxgkDdiQueryDeviceDescriptor;
DXGKDDI_QUERYVIDPNHWCAPABILITY DxgkDdiQueryVidPnHWCapability;
DXGKDDI_QUERY_CHILD_RELATIONS DxgkDdiQueryChildRelations;
DXGKDDI_QUERY_CHILD_STATUS DxgkDdiQueryChildStatus;
DXGKDDI_QUERYCONNECTIONCHANGE DxgkDdiQueryConnectionChange;
DXGKDDI_QUERYDIAGNOSTICTYPESSUPPORT DxgkDdiQueryDiagnosticTypesSupport;
DXGKDDI_QUERYDEPENDENTENGINEGROUP DxgkDdiQueryDependentEngineGroup;
DXGKDDI_QUERYENGINESTATUS DxgkDdiQueryEngineStatus;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Video Present Network (VidPn) Section
DXGKDDI_COMMITVIDPN DxgkDdiCommitVidPn;
DXGKDDI_ISSUPPORTEDVIDPN DxgkDdiIsSupportedVidPn;
DXGKDDI_ENUMVIDPNCOFUNCMODALITY DxgkDdiEnumVidPnCofuncModality;
DXGKDDI_RECOMMENDFUNCTIONALVIDPN DxgkDdiRecommendFunctionalVidPn;
DXGKDDI_GETMULTIPLANEOVERLAYCAPS DxgkDdiGetMultiPlaneOverlayCaps;
DXGKDDI_POSTMULTIPLANEOVERLAYPRESENT DxgkDdiPostMultiPlaneOverlayPresent;
DXGKDDI_CHECKMULTIPLANEOVERLAYSUPPORT DxgkDdiCheckMultiPlaneOverlaySupport;
DXGKDDI_CHECKMULTIPLANEOVERLAYSUPPORT2 DxgkDdiCheckMultiPlaneOverlaySupport2;
DXGKDDI_CHECKMULTIPLANEOVERLAYSUPPORT3 DxgkDdiCheckMultiPlaneOverlaySupport3;
DXGKDDI_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay;
DXGKDDI_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY2 DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay2;
DXGKDDI_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY3 DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay3;
DXGKDDI_SETVIDPNSOURCEADDRESS DxgkDdiSetVidPnSourceAddress;
DXGKDDI_SETVIDPNSOURCEVISIBILITY DxgkDdiSetVidPnSourceVisibility;
DXGKDDI_SETTIMINGSFROMVIDPN DxgkDdiSetTimingsFromVidPn;
DXGKDDI_UPDATEACTIVEVIDPNPRESENTPATH DxgkDdiUpdateActiveVidPnPresentPath;
DXGKDDI_RECOMMENDVIDPNTOPOLOGY DxgkDdiRecommendVidPnTopology;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Engine Section
DXGKDDI_RESETENGINE DxgkDdiResetEngine;
DXGKDDI_RESUMEHWENGINE DxgkDdiResumeHwEngine;
DXGKDDI_RESETHWENGINE DxgkDdiResetHwEngine;
DXGKDDI_CREATEPROCESS DxgkDdiCreateProcess;
DXGKDDI_DESTROYPROCESS DxgkDdiDestroyProcess;
DXGKDDI_STOPCAPTURE DxgkDdiStopCapture;
DXGKDDI_STOP_DEVICE_AND_RELEASE_POST_DISPLAY_OWNERSHIP DxgkDdiStopDeviceAndReleasePostDisplayOwnership;
DXGKDDI_SYSTEM_DISPLAY_ENABLE DxgkDdiSystemDisplayEnable;
DXGKDDI_SYSTEM_DISPLAY_WRITE DxgkDdiSystemDisplayWrite;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Interrupt Section
DXGKDDI_DPC_ROUTINE DxgkDdiDpcRoutine;
DXGKDDI_INTERRUPT_ROUTINE DxgkDdiInterruptRoutine;
DXGKDDI_DISPATCH_IO_REQUEST DxgkDdiDispatchIoRequest;
DXGKDDI_CONTROLINTERRUPT DxgkDdiControlInterrupt;
DXGKDDI_CONTROLINTERRUPT2 DxgkDdiControlInterrupt2;
DXGKDDI_CONTROLINTERRUPT3 DxgkDdiControlInterrupt3;
DXGKDDI_CONTROL_ETW_LOGGING DxgkDdiControlEtwLogging;
DXGKDDI_COLLECTDBGINFO DxgkDdiCollectDbgInfo;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Allocation Section
DXGKDDI_GETSTANDARDALLOCATIONDRIVERDATA DxgkDdiGetStandardAllocationDriverData;
DXGKDDI_DESCRIBEALLOCATION DxgkDdiDescribeAllocation;
DXGKDDI_CREATEALLOCATION DxgkDdiCreateAllocation;
PVOID DxgkDdiCreateAllocation2;
DXGKDDI_OPENALLOCATIONINFO DxgkDdiOpenAllocation;
DXGKDDI_CLOSEALLOCATION DxgkDdiCloseAllocation;
DXGKDDI_DESTROYALLOCATION DxgkDdiDestroyAllocation;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Context Section
DXGKDDI_CREATECONTEXT DxgkDdiCreateContext;
DXGKDDI_SUSPENDCONTEXT DxgkDdiSuspendContext;
DXGKDDI_RESUMECONTEXT DxgkDdiResumeContext;
DXGKDDI_DESTROYCONTEXT DxgkDdiDestroyContext;
DXGKDDI_CREATEHWCONTEXT DxgkDdiCreateHwContext;
DXGKDDI_DESTROYHWCONTEXT DxgkDdiDestroyHwContext;
DXGKDDI_CREATEHWQUEUE DxgkDdiCreateHwQueue;
DXGKDDI_PRESENTTOHWQUEUE DxgkDdiPresentToHwQueue;
DXGKDDI_UPDATEHWCONTEXTSTATE DxgkDdiUpdateHwContextState;
DXGKDDI_SUBMITCOMMANDTOHWQUEUE DxgkDdiSubmitCommandToHwQueue;
DXGKDDI_SWITCHTOHWCONTEXTLIST DxgkDdiSwitchToHwContextList;
DXGKDDI_DESTROYHWQUEUE DxgkDdiDestroyHwQueue;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Overlay Section
DXGKDDI_CREATEOVERLAY DxgkDdiCreateOverlay;
DXGKDDI_UPDATEOVERLAY DxgkDdiUpdateOverlay;
DXGKDDI_FLIPOVERLAY DxgkDdiFlipOverlay;
DXGKDDI_DESTROYOVERLAY DxgkDdiDestroyOverlay;
DXGKDDI_MAPCPUHOSTAPERTURE DxgkDdiMapCpuHostAperture;
DXGKDDI_UNMAPCPUHOSTAPERTURE DxgkDdiUnmapCpuHostAperture;
DXGKDDI_ACQUIRESWIZZLINGRANGE DxgkDdiAcquireSwizzlingRange;
DXGKDDI_RELEASESWIZZLINGRANGE DxgkDdiReleaseSwizzlingRange;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Exclusive Section
DXGKDDI_CREATEPROTECTEDSESSION DxgkDdiCreateProtectedSession;
DXGKDDI_DESTROYPROTECTEDSESSION DxgkDdiDestroyProtectedSession;
DXGKDDI_SETVIRTUALMACHINEDATA DxgkDdiSetVirtualMachineData;
DXGKDDI_BEGINEXCLUSIVEACCESS DxgkDdiBeginExclusiveAccess;
DXGKDDI_ENDEXCLUSIVEACCESS DxgkDdiEndExclusiveAccess;
DXGKDDI_SAVEMEMORYFORHOTUPDATE DxgkDdiSaveMemoryForHotUpdate;
DXGKDDI_RESTOREMEMORYFORHOTUPDATE DxgkDdiRestoreMemoryForHotUpdate;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#pragma region //Reserved Section
DXGKDDI_SETROOTPAGETABLE DxgkDdiSetRootPageTable;
DXGKDDI_GETROOTPAGETABLESIZE DxgkDdiGetRootPageTableSize;
PVOID DxgkDdiDescribePageTable;
PVOID DxgkDdiUpdatePageTable;
PVOID DxgkDdiUpdatePageDirectory;
PVOID DxgkDdiMovePageDirectory;
PVOID Reserved;
PVOID Reserved1;
PVOID Reserved2;
PVOID Reserved3;
#pragma endregion
//--------------------------------------------------------------------------------------------------------
#endif//DISPLAY_H