// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API BOOLEAN VideoPortScanRom(
PVOID HwDeviceExtension,
PUCHAR RomBase,
ULONG RomLength,
PUCHAR String
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortScanRom function is obsolete in Windows XP and later versions. It is supported only for backward compatibility.
VideoPortScanRom performs a case-sensitive search for a specified string in ROM.
HwDeviceExtensionPointer to the miniport driver's device extension.
RomBaseSpecifies the base ROM address at which the search should start. The given RomBase must be in a mapped range returned by VideoPortGetDeviceBase.
RomLengthSpecifies the size in bytes of the mapped ROM to be searched.
StringPointer to the driver-allocated string to search for.
If the string is found, VideoPortScanRom returns TRUE. Otherwise, it returns FALSE.
VideoPortScanRom cannot be called from a miniport driver's HwVidInterrupt or HwVidTimer functions, or from VideoPortQueueDpc, or from a callback to VideoPortSynchronizeExecution.