VideoPortWritePortUchar function (video.h)

The VideoPortWritePortUchar function writes a byte to a mapped I/O port.

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API VOID VideoPortWritePortUchar(
  PUCHAR Port,
  UCHAR  Value
);

Parameters

Port

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

Value

Specifies a byte to be transferred to the adapter.

Return value

None

Remarks

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

Callers of VideoPortWritePortUchar can be running at any IRQL, provided that the memory pointed to by the Port parameter is resident, mapped device memory.

Requirements

Requirement Value
Minimum supported client 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