VideoPortReadRegisterBufferUshort

VOID VideoPortReadRegisterBufferUshort(

    PUSHORT  Register,

    PUSHORT  Buffer,

    ULONG  Count

   );

VideoPortReadRegisterBufferUshort reads a number of USHORT values from a mapped device memory range into a buffer.

Parameters

Register
Points to the register. The given Register must be in a mapped memory-space range returned by VideoPortGetDeviceBase.
Buffer
Points to a buffer into which the USHORT values are 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 VideoPortReadRegisterBufferUshort.

See Also

HwVidInterrupt, HwVidSynchronizeExecutionCallback, VideoPortGetDeviceBase