[DDK] Add some documentation about the VIDEO_HARDWARE_CONFIGURATION_DATA structure.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 3 Jun 2023 20:51:28 +0000 (22:51 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 4 Jun 2023 19:40:06 +0000 (21:40 +0200)
sdk/include/ddk/video.h

index 1500e03..d4f3200 100644 (file)
@@ -551,6 +551,14 @@ typedef enum _DMA_FLAGS {
   VideoPortDmaInitOnly
 } DMA_FLAGS;
 
+/*
+ * Data returned with VpControllerData.
+ *
+ * The first two fields, InterfaceType and BusNumber, are common
+ * with the CM_FULL_RESOURCE_DESCRIPTOR header.
+ * The other fields are of legacy layout, instead of the newer
+ * CM_PARTIAL_RESOURCE_LIST one.
+ */
 typedef struct _VIDEO_HARDWARE_CONFIGURATION_DATA {
   INTERFACE_TYPE InterfaceType;
   ULONG BusNumber;