VideoPortWritePortBufferUchar function

The VideoPortWritePortBufferUchar function writes a number of bytes to a mapped I/O port.

Syntax

VIDEOPORT_API VOID VideoPortWritePortBufferUchar(
  PUCHAR Port,
  PUCHAR Buffer,
  ULONG  Count
);

Parameters

Port

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

Buffer

Pointer to a buffer containing the bytes to be written.

Count

Specifies the number of bytes to be transferred to the adapter.

Return Value

None

Remarks

A miniport driver's HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortWritePortBufferUchar.

Callers of VideoPortWritePortBufferUchar 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.

Requirements

   
Windows version Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL Any level (see Remarks section)

See Also

VideoPortGetDeviceBase