Bewerken

Delen via


WRITE_PORT_UCHAR function (miniport.h)

The WRITE_PORT_UCHAR routine writes a byte to the specified port address.

Syntax

void WRITE_PORT_UCHAR(
  [in] PUCHAR Port,
  [in] UCHAR  Value
);

Parameters

[in] Port

Pointer to the port, which must be a mapped memory range in I/O space.

[in] Value

Specifies a byte to be written to the port.

Return value

None

Remarks

Callers of WRITE_PORT_UCHAR can be running at any IRQL, assuming the Port is resident, mapped device memory.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header miniport.h (include Wdm.h, Ntddk.h, Ntifs.h, Ioaccess.h, Miniport.h)
Library Hal.lib
IRQL Any level (see Remarks section)