VideoPortWriteRegisterUshort function

The VideoPortWriteRegisterUshort function writes a USHORT value to a mapped register.

Syntax


VOID VideoPortWriteRegisterUshort(
   PUSHORT Register,
   USHORT  Value
);

Parameters

Register

Pointer to the register. The given Register must be in a mapped memory-space range returned by VideoPortGetDeviceBase.

Value

Specifies a USHORT value to be transferred to the adapter.

Return value

None

Remarks

A miniport driver's HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortWriteRegisterUshort.

Callers of VideoPortWriteRegisterUshort can be running at any IRQL, provided that the memory pointed to by the Register parameter is resident, mapped device memory.

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

Any level (see Remarks section)

See also

VideoPortGetDeviceBase

 

 

Send comments about this topic to Microsoft

Show: