VideoPortReadPortBufferUshort

VOID VideoPortReadPortBufferUshort(

    PUSHORT  Port,

    PUSHORT  Buffer,

    ULONG  Count

   );

VideoPortReadPortBufferUshort reads a number of USHORT values from a mapped I/O port into a buffer.

Parameters

Port
Points to the port. The given Port must be in a mapped I/O-space range returned by VideoPortGetDeviceBase.
Buffer
Points to a buffer into which an array of USHORT values is read.
Count
Specifies the number of USHORT values to be transferred into the buffer.

Comments

The buffer must be large enough to contain at least the specified number of USHORT values.

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

See Also

HwVidInterrupt, HwVidSynchronizeExecutionCallback, VideoPortGetDeviceBase