VP_STATUS HwVidQueryNamedValueCallback(
PVOID HwDeviceExtension, | |
PVOID Context, | |
PWSTR ValueName, | |
PVOID ValueData, | |
ULONG ValueLength | |
); |
HwVidQueryNamedValueCallback is an optional miniport driver function passed in a call to VideoPortGetRegistryParameters. VideoPortGetRegistryParameters calls HwVidQueryNamedValueCallback after collecting available configuration information about the given ValueName in the ..\CurrentControlSet\Services\DriverName\DeviceNumber key of the registry.
HwVidQueryNamedValueCallback returns the status of the operation.
HwVidQueryNamedValueCallback processes the ValueData retrieved from the registry.
The returned ValueData is on the stack, so it can be referenced locally. HwVidQueryNamedValueCallback can store some or all of the returned information for use by other miniport functions in the input HwDeviceExtension or use the input Context as a pointer to a location where the data can be stored.
HwVidFindAdapter, VideoPortGetRegistryParameters, VideoPortSetRegistryParameters