WRITE_PORT_USHORT function

The WRITE_PORT_USHORT routine writes a USHORT value to the specified port address.

Syntax

NTHALAPI VOID WRITE_PORT_USHORT(
  PUSHORT Port,
  USHORT  Value
);

Parameters

Port

Value

Return Value

None

Remarks

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

Requirements

   
Windows version Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h, Ioaccess.h, Miniport.h)
Library Hal.lib
IRQL Any level (see Remarks section)