Export (0) Print
Expand All

WRITE_PORT_USHORT routine

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

Syntax


 VOID WRITE_PORT_USHORT(
  _In_  PUSHORT Port,
  _In_  USHORT Value
);

Parameters

Port [in]

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

Value [in]

Specifies a USHORT value to be written to the port.

Return value

None

Remarks

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

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Hal.lib

IRQL

Any level (see Remarks section)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft