VideoPortReadPortUchar function

The VideoPortReadPortUchar function reads a byte from a mapped I/O port.

Syntax

VIDEOPORT_API UCHAR VideoPortReadPortUchar(
  PUCHAR Port
);

Parameters

Port

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

Return Value

VideoPortReadPortUchar returns the byte read from the adapter.

Remarks

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

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

Requirements

   
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 See Remarks section.

See Also

HwVidInterrupt

HwVidSynchronizeExecutionCallback

VideoPortGetDeviceBase