VideoPortReadPortUshort

USHORT VideoPortReadPortUshort(

    PUSHORT Port
  );

VideoPortReadPortUshort reads a USHORT value from a mapped I/O port.

Parameters

Port

Points to the port. The given Port must be in a mapped I/O-space range returned by VideoPortGetDeviceBase.

Return Value

VideoPortReadPortUshort returns the USHORT value read from the adapter.

Comments

A miniport’s HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortReadPortUshort.

See Also

HwVidInterrupt, HwVidSynchronizeExecutionCallback, VideoPortGetDeviceBase