The VideoPortReadPortBufferUchar function reads a number of bytes from a mapped I/O port and writes them into a buffer.
VIDEOPORT_API VOID VideoPortReadPortBufferUchar( PUCHAR Port, PUCHAR Buffer, ULONG Count );
Pointer to the I/O port. The given Port must be in a mapped I/O-space range returned by VideoPortGetDeviceBase.
Pointer to a buffer into which the UCHAR values are written.
Specifies the number of bytes to be written to the buffer.
The buffer must be large enough to contain at least the specified number of bytes.
Callers of VideoPortReadPortBufferUchar can be running at any IRQL, provided that the memory pointed to by the Buffer parameter is resident and that pointed to by the Port parameter is resident, mapped device memory.
|Minimum supported client||Available in Windows 2000 and later versions of the Windows operating systems.|
|Header||video.h (include Video.h)|
|IRQL||See Remarks section.|