ReactOS  0.4.14-dev-55-g2da92ac
video.h
Go to the documentation of this file.
1 /*
2  * video.h
3  *
4  * Video port and miniport driver interface
5  *
6  * This file is part of the w32api package.
7  *
8  * Contributors:
9  * Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
10  *
11  * THIS SOFTWARE IS NOT COPYRIGHTED
12  *
13  * This source code is offered for use in the public domain. You may
14  * use, modify or distribute it freely.
15  *
16  * This code is distributed in the hope that it will be useful but
17  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18  * DISCLAIMED. This includes but is not limited to warranties of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20  *
21  */
22 
23 #pragma once
24 
25 #define __VIDEO_H__
26 
27 #include "ntddvdeo.h"
28 #include "videoagp.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 #ifndef _NTOSDEF_
35 
36 #ifdef PAGED_CODE
37 #undef PAGED_CODE
38 #endif
39 
40 #if defined(_MSC_VER)
41 #define ALLOC_PRAGMA 1
42 #endif
43 
44 #if defined(_VIDEOPORT_)
45 #define VPAPI
46 #else
47 #define VPAPI DECLSPEC_IMPORT
48 #endif
49 
50 #if DBG
51 #define PAGED_CODE() \
52  if (VideoPortGetCurrentIrql() > 1 /* APC_LEVEL */) { \
53  VideoPortDebugPrint(Error, "Video: Pageable code called at IRQL %d\n", VideoPortGetCurrentIrql() ); \
54  ASSERT(FALSE); \
55  }
56 #else
57 #define PAGED_CODE()
58 #endif /* DBG */
59 
60 ULONG
61 NTAPI
64  PVOID Context2);
65 
66 #else
67 
68 #define VPAPI
69 
70 #endif /* _NTOSDEF_ */
71 
72 #if DBG
73 #define VideoDebugPrint(x) VideoPortDebugPrint x
74 #else
75 #define VideoDebugPrint(x)
76 #endif
77 
78 #define GET_VIDEO_PHYSICAL_ADDRESS(scatterList, \
79  VirtualAddress, \
80  InputBuffer, \
81  pLength, \
82  Address) \
83  do { \
84  ULONG_PTR byteOffset; \
85  \
86  byteOffset = (PCHAR) VirtualAddress - (PCHAR)InputBuffer; \
87  while (byteOffset >= scatterList->Length) { \
88  byteOffset -= scatterList->Length; \
89  scatterList++; \
90  } \
91  *pLength = scatterList->Length - byteOffset; \
92  Address = (ULONG_PTR) (scatterList->PhysicalAddress + byteOffset); \
93  } while (0)
94 
95 #define GET_VIDEO_SCATTERGATHER(ppDma) (**(PVRB_SG **)ppDma)
96 
97 /* VIDEO_ACCESS_RANGE.RangePassive */
98 #define VIDEO_RANGE_PASSIVE_DECODE 1
99 #define VIDEO_RANGE_10_BIT_DECODE 2
100 
101 #define SIZE_OF_NT4_VIDEO_PORT_CONFIG_INFO FIELD_OFFSET(VIDEO_PORT_CONFIG_INFO, Master)
102 #define SIZE_OF_WXP_VIDEO_PORT_CONFIG_INFO sizeof(VIDEO_PORT_CONFIG_INFO)
103 
104 #define SET_USER_EVENT 0x01
105 #define SET_DISPLAY_EVENT 0x02
106 
107 #define EVENT_TYPE_MASK 1
108 #define SYNCHRONIZATION_EVENT 0
109 #define NOTIFICATION_EVENT 1
110 
111 #define INITIAL_EVENT_STATE_MASK 2
112 #define INITIAL_EVENT_NOT_SIGNALED 0
113 #define INITIAL_EVENT_SIGNALED 2
114 
115 #define DISPLAY_ADAPTER_HW_ID 0xFFFFFFFF
116 
117 #define VIDEO_INVALID_CHILD_ID 0xFFFFFFFF
118 
119 #define SIZE_OF_NT4_VIDEO_HW_INITIALIZATION_DATA FIELD_OFFSET(VIDEO_HW_INITIALIZATION_DATA, HwStartDma)
120 #define SIZE_OF_W2K_VIDEO_HW_INITIALIZATION_DATA FIELD_OFFSET(VIDEO_HW_INITIALIZATION_DATA, Reserved)
121 #define SIZE_OF_WXP_VIDEO_HW_INITIALIZATION_DATA (SIZE_OF_W2K_VIDEO_HW_INITIALIZATION_DATA + sizeof(ULONG))
122 
123 #define VIDEO_PORT_AGP_INTERFACE_VERSION_1 1
124 #define VIDEO_PORT_AGP_INTERFACE_VERSION_2 2
125 #define VIDEO_PORT_I2C_INTERFACE_VERSION_1 1
126 #define VIDEO_PORT_I2C_INTERFACE_VERSION_2 2
127 #define VIDEO_PORT_INT10_INTERFACE_VERSION_1 1
128 #define VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE_VERSION_1 1
129 #define VIDEO_PORT_DEBUG_REPORT_INTERFACE_VERSION_1 1
130 
131 /* Flags for VideoPortGetDeviceBase and VideoPortMapMemory */
132 #define VIDEO_MEMORY_SPACE_MEMORY 0x00
133 #define VIDEO_MEMORY_SPACE_IO 0x01
134 #define VIDEO_MEMORY_SPACE_USER_MODE 0x02
135 #define VIDEO_MEMORY_SPACE_DENSE 0x04
136 #define VIDEO_MEMORY_SPACE_P6CACHE 0x08
137 
138 /* PVIDEO_HW_GET_CHILD_DESCRIPTOR return values */
139 #define VIDEO_ENUM_MORE_DEVICES ERROR_CONTINUE
140 #define VIDEO_ENUM_NO_MORE_DEVICES ERROR_NO_MORE_DEVICES
141 #define VIDEO_ENUM_INVALID_DEVICE ERROR_INVALID_NAME
142 
143 #define DEVICE_VGA_ENABLED 1
144 
145 /* VideoPortCheckForDeviceExistence.Flags constants */
146 #define CDE_USE_SUBSYSTEM_IDS 0x00000001
147 #define CDE_USE_REVISION 0x00000002
148 
149 #define BUGCHECK_DATA_SIZE_RESERVED 48
150 
151 #define VIDEO_DEBUG_REPORT_MAX_SIZE 0x8000
152 
155 
156 typedef struct _VIDEO_PORT_SPIN_LOCK *PSPIN_LOCK;
157 typedef struct _VIDEO_DEBUG_REPORT *PVIDEO_DEBUG_REPORT;
158 typedef struct __DMA_PARAMETERS *PDMA;
159 typedef struct __VP_DMA_ADAPTER *PVP_DMA_ADAPTER;
160 
161 typedef PVOID
163  IN PVOID HwDeviceExtension,
165 
166 typedef struct _VIDEO_PORT_CONFIG_INFO {
197 
198 typedef VP_STATUS
200  IN PVOID HwDeviceExtension,
202  IN PWSTR ArgumentString,
203  IN OUT PVIDEO_PORT_CONFIG_INFO ConfigInfo,
204  OUT PUCHAR Again);
205 
206 typedef BOOLEAN
208  IN PVOID HwDeviceExtension);
209 
210 typedef BOOLEAN
212  IN PVOID HwDeviceExtension);
213 
214 typedef struct _VIDEO_ACCESS_RANGE {
222 
223 typedef VOID
225  IN ULONG VendorId,
226  IN ULONG DeviceId,
227  IN OUT PVIDEO_ACCESS_RANGE *LegacyResourceList,
228  IN OUT PULONG LegacyResourceCount);
229 
230 typedef enum _HW_DMA_RETURN {
234 
235 typedef HW_DMA_RETURN
237  PVOID HwDeviceExtension,
238  PDMA pDma);
239 
245 
246 typedef struct _VP_SCATTER_GATHER_LIST {
251 
252 typedef VOID
254  IN PVOID HwDeviceExtension,
255  IN PVP_DMA_ADAPTER VpDmaAdapter,
257  IN PVOID Context);
258 
259 /* PVIDEO_HW_GET_CHILD_DESCRIPTOR.ChildEnumInfo constants */
260 typedef struct _VIDEO_CHILD_ENUM_INFO {
267 
268 /* PVIDEO_HW_GET_CHILD_DESCRIPTOR.VideoChildType constants */
269 typedef enum _VIDEO_CHILD_TYPE {
270  Monitor = 1,
275 
276 typedef VP_STATUS
278  IN PVOID HwDeviceExtension,
279  IN PVIDEO_CHILD_ENUM_INFO ChildEnumInfo,
280  OUT PVIDEO_CHILD_TYPE VideoChildType,
281  OUT PUCHAR pChildDescriptor,
282  OUT PULONG UId,
283  OUT PULONG pUnused);
284 
285 typedef VP_STATUS
287  IN PVOID HwDeviceExtension,
288  IN ULONG HwId,
289  IN PVIDEO_POWER_MANAGEMENT VideoPowerControl);
290 
291 typedef VP_STATUS
293  IN PVOID HwDeviceExtension,
294  IN ULONG HwId,
295  IN OUT PVIDEO_POWER_MANAGEMENT VideoPowerControl);
296 
297 typedef struct _QUERY_INTERFACE {
304 
305 typedef VP_STATUS
307  IN PVOID HwDeviceExtension,
309 
310 typedef VP_STATUS
312  PVOID HwDeviceExtension,
313  PVOID ChildDeviceExtension);
314 
315 typedef BOOLEAN
317  IN PVOID HwDeviceExtension,
318  IN ULONG Columns,
319  IN ULONG Rows);
320 
321 typedef struct _STATUS_BLOCK {
322  _ANONYMOUS_UNION union {
325  } DUMMYUNIONNAME;
328 
329 typedef struct _VIDEO_REQUEST_PACKET {
337 
338 typedef BOOLEAN
340  IN PVOID HwDeviceExtension,
341  IN PVIDEO_REQUEST_PACKET RequestPacket);
342 
343 typedef VOID
345  IN PVOID HwDeviceExtension);
346 
347 typedef VOID
349  PVOID HwDeviceExtension,
350  UCHAR Data);
351 
352 typedef VOID
354  PVOID HwDeviceExtension,
355  UCHAR Data);
356 
357 typedef BOOLEAN
359  PVOID HwDeviceExtension);
360 
361 typedef BOOLEAN
363  PVOID HwDeviceExtension);
364 
365 typedef VOID
367  PVOID HwDeviceExtension);
368 
369 typedef struct _I2C_CALLBACKS {
375 
376 typedef BOOLEAN
378  IN PVOID HwDeviceExtension,
379  IN PI2C_CALLBACKS I2CCallbacks);
380 
381 typedef BOOLEAN
383  IN PVOID HwDeviceExtension,
384  IN PI2C_CALLBACKS I2CCallbacks);
385 
386 typedef BOOLEAN
388  IN PVOID HwDeviceExtension,
389  IN PI2C_CALLBACKS I2CCallbacks,
390  IN PUCHAR Buffer,
391  IN ULONG Length);
392 
393 typedef BOOLEAN
395  IN PVOID HwDeviceExtension,
396  IN PI2C_CALLBACKS I2CCallbacks,
397  OUT PUCHAR Buffer,
398  IN ULONG Length);
399 
400 typedef struct _VIDEO_I2C_CONTROL {
407 
408 typedef BOOLEAN
410  IN PVOID HwDeviceExtension,
411  IN PVIDEO_I2C_CONTROL I2CControl);
412 
413 typedef BOOLEAN
415  IN PVOID HwDeviceExtension,
416  IN PVIDEO_I2C_CONTROL I2CControl);
417 
418 typedef BOOLEAN
420  IN PVOID HwDeviceExtension,
421  IN PVIDEO_I2C_CONTROL I2CControl,
422  IN PUCHAR Buffer,
423  IN ULONG Length);
424 
425 typedef BOOLEAN
427  IN PVOID HwDeviceExtension,
428  IN PVIDEO_I2C_CONTROL I2CControl,
429  OUT PUCHAR Buffer,
430  IN ULONG Length,
431  IN BOOLEAN EndOfRead);
432 
433 typedef struct _INT10_BIOS_ARGUMENTS {
444 
445 typedef VP_STATUS
447  IN PVOID Context,
448  IN OUT PINT10_BIOS_ARGUMENTS BiosArguments);
449 
450 typedef VP_STATUS
452  IN PVOID Context,
453  OUT PUSHORT Seg,
454  OUT PUSHORT Off,
455  IN OUT PULONG Length);
456 
457 typedef VP_STATUS
459  IN PVOID Context,
460  IN USHORT Seg,
461  IN USHORT Off);
462 
463 typedef VP_STATUS
465  IN PVOID Context,
466  IN USHORT Seg,
467  IN USHORT Off,
468  OUT PVOID Buffer,
469  IN ULONG Length);
470 
471 typedef VP_STATUS
473  IN PVOID Context,
474  IN USHORT Seg,
475  IN USHORT Off,
476  IN PVOID Buffer,
477  IN ULONG Length);
478 
479 typedef VP_STATUS
481  IN PVOID Context,
482  IN PVOID HwDeviceExtension);
483 
484 typedef VP_STATUS
486  IN PVOID Context,
487  IN PVOID HwDeviceExtension);
488 
496 
497 typedef VP_STATUS
499  IN PVOID HwDeviceExtension,
500  IN PVOID Context,
501  IN VIDEO_DEVICE_DATA_TYPE DeviceDataType,
502  IN PVOID Identifier,
503  IN ULONG IdentifierLength,
504  IN PVOID ConfigurationData,
505  IN ULONG ConfigurationDataLength,
506  IN OUT PVOID ComponentInformation,
507  IN ULONG ComponentInformationLength);
508 
509 typedef VP_STATUS
511  IN PVOID HwDeviceExtension,
512  IN PVOID Context,
516 
517 typedef VOID
519  IN PVOID HwDeviceExtension,
520  IN PVOID Context);
521 
522 typedef BOOLEAN
524  IN PVOID Context);
525 
526 typedef VOID
528  IN PVOID HwDeviceExtension,
529  IN ULONG BugcheckCode,
530  IN PUCHAR Buffer,
532 
533 /* VideoPortSynchronizeExecution.Priority constants */
539 
540 /* VideoPortAllocatePool.PoolType constants */
541 typedef enum _VP_POOL_TYPE {
547 
548 typedef enum _DMA_FLAGS {
552 } DMA_FLAGS;
553 
568 
578 
579 typedef enum VIDEO_DEBUG_LEVEL {
580  Error = 0,
585 
586 #ifndef _NTOS_
587 
588 typedef VP_STATUS
591  IN ULONG Port,
593  IN PUCHAR Data);
594 
595 typedef VP_STATUS
598  IN ULONG Port,
600  IN PUCHAR Data,
602 
603 typedef VP_STATUS
606  IN ULONG Port,
608  IN PULONG Data);
609 
610 typedef VP_STATUS
613  IN ULONG Port,
615  IN PULONG Data,
617 
618 typedef VP_STATUS
621  IN ULONG Port,
623  IN PUSHORT Data);
624 
625 typedef VP_STATUS
628  IN ULONG Port,
630  IN PUSHORT Data,
632 
633 #endif /* _NTOS_ */
634 
635 typedef struct __VRB_SG {
638 } VRB_SG, *PVRB_SG;
639 
640 typedef enum _VP_LOCK_OPERATION {
645 
646 typedef struct _VP_DEVICE_DESCRIPTION {
652 
653 typedef struct _VIDEO_CHILD_STATE {
657 
662 
686 
687 typedef struct _I2C_FNC_TABLE {
696 
697 typedef struct _DDC_CONTROL {
702 
703 /* VideoPortQueryServices.ServicesType constants */
704 typedef enum _VIDEO_PORT_SERVICES {
712 
729 
747 
759 
771 
784 
794 
795 typedef struct _VPOSVERSIONINFO {
803 
811  IN PVOID HwDeviceExtension,
812  IN ULONG ulCode,
813  IN ULONG_PTR ulpArg1,
814  IN ULONG_PTR ulpArg2,
815  IN ULONG_PTR ulpArg3,
816  IN ULONG_PTR ulpArg4
817  );
819  IN OUT PVIDEO_DEBUG_REPORT pReport,
820  IN PVOID pvData,
821  IN ULONG ulDataSize
822  );
824  IN OUT PVIDEO_DEBUG_REPORT pReport
825  );
827 
828 /* Video port functions for miniports */
829 
830 VPAPI
831 VP_STATUS
832 NTAPI
834  IN PVOID HwDeviceExtension,
835  IN ULONG Size,
836  OUT PVOID *Buffer);
837 
838 VPAPI
839 VOID
840 NTAPI
842  IN PVOID HwDeviceExtension);
843 
844 VPAPI
845 ULONG
846 NTAPI
848  IN PVOID Source1,
849  IN PVOID Source2,
850  IN SIZE_T Length);
851 
852 VPAPI
853 BOOLEAN
854 NTAPI
856  IN PVOID HwDeviceExtension,
857  IN PVOID DDCControl,
858  IN OUT PUCHAR EdidBuffer,
859  IN ULONG EdidBufferSize);
860 
861 VPAPI
862 VOID
863 __cdecl
865  IN VIDEO_DEBUG_LEVEL DebugPrintLevel,
866  IN PSTR DebugMessage,
867  IN ...);
868 
869 VPAPI
870 VP_STATUS
871 NTAPI
873  IN PVOID HwDeviceExtension);
874 
875 VPAPI
876 VP_STATUS
877 NTAPI
879  IN PVOID HwDeviceExtension);
880 
881 VPAPI
882 VP_STATUS
883 NTAPI
885  IN PVOID HwDeviceExtension,
886  IN PVOID Reserved);
887 
888 VPAPI
889 VOID
890 NTAPI
892  IN PVOID HwDeviceExtension,
893  IN PVOID MappedAddress);
894 
895 VPAPI
896 VP_STATUS
897 NTAPI
899  IN PVOID HwDeviceExtension,
900  IN ULONG NumRequestedResources,
901  IN PIO_RESOURCE_DESCRIPTOR RequestedResources OPTIONAL,
902  IN ULONG NumAccessRanges,
903  OUT PVIDEO_ACCESS_RANGE AccessRanges,
904  IN PVOID VendorId,
905  IN PVOID DeviceId,
906  OUT PULONG Slot);
907 
908 VPAPI
909 PVOID
910 NTAPI
913 
914 VPAPI
915 ULONG
916 NTAPI
918  IN PVOID HwDeviceExtension,
919  IN BUS_DATA_TYPE BusDataType,
921  IN OUT PVOID Buffer,
922  IN ULONG Offset,
923  IN ULONG Length);
924 
925 VPAPI
926 UCHAR
927 NTAPI
929 
930 VPAPI
931 PVOID
932 NTAPI
934  IN PVOID HwDeviceExtension,
935  IN PHYSICAL_ADDRESS IoAddress,
936  IN ULONG NumberOfUchars,
937  IN UCHAR InIoSpace);
938 
939 VPAPI
940 VP_STATUS
941 NTAPI
943  IN PVOID HwDeviceExtension,
944  IN VIDEO_DEVICE_DATA_TYPE DeviceDataType,
946  IN PVOID Context);
947 
948 VPAPI
949 VP_STATUS
950 NTAPI
952  IN PVOID HwDeviceExtension,
954  IN UCHAR IsParameterFileName,
956  IN PVOID Context);
957 
958 VPAPI
959 PVOID
960 NTAPI
962  IN PVOID HwDeviceExtension,
963  IN PVOID Unused1,
964  IN ULONG Unused2,
965  IN ULONG Length);
966 
967 VPAPI
968 VP_STATUS
969 NTAPI
971  IN PVOID HwDeviceExtension,
972  OUT PULONG VgaStatus);
973 
974 VPAPI
975 LONG
976 FASTCALL
978  IN PLONG Addend);
979 
980 VPAPI
981 LONG
982 FASTCALL
984  IN OUT PLONG Target,
985  IN LONG Value);
986 
987 VPAPI
988 LONG
989 FASTCALL
991  IN PLONG Addend);
992 
993 VPAPI
994 ULONG
995 NTAPI
1000  IN PVOID HwContext);
1001 
1002 VPAPI
1003 VP_STATUS
1004 NTAPI
1006  IN PVOID HwDeviceExtension,
1007  IN PVIDEO_X86_BIOS_ARGUMENTS BiosArguments);
1008 
1009 VPAPI
1010 VOID
1011 NTAPI
1013  IN PVOID HwDeviceExtension,
1016  IN ULONG UniqueId);
1017 
1018 VPAPI
1019 VP_STATUS
1020 NTAPI
1022  IN PVOID HwDeviceExtension,
1024  IN OUT PULONG Length,
1025  PULONG InIoSpace,
1027  ULONG BankLength,
1028  UCHAR ReadWriteBank,
1029  PBANKED_SECTION_ROUTINE BankRoutine,
1030  PVOID Context);
1031 
1032 VPAPI
1033 VP_STATUS
1034 NTAPI
1036  IN PVOID HwDeviceExtension,
1038  IN OUT PULONG Length,
1039  IN PULONG InIoSpace,
1041 
1042 VPAPI
1043 VOID
1044 NTAPI
1047  IN PVOID Source,
1048  IN ULONG Length);
1049 
1050 VPAPI
1051 LONGLONG
1052 NTAPI
1054  IN PVOID HwDeviceExtension,
1055  OUT PLONGLONG PerformanceFrequency OPTIONAL);
1056 
1057 VPAPI
1058 VP_STATUS
1059 NTAPI
1061  IN PVOID HwDeviceExtension,
1062  IN VIDEO_PORT_SERVICES ServicesType,
1064 
1065 VPAPI
1066 BOOLEAN
1067 NTAPI
1069  IN PVOID HwDeviceExtension,
1071  IN PVOID Context);
1072 
1073 VPAPI
1074 VOID
1075 NTAPI
1077  IN PUCHAR Port,
1078  OUT PUCHAR Buffer,
1079  IN ULONG Count);
1080 
1081 VPAPI
1082 VOID
1083 NTAPI
1085  IN PULONG Port,
1086  OUT PULONG Buffer,
1087  IN ULONG Count);
1088 
1089 VPAPI
1090 VOID
1091 NTAPI
1093  IN PUSHORT Port,
1094  OUT PUSHORT Buffer,
1095  IN ULONG Count);
1096 
1097 VPAPI
1098 UCHAR
1099 NTAPI
1101  IN PUCHAR Port);
1102 
1103 VPAPI
1104 ULONG
1105 NTAPI
1107  IN PULONG Port);
1108 
1109 VPAPI
1110 USHORT
1111 NTAPI
1113  IN PUSHORT Port);
1114 
1115 VPAPI
1116 VOID
1117 NTAPI
1119  IN PUCHAR Register,
1120  OUT PUCHAR Buffer,
1121  IN ULONG Count);
1122 
1123 VPAPI
1124 VOID
1125 NTAPI
1127  IN PULONG Register,
1128  OUT PULONG Buffer,
1129  IN ULONG Count);
1130 
1131 VPAPI
1132 VOID
1133 NTAPI
1135  IN PUSHORT Register,
1136  OUT PUSHORT Buffer,
1137  IN ULONG Count);
1138 
1139 VPAPI
1140 UCHAR
1141 NTAPI
1143  IN PUCHAR Register);
1144 
1145 VPAPI
1146 ULONG
1147 NTAPI
1149  IN PULONG Register);
1150 
1151 VPAPI
1152 USHORT
1153 NTAPI
1155  IN PUSHORT Register);
1156 
1157 VPAPI
1158 VOID
1159 NTAPI
1161  IN PVOID HwDeviceExtension,
1162  IN PVOID Buffer);
1163 
1164 VPAPI
1165 VOID
1166 NTAPI
1168  IN PVOID HwDeviceExtension);
1169 
1170 VPAPI
1171 BOOLEAN
1172 NTAPI
1174  PVOID HwDeviceExtension,
1175  PUCHAR RomBase,
1176  ULONG RomLength,
1177  PUCHAR String);
1178 
1179 VPAPI
1180 ULONG
1181 NTAPI
1183  IN PVOID HwDeviceExtension,
1184  IN BUS_DATA_TYPE BusDataType,
1186  IN PVOID Buffer,
1187  IN ULONG Offset,
1188  IN ULONG Length);
1189 
1190 VPAPI
1191 VP_STATUS
1192 NTAPI
1194  IN PVOID HwDeviceExtension,
1195  IN PWSTR ValueName,
1196  IN PVOID ValueData,
1197  IN ULONG ValueLength);
1198 
1199 VPAPI
1200 VP_STATUS
1201 NTAPI
1203  IN PVOID HwDeviceExtension,
1204  IN ULONG NumAccessRanges,
1205  IN PVIDEO_ACCESS_RANGE AccessRange);
1206 
1207 VPAPI
1208 VOID
1209 NTAPI
1211  IN ULONG Microseconds);
1212 
1213 VPAPI
1214 VOID
1215 NTAPI
1217  IN PVOID HwDeviceExtension);
1218 
1219 VPAPI
1220 VOID
1221 NTAPI
1223  IN PVOID HwDeviceExtension);
1224 
1225 VPAPI
1226 BOOLEAN
1227 NTAPI
1229  IN PVOID HwDeviceExtension,
1232  IN PVOID Context);
1233 
1234 VPAPI
1235 VP_STATUS
1236 NTAPI
1238  IN PVOID HwDeviceExtension,
1241 
1242 VPAPI
1243 VP_STATUS
1244 NTAPI
1246  IN PVOID HwDeviceExtension,
1247  IN ULONG NumAccessRanges,
1248  IN PVIDEO_ACCESS_RANGE AccessRanges);
1249 
1250 VPAPI
1251 VOID
1252 NTAPI
1254  IN PUCHAR Port,
1255  IN PUCHAR Buffer,
1256  IN ULONG Count);
1257 
1258 VPAPI
1259 VOID
1260 NTAPI
1262  IN PULONG Port,
1263  IN PULONG Buffer,
1264  IN ULONG Count);
1265 
1266 VPAPI
1267 VOID
1268 NTAPI
1270  IN PUSHORT Port,
1271  IN PUSHORT Buffer,
1272  IN ULONG Count);
1273 
1274 VPAPI
1275 VOID
1276 NTAPI
1278  IN PUCHAR Port,
1279  IN UCHAR Value);
1280 
1281 VPAPI
1282 VOID
1283 NTAPI
1285  IN PULONG Port,
1286  IN ULONG Value);
1287 
1288 VPAPI
1289 VOID
1290 NTAPI
1292  IN PUSHORT Port,
1293  IN USHORT Value);
1294 
1295 VPAPI
1296 VOID
1297 NTAPI
1299  IN PUCHAR Register,
1300  IN PUCHAR Buffer,
1301  IN ULONG Count);
1302 
1303 VPAPI
1304 VOID
1305 NTAPI
1307  IN PULONG Register,
1308  IN PULONG Buffer,
1309  IN ULONG Count);
1310 
1311 VPAPI
1312 VOID
1313 NTAPI
1315  IN PUSHORT Register,
1316  IN PUSHORT Buffer,
1317  IN ULONG Count);
1318 
1319 VPAPI
1320 VOID
1321 NTAPI
1323  IN PUCHAR Register,
1324  IN UCHAR Value);
1325 
1326 VPAPI
1327 VOID
1328 NTAPI
1330  IN PULONG Register,
1331  IN ULONG Value);
1332 
1333 VPAPI
1334 VOID
1335 NTAPI
1337  IN PUSHORT Register,
1338  IN USHORT Value);
1339 
1340 VPAPI
1341 VOID
1342 NTAPI
1345  IN ULONG Length);
1346 
1347 VPAPI
1348 VOID
1349 NTAPI
1352  IN ULONG Length);
1353 
1354 VPAPI
1355 PVOID
1356 NTAPI
1358  IN PVOID HwDeviceExtension,
1361 
1362 VPAPI
1363 PVOID
1364 NTAPI
1366  IN PVOID HwDeviceExtension,
1367  IN ULONG DesiredLength,
1368  IN ULONG Alignment,
1369  OUT PPHYSICAL_ADDRESS LogicalAddress,
1370  OUT PULONG pActualLength,
1371  IN BOOLEAN CacheEnabled);
1372 
1373 VPAPI
1374 VOID
1375 NTAPI
1377  IN PVOID HwDeviceExtension,
1378  IN ULONG Length,
1380  IN PHYSICAL_ADDRESS LogicalAddress,
1381  IN BOOLEAN CacheEnabled);
1382 
1383 VPAPI
1384 PDMA
1385 NTAPI
1387  IN PVOID HwDeviceExtension,
1388  IN PDMA pDma,
1389  IN DMA_FLAGS DmaFlags);
1390 
1391 VPAPI
1392 BOOLEAN
1393 NTAPI
1395  IN PVOID HwDeviceExtension,
1397  IN OUT PEVENT pUEvent,
1398  IN PEVENT pDisplayEvent,
1399  IN DMA_FLAGS DmaFlags);
1400 
1401 VPAPI
1402 BOOLEAN
1403 NTAPI
1405  IN PVOID hwDeviceExtension,
1406  IN OUT PDMA pDma);
1407 
1408 VPAPI
1409 BOOLEAN
1410 NTAPI
1412  IN PVOID HwDeviceExtension,
1413  IN PDMA pDmaHandle);
1414 
1415 VPAPI
1416 PVOID
1417 NTAPI
1419  IN PVOID HwDeviceExtension,
1420  IN PDMA pDma);
1421 
1422 VPAPI
1423 PVOID
1424 NTAPI
1426  IN PVOID HwDeviceExtension,
1427  IN PDMA pDma);
1428 
1429 VPAPI
1430 VOID
1431 NTAPI
1433  IN PVOID HwDeviceExtension,
1434  OUT PDMA pDma,
1435  IN PVOID InstanceContext);
1436 
1437 VPAPI
1438 ULONG
1439 NTAPI
1441  IN PVOID HwDeviceExtension,
1442  IN PDMA pDma);
1443 
1444 VPAPI
1445 VOID
1446 NTAPI
1448  IN PVOID HwDeviceExtension,
1449  IN OUT PDMA pDma,
1450  IN ULONG BytesUsed);
1451 
1452 VPAPI
1453 PDMA
1454 NTAPI
1456  IN PVOID HwDeviceExtension,
1458  IN PVOID MappedUserEvent,
1459  IN PVOID DisplayDriverEvent);
1460 
1461 VPAPI
1462 PDMA
1463 NTAPI
1465  IN PVOID HwDeviceExtension,
1467  IN PHYSICAL_ADDRESS BoardAddress,
1468  IN PULONG Length,
1469  IN PULONG InIoSpace,
1470  IN PVOID MappedUserEvent,
1471  IN PVOID DisplayDriverEvent,
1473 
1474 VPAPI
1475 BOOLEAN
1476 NTAPI
1478  IN PVOID HwDeviceExtension,
1481  IN PDMA BoardMemoryHandle);
1482 
1483 VPAPI
1484 VP_STATUS
1485 NTAPI
1487  IN PVOID HwDeviceExtension,
1488  IN OUT PVOID *SecondaryDeviceExtension,
1489  IN ULONG ulFlag);
1490 
1491 VPAPI
1493 NTAPI
1495  IN PVOID HwDeviceExtension,
1496  IN PVP_DEVICE_DESCRIPTION VpDeviceDescription);
1497 
1498 VPAPI
1499 VOID
1500 NTAPI
1502  IN PVOID HwDeviceExtension,
1503  IN PVP_DMA_ADAPTER VpDmaAdapter);
1504 
1505 VPAPI
1506 PVOID
1507 NTAPI
1509  IN PVOID HwDeviceExtension,
1510  IN PVP_DMA_ADAPTER VpDmaAdapter,
1511  IN ULONG DesiredLength,
1512  OUT PPHYSICAL_ADDRESS LogicalAddress,
1513  IN BOOLEAN CacheEnabled,
1514  PVOID Reserved);
1515 
1516 VPAPI
1517 VOID
1518 NTAPI
1520  IN PVOID HwDeviceExtension,
1521  IN PVP_DMA_ADAPTER VpDmaAdapter,
1522  IN ULONG Length,
1523  IN PHYSICAL_ADDRESS LogicalAddress,
1525  IN BOOLEAN CacheEnabled);
1526 
1527 VPAPI
1528 PVOID
1529 NTAPI
1531  IN PVOID HwDeviceExtension,
1533  IN ULONG Length,
1535 
1536 VPAPI
1537 VOID
1538 NTAPI
1540  IN PVOID HwDeviceExtension,
1541  IN PVOID Mdl);
1542 
1543 VPAPI
1544 VP_STATUS
1545 NTAPI
1547  IN PVOID HwDeviceExtension,
1548  IN PVP_DMA_ADAPTER VpDmaAdapter,
1549  IN PVOID Mdl,
1550  IN ULONG Offset,
1551  IN OUT PULONG pLength,
1552  IN PEXECUTE_DMA ExecuteDmaRoutine,
1553  IN PVOID Context,
1554  IN BOOLEAN WriteToDevice);
1555 
1556 VPAPI
1557 VP_STATUS
1558 NTAPI
1560  IN PVOID HwDeviceExtension,
1561  IN PVP_DMA_ADAPTER VpDmaAdapter,
1562  IN PVP_SCATTER_GATHER_LIST VpScatterGather,
1563  IN BOOLEAN WriteToDevice);
1564 
1565 VPAPI
1566 VP_STATUS
1567 NTAPI
1569  IN PVOID HwDeviceExtension,
1570  IN ULONG EventFlag,
1571  IN PVOID Unused,
1572  OUT PEVENT *ppEvent);
1573 
1574 VPAPI
1575 VP_STATUS
1576 NTAPI
1578  IN PVOID HwDeviceExtension,
1579  IN PEVENT pEvent);
1580 
1581 VPAPI
1582 LONG
1583 NTAPI
1585  IN PVOID HwDeviceExtension,
1586  IN PEVENT pEvent);
1587 
1588 VPAPI
1589 VOID
1590 NTAPI
1592  IN PVOID HwDeviceExtension,
1593  IN PEVENT pEvent);
1594 
1595 VPAPI
1596 LONG
1597 NTAPI
1599  IN PVOID HwDeviceExtension,
1600  IN PEVENT pEvent);
1601 
1602 VPAPI
1603 VP_STATUS
1604 NTAPI
1606  IN PVOID HwDeviceExtension,
1607  IN PVOID Object,
1609 
1610 VPAPI
1611 PVOID
1612 NTAPI
1614  IN PVOID HwDeviceExtension,
1617  IN ULONG Tag);
1618 
1619 VPAPI
1620 VOID
1621 NTAPI
1623  IN PVOID HwDeviceExtension,
1624  IN PVOID Ptr);
1625 
1626 VPAPI
1627 VP_STATUS
1628 NTAPI
1630  IN PVOID HwDeviceExtension,
1632 
1633 VPAPI
1634 VP_STATUS
1635 NTAPI
1637  IN PVOID HwDeviceExtension,
1639 
1640 VPAPI
1641 VOID
1642 NTAPI
1644  IN PVOID HwDeviceExtension,
1646  OUT PUCHAR OldIrql);
1647 
1648 VPAPI
1649 VOID
1650 NTAPI
1652  IN PVOID HwDeviceExtension,
1654 
1655 VPAPI
1656 VOID
1657 NTAPI
1659  IN PVOID HwDeviceExtension,
1661  IN UCHAR NewIrql);
1662 
1663 VPAPI
1664 VOID
1665 NTAPI
1667  IN PVOID HwDeviceExtension,
1669 
1670 VPAPI
1671 VOID
1672 NTAPI
1674  OUT PLARGE_INTEGER CurrentTime);
1675 
1676 VPAPI
1677 BOOLEAN
1678 NTAPI
1680  IN PVOID HwDeviceExtension,
1681  IN USHORT VendorId,
1682  IN USHORT DeviceId,
1683  IN UCHAR RevisionId,
1684  IN USHORT SubVendorId,
1685  IN USHORT SubSystemId,
1686  IN ULONG Flags);
1687 
1688 VPAPI
1689 ULONG
1690 NTAPI
1693 
1694 VPAPI
1695 VP_STATUS
1696 NTAPI
1698  PVOID HwDeviceExtension);
1699 
1700 VPAPI
1701 VP_STATUS
1702 NTAPI
1704  IN PVOID HwDeviceExtension,
1705  IN OUT PVPOSVERSIONINFO pVpOsVersionInfo);
1706 
1707 VPAPI
1708 BOOLEAN
1709 NTAPI
1711 
1712 VPAPI
1713 VP_STATUS
1714 NTAPI
1716  IN PVOID HwDeviceExtension,
1717  IN ULONG BugcheckCode,
1719  IN ULONG BugcheckDataSize);
1720 
1721 VPAPI
1723 NTAPI
1725  IN PVOID HwDeviceExtension,
1726  IN ULONG ulCode,
1727  IN ULONG_PTR ulpArg1,
1728  IN ULONG_PTR ulpArg2,
1729  IN ULONG_PTR ulpArg3,
1730  IN ULONG_PTR ulpArg4);
1731 
1732 VPAPI
1733 BOOLEAN
1734 NTAPI
1736  IN OUT PVIDEO_DEBUG_REPORT pReport,
1737  IN PVOID pvData,
1738  IN ULONG ulDataSize);
1739 
1740 VPAPI
1741 VOID
1742 NTAPI
1744  IN OUT PVIDEO_DEBUG_REPORT pReport);
1745 
1746 #ifdef __cplusplus
1747 }
1748 #endif
VPAPI ULONG NTAPI VideoPortReadPortUlong(IN PULONG Port)
VOID(NTAPI * PAGP_FREE_PHYSICAL)(IN PVOID HwDeviceExtension, IN PVOID PhysicalReserveContext, IN ULONG Pages, IN ULONG Offset)
Definition: videoagp.h:57
OUT PINTERFACE_REFERENCE InterfaceReference
Definition: video.h:808
struct _VP_SCATTER_GATHER_ELEMENT * PVP_SCATTER_GATHER_ELEMENT
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
enum VIDEO_DEBUG_LEVEL * PVIDEO_DEBUG_LEVEL
Definition: video.h:583
VPAPI PVOID NTAPI VideoPortGetRomImage(IN PVOID HwDeviceExtension, IN PVOID Unused1, IN ULONG Unused2, IN ULONG Length)
Definition: videoprt.c:844
CPPORT Port[4]
Definition: headless.c:34
_Must_inspect_result_ typedef _In_ PVOID Unused
Definition: iotypes.h:1129
OUT ULONGLONG AgpAllocationLimit
Definition: video.h:744
VPAPI VP_STATUS NTAPI VideoPortQueryServices(IN PVOID HwDeviceExtension, IN VIDEO_PORT_SERVICES ServicesType, IN OUT PINTERFACE Interface)
Definition: services.c:40
struct _VIDEO_PORT_AGP_INTERFACE * PVIDEO_PORT_AGP_INTERFACE
PINTERFACE_REFERENCE InterfaceReference
Definition: video.h:752
#define IN
Definition: typedefs.h:38
OUT PINTERFACE_REFERENCE InterfaceReference
Definition: video.h:789
VPAPI VP_STATUS NTAPI VideoPortEnableInterrupt(IN PVOID HwDeviceExtension)
Definition: interrupt.c:116
VOID(NTAPI * PAGP_RELEASE_VIRTUAL)(IN PVOID HwDeviceExtension, IN PVOID VirtualReserveContext)
Definition: videoagp.h:76
BOOLEAN(NTAPI * PVIDEO_HW_RESET_HW)(IN PVOID HwDeviceExtension, IN ULONG Columns, IN ULONG Rows)
Definition: video.h:316
PVIDEO_HW_START_DMA HwStartDma
Definition: video.h:674
_In_ NDIS_ERROR_CODE ErrorCode
Definition: ndis.h:4436
VP_STATUS(NTAPI * PINT10_WRITE_MEMORY)(IN PVOID Context, IN USHORT Seg, IN USHORT Off, IN PVOID Buffer, IN ULONG Length)
Definition: video.h:472
VPAPI PDMA NTAPI VideoPortDoDma(IN PVOID HwDeviceExtension, IN PDMA pDma, IN DMA_FLAGS DmaFlags)
Definition: dma.c:426
struct _INT10_BIOS_ARGUMENTS * PINT10_BIOS_ARGUMENTS
enum _INTERFACE_TYPE INTERFACE_TYPE
VPAPI ULONG NTAPI VideoPortSetBusData(IN PVOID HwDeviceExtension, IN BUS_DATA_TYPE BusDataType, IN ULONG SlotNumber, IN PVOID Buffer, IN ULONG Offset, IN ULONG Length)
Definition: resource.c:1099
PAGP_COMMIT_VIRTUAL AgpCommitVirtual
Definition: video.h:725
_IRQL_requires_same_ _In_opt_ PVOID Argument1
Definition: cmtypes.h:694
struct _VIDEO_DEBUG_REPORT * PVIDEO_DEBUG_REPORT
Definition: video.h:157
PVIDEO_HW_POWER_SET HwSetPowerState
Definition: video.h:675
#define __cdecl
Definition: accygwin.h:79
PAGP_COMMIT_PHYSICAL AgpCommitPhysical
Definition: video.h:721
struct _VIDEO_CHILD_ENUM_INFO * PVIDEO_CHILD_ENUM_INFO
BOOLEAN(NTAPI * PVIDEO_READ_DATA_LINE)(PVOID HwDeviceExtension)
Definition: video.h:362
PVIDEO_HW_GET_CHILD_DESCRIPTOR HwGetVideoChildDescriptor
Definition: video.h:677
VPAPI VOID NTAPI VideoPortReadPortBufferUlong(IN PULONG Port, OUT PULONG Buffer, IN ULONG Count)
VPAPI VOID NTAPI VideoPortWritePortUlong(IN PULONG Port, IN ULONG Value)
VOID(WINAPI * PINTERFACE_DEREFERENCE)(PVOID Context)
Definition: precomp.h:16
#define ANYSIZE_ARRAY
Definition: typedefs.h:45
VPAPI VOID NTAPI VideoPortWritePortBufferUshort(IN PUSHORT Port, IN PUSHORT Buffer, IN ULONG Count)
IN UCHAR EdidSegment
Definition: video.h:700
OUT PINTERFACE_DEREFERENCE InterfaceDereference
Definition: video.h:777
OUT PAGP_FREE_PHYSICAL AgpFreePhysical
Definition: video.h:739
USHORT Version
Definition: video.h:300
uint16_t * PWSTR
Definition: typedefs.h:54
VPAPI VP_STATUS NTAPI VideoPortCreateEvent(IN PVOID HwDeviceExtension, IN ULONG EventFlag, IN PVOID Unused, OUT PEVENT *ppEvent)
Definition: event.c:24
PAGP_FREE_VIRTUAL AgpFreeVirtual
Definition: video.h:726
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
enum _BUS_DATA_TYPE BUS_DATA_TYPE
UCHAR RangeVisible
Definition: video.h:218
struct _STATUS_BLOCK * PSTATUS_BLOCK
unsigned char * PUCHAR
Definition: retypes.h:3
VPAPI VOID NTAPI VideoPortWriteRegisterBufferUchar(IN PUCHAR Register, IN PUCHAR Buffer, IN ULONG Count)
OUT PI2C_WRITE_2 I2CWrite
Definition: video.h:768
BOOLEAN ScatterGather
Definition: video.h:647
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
OUT PAGP_FREE_VIRTUAL AgpFreeVirtual
Definition: video.h:743
ULONG NumEmulatorAccessEntries
Definition: video.h:173
VPAPI VOID NTAPI VideoPortFreeCommonBuffer(IN PVOID HwDeviceExtension, IN ULONG Length, IN PVOID VirtualAddress, IN PHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled)
Definition: dma.c:187
PAGP_RELEASE_PHYSICAL AgpReleasePhysical
Definition: video.h:720
BOOLEAN(NTAPI * PI2C_READ_2)(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl, OUT PUCHAR Buffer, IN ULONG Length, IN BOOLEAN EndOfRead)
Definition: video.h:426
PVOID Reserved
Definition: video.h:694
struct _VIDEO_PORT_AGP_INTERFACE_2 VIDEO_PORT_AGP_INTERFACE_2
_In_ KPRIORITY Priority
Definition: kefuncs.h:516
_Must_inspect_result_ _In_ PVOID _In_ struct _HW_INITIALIZATION_DATA _In_ PVOID HwContext
Definition: srb.h:664
UCHAR RangePassive
Definition: video.h:220
struct _VIDEO_PORT_I2C_INTERFACE_2 VIDEO_PORT_I2C_INTERFACE_2
PAGP_RELEASE_VIRTUAL AgpReleaseVirtual
Definition: video.h:724
VPAPI VOID NTAPI VideoPortReadRegisterBufferUlong(IN PULONG Register, OUT PULONG Buffer, IN ULONG Count)
VPAPI LONG NTAPI VideoPortReadStateEvent(IN PVOID HwDeviceExtension, IN PEVENT pEvent)
Definition: stubs.c:68
struct _VP_DEVICE_DESCRIPTION VP_DEVICE_DESCRIPTION
VPAPI VOID NTAPI VideoPortUnlockBuffer(IN PVOID HwDeviceExtension, IN PVOID Mdl)
Definition: resource.c:1033
OUT PAGP_SET_RATE AgpSetRate
Definition: video.h:745
enum _DMA_WIDTH DMA_WIDTH
struct _VIDEO_PORT_INT10_INTERFACE * PVIDEO_PORT_INT10_INTERFACE
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
INTERFACE_TYPE AdapterInterfaceType
Definition: video.h:665
struct _VP_SCATTER_GATHER_LIST * PVP_SCATTER_GATHER_LIST
ULONG MaximumTransferLength
Definition: video.h:189
struct _VIDEO_CHILD_ENUM_INFO VIDEO_CHILD_ENUM_INFO
ULONG ChildDescriptorSize
Definition: video.h:262
VPAPI VOID NTAPI VideoPortZeroDeviceMemory(IN PVOID Destination, IN ULONG Length)
VPAPI PDMA NTAPI VideoPortAssociateEventsWithDmaHandle(IN PVOID HwDeviceExtension, IN OUT PVIDEO_REQUEST_PACKET pVrp, IN PVOID MappedUserEvent, IN PVOID DisplayDriverEvent)
Definition: dma.c:439
ULONG NumberOfPhysicalBreaks
Definition: video.h:190
IN PVIDEO_WRITE_CLOCK_LINE WriteClockLine
Definition: video.h:401
static WCHAR String[]
Definition: stringtable.c:55
BOOLEAN Dma64BitAddresses
Definition: video.h:649
PINTERFACE_DEREFERENCE InterfaceDereference
Definition: video.h:718
VPAPI ULONG NTAPI VideoPortInitialize(IN PVOID Argument1, IN PVOID Argument2, IN PVIDEO_HW_INITIALIZATION_DATA HwInitializationData, IN PVOID HwContext)
Definition: videoprt.c:455
VP_STATUS(NTAPI * PVIDEO_HW_POWER_SET)(IN PVOID HwDeviceExtension, IN ULONG HwId, IN PVIDEO_POWER_MANAGEMENT VideoPowerControl)
Definition: video.h:286
PVIDEO_HW_POWER_GET HwGetPowerState
Definition: video.h:676
struct _I2C_FNC_TABLE * PI2C_FNC_TABLE
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
VPAPI BOOLEAN NTAPI VideoPortScanRom(PVOID HwDeviceExtension, PUCHAR RomBase, ULONG RomLength, PUCHAR String)
VPAPI PVOID NTAPI VideoPortGetMdl(IN PVOID HwDeviceExtension, IN PDMA pDma)
Definition: stubs.c:58
ULONG InputBufferLength
Definition: video.h:333
VPAPI PVOID NTAPI VideoPortAllocateContiguousMemory(IN PVOID HwDeviceExtension, IN ULONG NumberOfBytes, IN PHYSICAL_ADDRESS HighestAcceptableAddress)
Definition: videoprt.c:1382
VPAPI PVOID NTAPI VideoPortGetDeviceBase(IN PVOID HwDeviceExtension, IN PHYSICAL_ADDRESS IoAddress, IN ULONG NumberOfUchars, IN UCHAR InIoSpace)
Definition: resource.c:450
VPAPI ULONG NTAPI VideoPortGetAssociatedDeviceID(IN PVOID DeviceObject)
Definition: stubs.c:38
VPAPI VOID NTAPI VideoPortReleaseBuffer(IN PVOID HwDeviceExtension, IN PVOID Buffer)
Definition: resource.c:955
#define FASTCALL
Definition: nt_native.h:50
BOOLEAN(NTAPI * PMINIPORT_SYNCHRONIZE_ROUTINE)(IN PVOID Context)
Definition: video.h:523
struct _VIDEO_CHILD_STATE_CONFIGURATION VIDEO_CHILD_STATE_CONFIGURATION
VPAPI USHORT NTAPI VideoPortReadPortUshort(IN PUSHORT Port)
IN OUT PLONG Addend
Definition: CrNtStubs.h:22
struct _VIDEO_PORT_AGP_INTERFACE VIDEO_PORT_AGP_INTERFACE
VPAPI VOID NTAPI VideoPortZeroMemory(IN PVOID Destination, IN ULONG Length)
enum _HW_DMA_RETURN HW_DMA_RETURN
VPAPI PVIDEO_DEBUG_REPORT NTAPI VideoPortDbgReportCreate(IN PVOID HwDeviceExtension, IN ULONG ulCode, IN ULONG_PTR ulpArg1, IN ULONG_PTR ulpArg2, IN ULONG_PTR ulpArg3, IN ULONG_PTR ulpArg4)
IN I2C_CALLBACKS I2CCallbacks
Definition: video.h:699
PVIDEO_HW_START_IO HwStartIO
Definition: video.h:669
enum _VIDEO_DEVICE_DATA_TYPE * PVIDEO_DEVICE_DATA_TYPE
VPAPI PVOID NTAPI VideoPortGetCommonBuffer(IN PVOID HwDeviceExtension, IN ULONG DesiredLength, IN ULONG Alignment, OUT PPHYSICAL_ADDRESS LogicalAddress, OUT PULONG pActualLength, IN BOOLEAN CacheEnabled)
Definition: dma.c:215
struct _VIDEO_HW_INITIALIZATION_DATA * PVIDEO_HW_INITIALIZATION_DATA
struct _VP_SCATTER_GATHER_LIST VP_SCATTER_GATHER_LIST
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
VP_STATUS(NTAPI * PROTECT_WC_MEMORY)(IN PVOID Context, IN PVOID HwDeviceExtension)
Definition: video.h:480
VPAPI LONG FASTCALL VideoPortInterlockedDecrement(IN PLONG Addend)
Definition: stubs.c:110
uint32_t ULONG_PTR
Definition: typedefs.h:63
BOOLEAN(NTAPI * PVIDEO_HW_START_IO)(IN PVOID HwDeviceExtension, IN PVIDEO_REQUEST_PACKET RequestPacket)
Definition: video.h:339
OUT PINTERFACE_REFERENCE InterfaceReference
Definition: video.h:764
VPAPI VOID NTAPI VideoPortStartTimer(IN PVOID HwDeviceExtension)
Definition: timer.c:78
INTERFACE_TYPE AdapterInterfaceType
Definition: video.h:169
PI2C_WRITE I2CWrite
Definition: video.h:756
__GNU_EXTENSION typedef __int64 * PLONGLONG
Definition: ntbasedef.h:389
_Must_inspect_result_ _In_ PFLT_GET_OPERATION_STATUS_CALLBACK CallbackRoutine
Definition: fltkernel.h:1035
VOID(NTAPI * PAGP_RELEASE_PHYSICAL)(IN PVOID HwDeviceExtension, IN PVOID PhysicalReserveContext)
Definition: videoagp.h:71
_In_ PUNICODE_STRING ValueName
Definition: cmfuncs.h:264
OUT PINTERFACE_DEREFERENCE InterfaceDereference
Definition: video.h:765
VPAPI UCHAR NTAPI VideoPortReadPortUchar(IN PUCHAR Port)
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
enum _VP_POOL_TYPE * PVP_POOL_TYPE
struct _INT10_BIOS_ARGUMENTS INT10_BIOS_ARGUMENTS
OUT PAGP_RELEASE_PHYSICAL AgpReleasePhysical
Definition: video.h:737
VPAPI LONGLONG NTAPI VideoPortQueryPerformanceCounter(IN PVOID HwDeviceExtension, OUT PLONGLONG PerformanceFrequency OPTIONAL)
Definition: videoprt.c:1317
VPAPI ULONG NTAPI VideoPortGetBytesUsed(IN PVOID HwDeviceExtension, IN PDMA pDma)
Definition: stubs.c:48
struct _VIDEO_CHILD_STATE VIDEO_CHILD_STATE
VOID(NTAPI * PBANKED_SECTION_ROUTINE)(IN ULONG ReadBank, IN ULONG WriteBank, IN PVOID Context)
Definition: miniport.h:50
OUT PI2C_STOP_2 I2CStop
Definition: video.h:767
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
OUT PINT10_READ_MEMORY Int10ReadMemory
Definition: video.h:780
_DMA_FLAGS
Definition: video.h:548
struct _VIDEO_PORT_DEBUG_REPORT_INTERFACE VIDEO_PORT_DEBUG_REPORT_INTERFACE
struct _VPOSVERSIONINFO VPOSVERSIONINFO
ULONG MaximumScatterGatherChunkSize
Definition: video.h:192
VPAPI VP_STATUS NTAPI VideoPortWaitForSingleObject(IN PVOID HwDeviceExtension, IN PVOID Object, IN PLARGE_INTEGER Timeout OPTIONAL)
Definition: event.c:112
PEMULATOR_ACCESS_ENTRY EmulatorAccessEntries
Definition: video.h:174
long LONG
Definition: pedump.c:60
OUT PAGP_COMMIT_VIRTUAL AgpCommitVirtual
Definition: video.h:742
BOOLEAN(NTAPI * PVIDEO_HW_INITIALIZE)(IN PVOID HwDeviceExtension)
Definition: video.h:207
VPAPI PVOID NTAPI VideoPortAllocatePool(IN PVOID HwDeviceExtension, IN VP_POOL_TYPE PoolType, IN SIZE_T NumberOfBytes, IN ULONG Tag)
Definition: resource.c:913
OUT ULONG MajorVersion
Definition: video.h:797
PAGP_FREE_PHYSICAL AgpFreePhysical
Definition: video.h:722
BOOLEAN(NTAPI * PAGP_SET_RATE)(IN PVOID HwDeviceExtension, IN ULONG AgpRate)
Definition: videoagp.h:95
struct _VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE
short SHORT
Definition: pedump.c:59
VPAPI PVOID NTAPI VideoPortGetDmaContext(IN PVOID HwDeviceExtension, IN PDMA pDma)
Definition: dma.c:414
OUT PI2C_READ_2 I2CRead
Definition: video.h:769
VPAPI VOID NTAPI VideoPortReleaseCommonBuffer(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN ULONG Length, IN PHYSICAL_ADDRESS LogicalAddress, IN PVOID VirtualAddress, IN BOOLEAN CacheEnabled)
Definition: dma.c:68
VPAPI VP_STATUS NTAPI VideoPortCreateSecondaryDisplay(IN PVOID HwDeviceExtension, IN OUT PVOID *SecondaryDeviceExtension, IN ULONG ulFlag)
Definition: videoprt.c:1156
ULONG_PTR EmulatorAccessEntriesContext
Definition: video.h:175
_In_ PEPROCESS _In_ KPROCESSOR_MODE AccessMode
Definition: mmfuncs.h:396
VPAPI VOID NTAPI VideoPortPutDmaAdapter(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter)
Definition: dma.c:93
VPAPI VOID NTAPI VideoPortReleaseSpinLock(IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock, IN UCHAR NewIrql)
Definition: spinlock.c:90
VOID(NTAPI * PVIDEO_HW_TIMER)(IN PVOID HwDeviceExtension)
Definition: video.h:344
PINTERFACE_REFERENCE InterfaceReference
Definition: video.h:717
VP_STATUS(NTAPI * PDRIVER_IO_PORT_ULONG)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PULONG Data)
Definition: video.h:604
unsigned char BOOLEAN
ULONGLONG AgpAllocationLimit
Definition: video.h:727
struct _DDC_CONTROL * PDDC_CONTROL
BOOLEAN(NTAPI * PI2C_STOP_2)(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl)
Definition: video.h:414
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3748
struct _VIDEO_PORT_I2C_INTERFACE VIDEO_PORT_I2C_INTERFACE
VP_STATUS(NTAPI * PVIDEO_HW_CHILD_CALLBACK)(PVOID HwDeviceExtension, PVOID ChildDeviceExtension)
Definition: video.h:311
VPAPI VP_STATUS NTAPI VideoPortGetDeviceData(IN PVOID HwDeviceExtension, IN VIDEO_DEVICE_DATA_TYPE DeviceDataType, IN PMINIPORT_QUERY_DEVICE_ROUTINE CallbackRoutine, IN PVOID Context)
Definition: resource.c:897
PVIDEO_PORT_GET_PROC_ADDRESS VideoPortGetProcAddress
Definition: video.h:193
enum _KINTERRUPT_MODE KINTERRUPT_MODE
IN PVIDEO_READ_CLOCK_LINE ReadClockLine
Definition: video.h:372
struct _VIDEO_HW_INITIALIZATION_DATA VIDEO_HW_INITIALIZATION_DATA
BOOLEAN(NTAPI * PI2C_START)(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks)
Definition: video.h:377
_In_ ULONG Rows
Definition: haltypes.h:7
enum _VIDEO_PORT_SERVICES VIDEO_PORT_SERVICES
VPAPI VOID NTAPI VideoPortAcquireSpinLockAtDpcLevel(IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock)
Definition: spinlock.c:77
_In_ LPGUID _In_ PVOID Data
Definition: classpnp.h:778
IN PVIDEO_READ_DATA_LINE ReadDataLine
Definition: video.h:373
PHYSICAL_ADDRESS VdmPhysicalVideoMemoryAddress
Definition: video.h:176
PVIDEO_HW_QUERY_INTERFACE HwQueryInterface
Definition: video.h:678
IN PVIDEO_WRITE_DATA_LINE WriteDataLine
Definition: video.h:402
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
VPAPI VP_STATUS NTAPI VideoPortDisableInterrupt(IN PVOID HwDeviceExtension)
Definition: interrupt.c:154
BOOLEAN Dma32BitAddresses
Definition: video.h:648
Definition: bufpool.h:45
VPAPI BOOLEAN NTAPI VideoPortCheckForDeviceExistence(IN PVOID HwDeviceExtension, IN USHORT VendorId, IN USHORT DeviceId, IN UCHAR RevisionId, IN USHORT SubVendorId, IN USHORT SubSystemId, IN ULONG Flags)
Definition: videoprt.c:1241
VP_SCATTER_GATHER_ELEMENT Elements[0]
Definition: video.h:249
VPAPI VP_STATUS NTAPI VideoPortMapBankedMemory(IN PVOID HwDeviceExtension, IN PHYSICAL_ADDRESS PhysicalAddress, IN OUT PULONG Length, PULONG InIoSpace, PVOID *VirtualAddress, ULONG BankLength, UCHAR ReadWriteBank, PBANKED_SECTION_ROUTINE BankRoutine, PVOID Context)
void * PVOID
Definition: retypes.h:9
OUT PVIDEO_DEBUG_REPORT(* DbgReportCreate)(IN PVOID HwDeviceExtension, IN ULONG ulCode, IN ULONG_PTR ulpArg1, IN ULONG_PTR ulpArg2, IN ULONG_PTR ulpArg3, IN ULONG_PTR ulpArg4)
Definition: video.h:810
VP_STATUS(NTAPI * PMINIPORT_QUERY_DEVICE_ROUTINE)(IN PVOID HwDeviceExtension, IN PVOID Context, IN VIDEO_DEVICE_DATA_TYPE DeviceDataType, IN PVOID Identifier, IN ULONG IdentifierLength, IN PVOID ConfigurationData, IN ULONG ConfigurationDataLength, IN OUT PVOID ComponentInformation, IN ULONG ComponentInformationLength)
Definition: video.h:498
IN PVIDEO_WAIT_VSYNC_ACTIVE WaitVsync
Definition: video.h:693
VP_STATUS(NTAPI * RESTORE_WC_MEMORY)(IN PVOID Context, IN PVOID HwDeviceExtension)
Definition: video.h:485
_VP_POOL_TYPE
Definition: video.h:541
enum _VP_LOCK_OPERATION VP_LOCK_OPERATION
PVIDEO_HW_INITIALIZE HwInitialize
Definition: video.h:667
ULONG OutputBufferLength
Definition: video.h:335
_In_ PVOID Argument2
Definition: classpnp.h:680
VP_STATUS(NTAPI * PVIDEO_HW_FIND_ADAPTER)(IN PVOID HwDeviceExtension, IN PVOID HwContext, IN PWSTR ArgumentString, IN OUT PVIDEO_PORT_CONFIG_INFO ConfigInfo, OUT PUCHAR Again)
Definition: video.h:199
VPAPI VOID NTAPI VideoPortFreePool(IN PVOID HwDeviceExtension, IN PVOID Ptr)
Definition: resource.c:928
VPAPI VOID NTAPI VideoPortWritePortUshort(IN PUSHORT Port, IN USHORT Value)
PINTERFACE_DEREFERENCE InterfaceDereference
Definition: video.h:753
VPAPI VP_STATUS NTAPI VideoPortInt10(IN PVOID HwDeviceExtension, IN PVIDEO_X86_BIOS_ARGUMENTS BiosArguments)
Definition: int10.c:389
int64_t LONGLONG
Definition: typedefs.h:66
IN PVOID IN PVOID IN USHORT IN USHORT IN PINTERFACE Interface
Definition: pci.h:359
ULONGLONG SystemMemorySize
Definition: video.h:195
OUT USHORT ServicePackMajor
Definition: video.h:800
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition: mmfuncs.h:404
IN PVIDEO_READ_DATA_LINE ReadDataLine
Definition: video.h:404
VPAPI VP_STATUS NTAPI VideoPortDeleteSpinLock(IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock)
Definition: spinlock.c:49
BOOLEAN NeedPhysicalAddresses
Definition: video.h:187
VPAPI LONG FASTCALL VideoPortInterlockedExchange(IN OUT PLONG Target, IN LONG Value)
Definition: stubs.c:126
VPAPI ULONG NTAPI VideoPortReadRegisterUlong(IN PULONG Register)
VP_STATUS(NTAPI * PMINIPORT_GET_REGISTRY_ROUTINE)(IN PVOID HwDeviceExtension, IN PVOID Context, IN OUT PWSTR ValueName, IN OUT PVOID ValueData, IN ULONG ValueLength)
Definition: video.h:510
VPAPI VP_STATUS NTAPI VideoPortAllocateBuffer(IN PVOID HwDeviceExtension, IN ULONG Size, OUT PVOID *Buffer)
Definition: resource.c:940
OUT BOOLEAN(* DbgReportSecondaryData)(IN OUT PVIDEO_DEBUG_REPORT pReport, IN PVOID pvData, IN ULONG ulDataSize)
Definition: video.h:818
IN PVIDEO_READ_DATA_LINE ReadDataLine
Definition: video.h:692
VPAPI PVOID NTAPI VideoPortGetAssociatedDeviceExtension(IN PVOID DeviceObject)
Definition: videoprt.c:1186
VPAPI VP_STATUS NTAPI VideoPortMapMemory(IN PVOID HwDeviceExtension, IN PHYSICAL_ADDRESS PhysicalAddress, IN OUT PULONG Length, IN PULONG InIoSpace, IN OUT PVOID *VirtualAddress)
_In_ PKSYNCHRONIZE_ROUTINE SynchronizeRoutine
Definition: kefuncs.h:549
_VIDEO_PORT_SERVICES
Definition: video.h:704
VPAPI BOOLEAN NTAPI VideoPortSynchronizeExecution(IN PVOID HwDeviceExtension, IN VIDEO_SYNCHRONIZE_PRIORITY Priority, IN PMINIPORT_SYNCHRONIZE_ROUTINE SynchronizeRoutine, IN PVOID Context)
VPAPI VOID NTAPI VideoPortWritePortBufferUlong(IN PULONG Port, IN PULONG Buffer, IN ULONG Count)
struct __VP_DMA_ADAPTER * PVP_DMA_ADAPTER
Definition: video.h:159
IN PVIDEO_WRITE_CLOCK_LINE WriteClockLine
Definition: video.h:370
struct _VIDEO_PORT_I2C_INTERFACE * PVIDEO_PORT_I2C_INTERFACE
PVIDEO_HW_FIND_ADAPTER HwFindAdapter
Definition: video.h:666
uint64_t ULONGLONG
Definition: typedefs.h:65
VPAPI VP_STATUS NTAPI VideoPortDeleteEvent(IN PVOID HwDeviceExtension, IN PEVENT pEvent)
Definition: event.c:70
PVOID(NTAPI * PAGP_COMMIT_VIRTUAL)(IN PVOID HwDeviceExtension, IN PVOID VirtualReserveContext, IN ULONG Pages, IN ULONG Offset)
Definition: videoagp.h:50
Definition: video.h:581
PVOID Pointer
Definition: video.h:324
struct _VIDEO_ACCESS_RANGE * PVIDEO_ACCESS_RANGE
Definition: video.h:273
VP_STATUS(NTAPI * PDRIVER_IO_PORT_ULONG_STRING)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PULONG Data, IN ULONG DataLength)
Definition: video.h:611
VPAPI VP_STATUS NTAPI VideoPortCompleteDma(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN PVP_SCATTER_GATHER_LIST VpScatterGather, IN BOOLEAN WriteToDevice)
Definition: dma.c:453
OUT PI2C_START_2 I2CStart
Definition: video.h:766
enum VIDEO_SYNCHRONIZE_PRIORITY * PVIDEO_SYNCHRONIZE_PRIORITY
OUT PAGP_COMMIT_PHYSICAL AgpCommitPhysical
Definition: video.h:738
_In_ GUID _In_ PVOID ValueData
Definition: hubbusif.h:311
#define BufferSize
Definition: classpnp.h:419
OUT PINTERFACE_DEREFERENCE InterfaceDereference
Definition: video.h:790
enum _VIDEO_CHILD_TYPE VIDEO_CHILD_TYPE
OUT PINT10_ALLOCATE_BUFFER Int10AllocateBuffer
Definition: video.h:778
VPAPI VOID NTAPI VideoPortReadRegisterBufferUshort(IN PUSHORT Register, OUT PUSHORT Buffer, IN ULONG Count)
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition: rtlfuncs.h:2891
PAGP_RESERVE_VIRTUAL AgpReserveVirtual
Definition: video.h:723
VPAPI VOID NTAPI VideoPortStallExecution(IN ULONG Microseconds)
VOID(NTAPI * PVIDEO_WRITE_CLOCK_LINE)(PVOID HwDeviceExtension, UCHAR Data)
Definition: video.h:348
UCHAR RangeInIoSpace
Definition: video.h:217
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
_Must_inspect_result_ typedef _In_ ULONG _In_ BOOLEAN Target
Definition: iotypes.h:1068
VPAPI UCHAR NTAPI VideoPortGetCurrentIrql(VOID)
Definition: videoprt.c:693
OUT ULONG MinorVersion
Definition: video.h:798
static IUnknown Object
Definition: main.c:512
struct _DDC_CONTROL DDC_CONTROL
IN PVIDEO_WRITE_DATA_LINE WriteDataLine
Definition: video.h:371
_VP_LOCK_OPERATION
Definition: video.h:640
VPAPI ULONG NTAPI VideoPortCompareMemory(IN PVOID Source1, IN PVOID Source2, IN SIZE_T Length)
VP_STATUS Status
Definition: video.h:323
struct _VIDEO_REQUEST_PACKET VIDEO_REQUEST_PACKET
struct _VIDEO_PORT_CONFIG_INFO VIDEO_PORT_CONFIG_INFO
struct _I2C_FNC_TABLE I2C_FNC_TABLE
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG _In_ ULONG SlotNumber
Definition: halfuncs.h:156
UCHAR RangeShareable
Definition: video.h:219
BOOLEAN ScatterGather
Definition: video.h:191
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1061
unsigned char UCHAR
Definition: xmlstorage.h:181
OUT USHORT ServicePackMinor
Definition: video.h:801
VPAPI VOID NTAPI VideoPortReleaseDeviceLock(IN PVOID HwDeviceExtension)
Definition: videoprt.c:1352
BOOLEAN(NTAPI * PI2C_START_2)(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl)
Definition: video.h:409
struct _VPOSVERSIONINFO * PVPOSVERSIONINFO
VPAPI VOID NTAPI VideoPortSetBytesUsed(IN PVOID HwDeviceExtension, IN OUT PDMA pDma, IN ULONG BytesUsed)
Definition: stubs.c:78
struct _VIDEO_PORT_I2C_INTERFACE_2 * PVIDEO_PORT_I2C_INTERFACE_2
BOOLEAN(NTAPI * PI2C_WRITE)(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks, IN PUCHAR Buffer, IN ULONG Length)
Definition: video.h:387
UCHAR InterruptShareable
Definition: video.h:182
struct _I2C_CALLBACKS * PI2C_CALLBACKS
struct _VIDEO_X86_BIOS_ARGUMENTS * PVIDEO_X86_BIOS_ARGUMENTS
struct _VIDEO_I2C_CONTROL VIDEO_I2C_CONTROL
__int64 PhysicalAddress
Definition: video.h:636
VIDEO_SYNCHRONIZE_PRIORITY
Definition: video.h:534
VPAPI VOID NTAPI VideoPortWriteRegisterUshort(IN PUSHORT Register, IN USHORT Value)
struct _VIDEO_PORT_INT10_INTERFACE VIDEO_PORT_INT10_INTERFACE
PWSTR DriverRegistryPath
Definition: video.h:194
PVIDEO_HW_RESET_HW HwResetHw
Definition: video.h:672
VPAPI UCHAR NTAPI VideoPortReadRegisterUchar(IN PUCHAR Register)
VPAPI VOID NTAPI VideoPortSetDmaContext(IN PVOID HwDeviceExtension, OUT PDMA pDma, IN PVOID InstanceContext)
Definition: dma.c:302
VOID(NTAPI * PMINIPORT_DPC_ROUTINE)(IN PVOID HwDeviceExtension, IN PVOID Context)
Definition: video.h:518
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:803
DMA_SPEED DmaSpeed
Definition: video.h:185
IN ULONG Size
Definition: video.h:796
ULONG Length
Definition: video.h:637
_In_ GUID _In_ PVOID _In_ ULONG ValueLength
Definition: hubbusif.h:311
VP_STATUS(NTAPI * PDRIVER_IO_PORT_UCHAR_STRING)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUCHAR Data, IN ULONG DataLength)
Definition: video.h:596
#define VOID
Definition: acefi.h:82
VPAPI LONG FASTCALL VideoPortInterlockedIncrement(IN PLONG Addend)
Definition: stubs.c:118
_Out_ PNDIS_HANDLE _Out_ PUINT _In_ PNDIS_STRING _In_ NDIS_PHYSICAL_ADDRESS HighestAcceptableAddress
Definition: ndis.h:3227
#define VPAPI
Definition: video.h:47
struct _VIDEO_I2C_CONTROL * PVIDEO_I2C_CONTROL
PI2C_START I2CStart
Definition: video.h:754
PVIDEO_HW_INTERRUPT HwInterrupt
Definition: video.h:668
IN PVIDEO_WRITE_DATA_LINE WriteDataLine
Definition: video.h:690
DMA_WIDTH DmaWidth
Definition: video.h:184
struct _QUERY_INTERFACE * PQUERY_INTERFACE
struct _VIDEO_X86_BIOS_ARGUMENTS VIDEO_X86_BIOS_ARGUMENTS
ULONG_PTR Reserved
Definition: video.h:248
_In_ ULONG _In_ BOOLEAN _Must_inspect_result_ PVOID * VirtualAddress
Definition: ndis.h:3791
VPAPI VP_STATUS NTAPI VideoPortUnmapMemory(IN PVOID HwDeviceExtension, IN OUT PVOID VirtualAddress, IN HANDLE ProcessHandle)
OUT PINTERFACE_DEREFERENCE InterfaceDereference
Definition: video.h:809
IN PVIDEO_WRITE_CLOCK_LINE WriteClockLine
Definition: video.h:689
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
struct _VIDEO_HARDWARE_CONFIGURATION_DATA * PVIDEO_HARDWARE_CONFIGURATION_DATA
VPAPI VOID NTAPI VideoPortReleaseSpinLockFromDpcLevel(IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock)
Definition: spinlock.c:104
VPAPI VP_STATUS NTAPI VideoPortSetTrappedEmulatorPorts(IN PVOID HwDeviceExtension, IN ULONG NumAccessRanges, IN PVIDEO_ACCESS_RANGE AccessRange)
Definition: resource.c:1049
BOOLEAN(NTAPI * PAGP_COMMIT_PHYSICAL)(IN PVOID HwDeviceExtension, IN PVOID PhysicalReserveContext, IN ULONG Pages, IN ULONG Offset)
Definition: videoagp.h:43
OUT PINTERFACE_REFERENCE InterfaceReference
Definition: video.h:734
VP_STATUS(NTAPI * PINT10_ALLOCATE_BUFFER)(IN PVOID Context, OUT PUSHORT Seg, OUT PUSHORT Off, IN OUT PULONG Length)
Definition: video.h:451
struct _VIDEO_CHILD_STATE * PVIDEO_CHILD_STATE
PINTERFACE Interface
Definition: video.h:301
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT _In_ PTDI_PNP_CONTEXT Context2
Definition: tdikrnl.h:1094
enum _VP_POOL_TYPE VP_POOL_TYPE
enum _DMA_SPEED DMA_SPEED
_VIDEO_DEVICE_DATA_TYPE
Definition: video.h:489
HW_DMA_RETURN(NTAPI * PVIDEO_HW_START_DMA)(PVOID HwDeviceExtension, PDMA pDma)
Definition: video.h:236
IN PVIDEO_READ_CLOCK_LINE ReadClockLine
Definition: video.h:403
struct __VRB_SG VRB_SG
VPAPI USHORT NTAPI VideoPortReadRegisterUshort(IN PUSHORT Register)
VP_STATUS(NTAPI * PINT10_READ_MEMORY)(IN PVOID Context, IN USHORT Seg, IN USHORT Off, OUT PVOID Buffer, IN ULONG Length)
Definition: video.h:464
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1560
ULONG_PTR SIZE_T
Definition: typedefs.h:78
VP_STATUS(NTAPI * PDRIVER_IO_PORT_USHORT)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUSHORT Data)
Definition: video.h:619
VPAPI BOOLEAN NTAPI VideoPortIsNoVesa(VOID)
Definition: videoprt.c:1397
IN ULONG Size
Definition: video.h:688
VPAPI BOOLEAN NTAPI VideoPortLockPages(IN PVOID HwDeviceExtension, IN OUT PVIDEO_REQUEST_PACKET pVrp, IN OUT PEVENT pUEvent, IN PEVENT pDisplayEvent, IN DMA_FLAGS DmaFlags)
VPAPI VOID NTAPI VideoPortMoveMemory(IN PVOID Destination, IN PVOID Source, IN ULONG Length)
VPAPI VOID NTAPI VideoPortAcquireDeviceLock(IN PVOID HwDeviceExtension)
Definition: videoprt.c:1333
static const COLUMN_LIST Columns[]
Definition: listview.c:19
struct __VRB_SG * PVRB_SG
VOID(NTAPI * PVIDEO_BUGCHECK_CALLBACK)(IN PVOID HwDeviceExtension, IN ULONG BugcheckCode, IN PUCHAR Buffer, IN ULONG BufferSize)
Definition: video.h:527
VP_STATUS(NTAPI * PDRIVER_IO_PORT_USHORT_STRING)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUSHORT Data, IN ULONG DataLength)
Definition: video.h:626
static ULONG Timeout
Definition: ping.c:61
VPAPI VP_STATUS NTAPI VideoPortGetVgaStatus(IN PVOID HwDeviceExtension, OUT PULONG VgaStatus)
Definition: videoprt.c:816
Definition: video.h:270
OUT PAGP_RELEASE_VIRTUAL AgpReleaseVirtual
Definition: video.h:741
VOID(NTAPI * PVIDEO_WAIT_VSYNC_ACTIVE)(PVOID HwDeviceExtension)
Definition: video.h:366
PHYSICAL_ADDRESS(NTAPI * PAGP_RESERVE_PHYSICAL)(IN PVOID HwDeviceExtension, IN ULONG Pages, IN VIDEO_PORT_CACHE_TYPE Caching, OUT PVOID *PhysicalReserveContext)
Definition: videoagp.h:81
OUT RESTORE_WC_MEMORY VideoPortRestoreWCMemory
Definition: video.h:792
VOID(NTAPI * PVIDEO_WRITE_DATA_LINE)(PVOID HwDeviceExtension, UCHAR Data)
Definition: video.h:353
BOOLEAN(NTAPI * PI2C_WRITE_2)(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl, IN PUCHAR Buffer, IN ULONG Length)
Definition: video.h:419
struct _VIDEO_PORT_SPIN_LOCK * PSPIN_LOCK
Definition: video.h:156
VPAPI VOID NTAPI VideoPortQuerySystemTime(OUT PLARGE_INTEGER CurrentTime)
VPAPI VOID NTAPI VideoPortClearEvent(IN PVOID HwDeviceExtension, IN PEVENT pEvent)
Definition: event.c:101
VPAPI VOID NTAPI VideoPortLogError(IN PVOID HwDeviceExtension, IN PVIDEO_REQUEST_PACKET Vrp OPTIONAL, IN VP_STATUS ErrorCode, IN ULONG UniqueId)
Definition: videoprt.c:674
VPAPI VOID NTAPI VideoPortStopTimer(IN PVOID HwDeviceExtension)
Definition: timer.c:89
BOOLEAN(NTAPI * PI2C_STOP)(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks)
Definition: video.h:382
unsigned short USHORT
Definition: pedump.c:61
VPAPI PVOID NTAPI VideoPortLockBuffer(IN PVOID HwDeviceExtension, IN PVOID BaseAddress, IN ULONG Length, IN VP_LOCK_OPERATION Operation)
Definition: resource.c:968
VP_STATUS(NTAPI * PDRIVER_IO_PORT_UCHAR)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUCHAR Data)
Definition: video.h:589
_In_opt_ PWSTR _In_ PWSTR ParameterName
Definition: classpnp.h:1209
VIDEO_CHILD_STATE ChildStateArray[ANYSIZE_ARRAY]
Definition: video.h:660
CONST GUID * InterfaceType
Definition: video.h:298
signed char * PSTR
Definition: retypes.h:7
VPAPI VP_STATUS NTAPI VideoPortCreateSpinLock(IN PVOID HwDeviceExtension, OUT PSPIN_LOCK *SpinLock)
Definition: spinlock.c:32
ULONG DMA_EVENT_FLAGS
Definition: video.h:154
VPAPI VOID NTAPI VideoPortFreeDeviceBase(IN PVOID HwDeviceExtension, IN PVOID MappedAddress)
Definition: resource.c:471
PSTATUS_BLOCK StatusBlock
Definition: video.h:331
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT Context1
Definition: tdikrnl.h:1094
enum _VIDEO_DEVICE_DATA_TYPE VIDEO_DEVICE_DATA_TYPE
enum _HW_DMA_RETURN * PHW_DMA_RETURN
struct _QUERY_INTERFACE QUERY_INTERFACE
IN PVIDEO_READ_CLOCK_LINE ReadClockLine
Definition: video.h:691
unsigned int * PULONG
Definition: retypes.h:1
VPAPI BOOLEAN NTAPI VideoPortSignalDmaComplete(IN PVOID HwDeviceExtension, IN PDMA pDmaHandle)
Definition: dma.c:315
struct _VIDEO_ACCESS_RANGE VIDEO_ACCESS_RANGE
OUT PAGP_RESERVE_VIRTUAL AgpReserveVirtual
Definition: video.h:740
VPAPI VP_STATUS NTAPI VideoPortVerifyAccessRanges(IN PVOID HwDeviceExtension, IN ULONG NumAccessRanges, IN PVIDEO_ACCESS_RANGE AccessRanges)
Definition: resource.c:817
VPAPI VP_STATUS NTAPI VideoPortRegisterBugcheckCallback(IN PVOID HwDeviceExtension, IN ULONG BugcheckCode, IN PVIDEO_BUGCHECK_CALLBACK Callback, IN ULONG BugcheckDataSize)
Definition: videoprt.c:1302
PHYSICAL_ADDRESS Address
Definition: video.h:241
VPAPI BOOLEAN NTAPI VideoPortQueueDpc(IN PVOID HwDeviceExtension, IN PMINIPORT_DPC_ROUTINE CallbackRoutine, IN PVOID Context)
Definition: videoprt.c:1170
VPAPI PDMA NTAPI VideoPortMapDmaMemory(IN PVOID HwDeviceExtension, IN PVIDEO_REQUEST_PACKET pVrp, IN PHYSICAL_ADDRESS BoardAddress, IN PULONG Length, IN PULONG InIoSpace, IN PVOID MappedUserEvent, IN PVOID DisplayDriverEvent, IN OUT PVOID *VirtualAddress)
Definition: dma.c:284
VPAPI VOID NTAPI VideoPortWriteRegisterBufferUlong(IN PULONG Register, IN PULONG Buffer, IN ULONG Count)
VP_STATUS(NTAPI * PVIDEO_HW_GET_CHILD_DESCRIPTOR)(IN PVOID HwDeviceExtension, IN PVIDEO_CHILD_ENUM_INFO ChildEnumInfo, OUT PVIDEO_CHILD_TYPE VideoChildType, OUT PUCHAR pChildDescriptor, OUT PULONG UId, OUT PULONG pUnused)
Definition: video.h:277
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char * FunctionName
Definition: acpixf.h:1264
VPAPI VP_STATUS NTAPI VideoPortGetAccessRanges(IN PVOID HwDeviceExtension, IN ULONG NumRequestedResources, IN PIO_RESOURCE_DESCRIPTOR RequestedResources OPTIONAL, IN ULONG NumAccessRanges, OUT PVIDEO_ACCESS_RANGE AccessRanges, IN PVOID VendorId, IN PVOID DeviceId, OUT PULONG Slot)
Definition: video.h:582
VPAPI VP_STATUS NTAPI VideoPortGetRegistryParameters(IN PVOID HwDeviceExtension, IN PWSTR ParameterName, IN UCHAR IsParameterFileName, IN PMINIPORT_GET_REGISTRY_ROUTINE CallbackRoutine, IN PVOID Context)
Definition: videoprt.c:734
OUT PINTERFACE_DEREFERENCE InterfaceDereference
Definition: video.h:735
IN ULONG IN ULONG Tag
Definition: evtlib.h:159
USHORT Size
Definition: video.h:299
VPAPI VP_STATUS NTAPI VideoPortSetRegistryParameters(IN PVOID HwDeviceExtension, IN PWSTR ValueName, IN PVOID ValueData, IN ULONG ValueLength)
Definition: videoprt.c:785
PVIDEO_HW_LEGACYRESOURCES HwGetLegacyResources
Definition: video.h:682
VPAPI LONG NTAPI VideoPortSetEvent(IN PVOID HwDeviceExtension, IN PEVENT pEvent)
Definition: event.c:90
IN ULONG Size
Definition: video.h:698
OUT PINT10_WRITE_MEMORY Int10WriteMemory
Definition: video.h:781
PAGP_RESERVE_PHYSICAL AgpReservePhysical
Definition: video.h:719
#define BOOLEAN
Definition: pedump.c:73
PVIDEO_ACCESS_RANGE HwLegacyResourceList
Definition: video.h:680
#define OUT
Definition: typedefs.h:39
VPAPI VOID NTAPI VideoPortWritePortBufferUchar(IN PUCHAR Port, IN PUCHAR Buffer, IN ULONG Count)
VPAPI PVP_DMA_ADAPTER NTAPI VideoPortGetDmaAdapter(IN PVOID HwDeviceExtension, IN PVP_DEVICE_DESCRIPTION VpDeviceDescription)
Definition: dma.c:120
VPAPI BOOLEAN NTAPI VideoPortUnmapDmaMemory(IN PVOID HwDeviceExtension, IN PVOID VirtualAddress, IN HANDLE ProcessHandle, IN PDMA BoardMemoryHandle)
VIDEO_DEBUG_LEVEL
Definition: video.h:579
struct _VIDEO_REQUEST_PACKET * PVIDEO_REQUEST_PACKET
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER NumberOfBytes
Definition: iotypes.h:998
struct __DMA_PARAMETERS * PDMA
Definition: video.h:158
BOOLEAN(NTAPI * PVIDEO_READ_CLOCK_LINE)(PVOID HwDeviceExtension)
Definition: video.h:358
struct tagContext Context
Definition: acpixf.h:1024
BOOLEAN(NTAPI * PVIDEO_HW_INTERRUPT)(IN PVOID HwDeviceExtension)
Definition: video.h:211
VPAPI VOID NTAPI VideoPortReadPortBufferUshort(IN PUSHORT Port, OUT PUSHORT Buffer, IN ULONG Count)
unsigned int ULONG
Definition: retypes.h:1
VPAPI ULONG NTAPI VideoPortGetBusData(IN PVOID HwDeviceExtension, IN BUS_DATA_TYPE BusDataType, IN ULONG SlotNumber, IN OUT PVOID Buffer, IN ULONG Offset, IN ULONG Length)
VP_STATUS(NTAPI * PVIDEO_HW_QUERY_INTERFACE)(IN PVOID HwDeviceExtension, IN OUT PQUERY_INTERFACE QueryInterface)
Definition: video.h:306
enum _DMA_FLAGS DMA_FLAGS
OUT PINT10_FREE_BUFFER Int10FreeBuffer
Definition: video.h:779
struct _VP_SCATTER_GATHER_ELEMENT VP_SCATTER_GATHER_ELEMENT
_In_ FLT_SET_CONTEXT_OPERATION Operation
Definition: fltkernel.h:1468
OUT PINT10_CALL_BIOS Int10CallBios
Definition: video.h:782
VPAPI VP_STATUS NTAPI VideoPortStartDma(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN PVOID Mdl, IN ULONG Offset, IN OUT PULONG pLength, IN PEXECUTE_DMA ExecuteDmaRoutine, IN PVOID Context, IN BOOLEAN WriteToDevice)
Definition: dma.c:355
_ANONYMOUS_UNION union _STATUS_BLOCK::@2160 DUMMYUNIONNAME
VPAPI VP_STATUS NTAPI VideoPortGetVersion(IN PVOID HwDeviceExtension, IN OUT PVPOSVERSIONINFO pVpOsVersionInfo)
Definition: videoprt.c:1203
OUT VOID(* DbgReportComplete)(IN OUT PVIDEO_DEBUG_REPORT pReport)
Definition: video.h:823
OUT PAGP_RESERVE_PHYSICAL AgpReservePhysical
Definition: video.h:736
LONG VP_STATUS
Definition: video.h:153
enum _VIDEO_CHILD_TYPE * PVIDEO_CHILD_TYPE
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
Definition: ndis.h:3167
VPAPI VOID NTAPI VideoPortWriteRegisterBufferUshort(IN PUSHORT Register, IN PUSHORT Buffer, IN ULONG Count)
PVOID ChildHwDeviceExtension
Definition: video.h:265
struct _I2C_CALLBACKS I2C_CALLBACKS
struct _VIDEO_CHILD_STATE_CONFIGURATION * PVIDEO_CHILD_STATE_CONFIGURATION
VPAPI VOID NTAPI VideoPortReadRegisterBufferUchar(IN PUCHAR Register, OUT PUCHAR Buffer, IN ULONG Count)
VOID(NTAPI * PVIDEO_HW_LEGACYRESOURCES)(IN ULONG VendorId, IN ULONG DeviceId, IN OUT PVIDEO_ACCESS_RANGE *LegacyResourceList, IN OUT PULONG LegacyResourceCount)
Definition: video.h:224
VPAPI VOID NTAPI VideoPortWriteRegisterUchar(IN PUCHAR Register, IN UCHAR Value)
OUT PINTERFACE_REFERENCE InterfaceReference
Definition: video.h:776
_VIDEO_CHILD_TYPE
Definition: video.h:269
VOID(NTAPI * PEXECUTE_DMA)(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN PVP_SCATTER_GATHER_LIST SGList, IN PVOID Context)
Definition: video.h:253
VPAPI BOOLEAN NTAPI VideoPortUnlockPages(IN PVOID hwDeviceExtension, IN OUT PDMA pDma)
OUT ULONG BuildNumber
Definition: video.h:799
Definition: video.h:580
VOID(WINAPI * PINTERFACE_REFERENCE)(PVOID Context)
Definition: precomp.h:13
_Must_inspect_result_ _Out_writes_to_ DataLength PHIDP_DATA _Inout_ PULONG DataLength
Definition: hidpi.h:333
struct _VIDEO_PORT_AGP_INTERFACE_2 * PVIDEO_PORT_AGP_INTERFACE_2
PVOID(NTAPI * PAGP_RESERVE_VIRTUAL)(IN PVOID HwDeviceExtension, IN HANDLE ProcessHandle, IN PVOID PhysicalReserveContext, OUT PVOID *VirtualReserveContext)
Definition: videoagp.h:88
VOID(NTAPI * PAGP_FREE_VIRTUAL)(IN PVOID HwDeviceExtension, IN PVOID VirtualReserveContext, IN ULONG Pages, IN ULONG Offset)
Definition: videoagp.h:64
IN BOOLEAN OUT PSTR Buffer
Definition: progress.h:34
PVIDEO_HW_TIMER HwTimer
Definition: video.h:673
_In_ HANDLE ProcessHandle
Definition: mmfuncs.h:403
ULONG NTAPI DriverEntry(PVOID Context1, PVOID Context2)
Definition: vga.c:153
OUT PROTECT_WC_MEMORY VideoPortProtectWCMemory
Definition: video.h:791
PVOID(NTAPI * PVIDEO_PORT_GET_PROC_ADDRESS)(IN PVOID HwDeviceExtension, IN PUCHAR FunctionName)
Definition: video.h:162
struct _VIDEO_PORT_CONFIG_INFO * PVIDEO_PORT_CONFIG_INFO
_Must_inspect_result_ _In_ FLT_CONTEXT_TYPE _In_ SIZE_T _In_ POOL_TYPE PoolType
Definition: fltkernel.h:1444
VPAPI VOID NTAPI VideoPortWritePortUchar(IN PUCHAR Port, IN UCHAR Value)
signed int * PLONG
Definition: retypes.h:5
LPFNPSPCALLBACK Callback
Definition: desk.c:111
VPAPI VOID __cdecl VideoPortDebugPrint(IN VIDEO_DEBUG_LEVEL DebugPrintLevel, IN PSTR DebugMessage, IN ...)
Definition: miniport.h:40
PVOID InterfaceSpecificData
Definition: video.h:302
VP_STATUS(NTAPI * PINT10_FREE_BUFFER)(IN PVOID Context, IN USHORT Seg, IN USHORT Off)
Definition: video.h:458
VPAPI BOOLEAN NTAPI VideoPortDDCMonitorHelper(IN PVOID HwDeviceExtension, IN PVOID DDCControl, IN OUT PUCHAR EdidBuffer, IN ULONG EdidBufferSize)
VPAPI VOID NTAPI VideoPortReadPortBufferUchar(IN PUCHAR Port, OUT PUCHAR Buffer, IN ULONG Count)
ULONG RangeLength
Definition: video.h:216
unsigned short * PUSHORT
Definition: retypes.h:2
#define CONST
Definition: pedump.c:81
VP_STATUS(NTAPI * PINT10_CALL_BIOS)(IN PVOID Context, IN OUT PINT10_BIOS_ARGUMENTS BiosArguments)
Definition: video.h:446
VPAPI VOID NTAPI VideoPortWriteRegisterUlong(IN PULONG Register, IN ULONG Value)
LONG * PVP_STATUS
Definition: video.h:153
VP_STATUS(NTAPI * PVIDEO_HW_POWER_GET)(IN PVOID HwDeviceExtension, IN ULONG HwId, IN OUT PVIDEO_POWER_MANAGEMENT VideoPowerControl)
Definition: video.h:292
struct _VIDEO_PORT_DEBUG_REPORT_INTERFACE * PVIDEO_PORT_DEBUG_REPORT_INTERFACE
BOOLEAN(NTAPI * PI2C_READ)(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks, OUT PUCHAR Buffer, IN ULONG Length)
Definition: video.h:394
ULONG_PTR Information
Definition: video.h:326
VPAPI BOOLEAN NTAPI VideoPortDbgReportSecondaryData(IN OUT PVIDEO_DEBUG_REPORT pReport, IN PVOID pvData, IN ULONG ulDataSize)
ULONG BusInterruptVector
Definition: video.h:171
VPAPI VOID NTAPI VideoPortAcquireSpinLock(IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock, OUT PUCHAR OldIrql)
Definition: spinlock.c:63
VPAPI PVOID NTAPI VideoPortAllocateCommonBuffer(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN ULONG DesiredLength, OUT PPHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled, PVOID Reserved)
Definition: dma.c:43
VPAPI VP_STATUS NTAPI VideoPortEnumerateChildren(IN PVOID HwDeviceExtension, IN PVOID Reserved)
Definition: videoprt.c:986
VPAPI VOID NTAPI VideoPortDbgReportComplete(IN OUT PVIDEO_DEBUG_REPORT pReport)
_Must_inspect_result_ _In_ PVOID _In_ struct _HW_INITIALIZATION_DATA * HwInitializationData
Definition: srb.h:664
ULONG VdmPhysicalVideoMemoryLength
Definition: video.h:177
#define __int64
Definition: basetyps.h:16
struct _STATUS_BLOCK STATUS_BLOCK
struct _VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE * PVIDEO_PORT_WCMEMORYPROTECTION_INTERFACE
INTERFACE_TYPE InterfaceType
Definition: video.h:555
PHYSICAL_ADDRESS RangeStart
Definition: video.h:215
struct _VP_DEVICE_DESCRIPTION * PVP_DEVICE_DESCRIPTION
KINTERRUPT_MODE InterruptMode
Definition: video.h:172
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: ke.h:114
IN ULONG I2CDelay
Definition: video.h:405
_HW_DMA_RETURN
Definition: video.h:230
struct _VIDEO_HARDWARE_CONFIGURATION_DATA VIDEO_HARDWARE_CONFIGURATION_DATA
VPAPI VP_STATUS NTAPI VideoPortFlushRegistry(PVOID HwDeviceExtension)
Definition: stubs.c:29
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68