Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The WRITE_PORT_USHORT routine writes a USHORT value to the specified port address.
Syntax
NTHALAPI VOID WRITE_PORT_USHORT(
  [in] PUSHORT Port,
  [in] USHORT  Value
);
Parameters
[in] Port
Pointer to the port, which must be a mapped memory range in I/O space.
[in] Value
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
| Requirement | Value | 
|---|---|
| Minimum supported client | 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) |