WRITE_PORT_USHORT function (miniport.h)
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
[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 | miniport.h (include Wdm.h, Ntddk.h, Ntifs.h, Ioaccess.h, Miniport.h) |
Library | Hal.lib |
IRQL | Any level (see Remarks section) |