VideoPortScanRom

BOOLEAN VideoPortScanRom(

PVOID HwDeviceExtension,
PUCHAR RomBase,
ULONG RomLength,
PUCHAR String
);

VideoPortScanRom performs a case-sensitive search for a specified string in ROM.

Parameters

HwDeviceExtension

Points 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

Points to the string in the driver or on the stack to search for.

Return Value

If the string is found, VideoPortScanRom returns TRUE.

Comments

VideoPortScanRom can be called only by a miniport's HwVidFindAdapter function.

See Also

HwVidFindAdapter, VideoPortGetDeviceBase