From 509359b3ec9d438b9e85e3198a6709e8a16c29ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sat, 3 Jun 2023 22:51:28 +0200 Subject: [PATCH] [DDK] Add some documentation about the VIDEO_HARDWARE_CONFIGURATION_DATA structure. --- sdk/include/ddk/video.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sdk/include/ddk/video.h b/sdk/include/ddk/video.h index 1500e03bb9b..d4f32002b15 100644 --- a/sdk/include/ddk/video.h +++ b/sdk/include/ddk/video.h @@ -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;