VideoPortScanRom - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

VIDEOPORT_DEPRECATED VIDEOPORT_API BOOLEAN VideoPortScanRom(
  PVOID  HwDeviceExtension,
  PUCHAR RomBase,
  ULONG  RomLength,
  PUCHAR String
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportscanrom)

VideoPortScanRom function

Description

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.

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.

See also

HwVidFindAdapter

VideoPortGetDeviceBase

VideoPortGetRomImage