Expand Minimize

VideoPortInt10 function

The VideoPortInt10 function performs the equivalent of an MS-DOS INT10 operation, such as setting the video mode. VideoPortInt10 runs the BIOS ROM code on the device.

Syntax


VP_STATUS VideoPortInt10(
  PVOID HwDeviceExtension,
  PVIDEO_X86_BIOS_ARGUMENTS BiosArguments
);

Parameters

HwDeviceExtension

Pointer to the miniport driver's device extension.

BiosArguments

Pointer to a structure containing values for the x86 registers that should be set before making the BIOS call. The miniport driver should set any unused registers to zero. All values set up in the VIDEO_x86_BIOS_ARGUMENTS structure are interpreted as immediate values.

Return value

VideoPortInt10 returns NO_ERROR if it successfully called the given BIOS INT10 routine; otherwise, it returns an error status.

Remarks

Generally, VGA-compatible miniport drivers, which support full-screen MS-DOS applications on x86-based machines, call VideoPortInt10. Such a driver's HwVidFindAdapter function must have set up the VdmPhysicalVideoMemoryAddress and VdmPhysicalVideoMemoryLength for the range in the VIDEO_PORT_CONFIG_INFO structure.

However, other video miniport drivers also can call this function.

Because VideoPortInt10 interprets the BiosArgument parameter values as immediate values, the caller cannot pass in or retrieve data from a memory buffer with this function.

Requirements

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
VIDEO_PORT_CONFIG_INFO
VIDEO_x86_BIOS_ARGUMENTS
VideoPortGetDeviceBase

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.