WRITE_REGISTER_USHORT function

The WRITE_REGISTER_USHORT routine writes a USHORT value to the specified address.

Syntax

NTKERNELAPI VOID WRITE_REGISTER_USHORT(
  USHORT *Register,
  USHORT Value
);

Parameters

Register

Value

Return Value

None

Remarks

Callers of WRITE_REGISTER_USHORT can be running at any IRQL, assuming the Register 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, Wudfwdm.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level (see Remarks section)