VideoPortReadPortBufferUchar

VOID VideoPortReadPortBufferUchar(

    PUCHAR Port,
   PUCHAR Buffer,
   ULONG Count
  );

VideoPortReadPortBufferUchar reads a number of bytes from a mapped I/O port into a buffer.

Parameters

Port

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

Buffer

Points to a buffer into which the UCHAR values are read.

Count

Specifies the number of bytes to be transferred into the buffer.

Comments

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

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

See Also

HwVidInterrupt, HwVidSynchronizeExecutionCallback, VideoPortGetDeviceBase