VideoPortScanRom function

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.

Syntax


BOOLEAN VideoPortScanRom(
   PVOID  HwDeviceExtension,
   PUCHAR RomBase,
   ULONG  RomLength,
   PUCHAR String
);

Parameters

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.

Return value

If the string is found, VideoPortScanRom returns TRUE. Otherwise, it returns FALSE.

Remarks

VideoPortScanRom cannot be called from a miniport driver's HwVidInterrupt or HwVidTimer functions, or from VideoPortQueueDpc, or from a callback to VideoPortSynchronizeExecution.

Requirements

Target platform

Desktop

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

PASSIVE_LEVEL

See also

HwVidFindAdapter
VideoPortGetDeviceBase
VideoPortGetRomImage

 

 

Send comments about this topic to Microsoft

Show: