Expand Minimize

VideoPortReadRegisterUshort function

The VideoPortReadRegisterUshort function reads a USHORT value from a mapped register range.

Syntax


USHORT VideoPortReadRegisterUshort(
   PUSHORT Register
);

Parameters

Register

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

Return value

VideoPortReadRegisterUshort returns the USHORT value read from the adapter.

Remarks

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

Callers of VideoPortReadRegisterUshort 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

See Remarks section.

See also

HwVidInterrupt
HwVidSynchronizeExecutionCallback
VideoPortGetDeviceBase

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft