VideoPortScanRom function (video.h)
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.
VIDEOPORT_DEPRECATED VIDEOPORT_API BOOLEAN VideoPortScanRom(
PVOID HwDeviceExtension,
PUCHAR RomBase,
ULONG RomLength,
PUCHAR String
);
HwDeviceExtension
Pointer to the miniport driver's device extension.
RomBase
Specifies the base ROM address at which the search should start. The given RomBase must be in a mapped range returned by VideoPortGetDeviceBase.
RomLength
Specifies the size in bytes of the mapped ROM to be searched.
String
Pointer 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.
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | video.h (include Video.h) |
Library | Videoprt.lib |
DLL | Videoprt.sys |
IRQL | PASSIVE_LEVEL |