WRITE_REGISTER_BUFFER_ULONG64 macro

The WRITE_REGISTER_BUFFER_ULONG64 macro writes a number of ULONG64 values from a buffer to the specified register.

Syntax


VOID WRITE_REGISTER_BUFFER_ULONG64(
  [in] PULONG64 Register,
  [in] PULONG64 Buffer,
  [in] ULONG    Count
);

Parameters

Register [in]

Pointer to the register, which must be a mapped range in memory space.

Buffer [in]

Pointer to a buffer that an array of ULONG64 values is to be written to.

Count [in]

Specifies the number of ULONG64 values to be written to the register.

Return value

None

Remarks

The size of the Buffer buffer must be large enough to contain at least the specified number of ULONG64 values.

Callers of the WRITE_REGISTER_BUFFER_ULONG64 macro can be running at any IRQL, assuming that the Buffer buffer is resident and the Register register is resident, mapped device memory.

Requirements

Target platform

Version

Available only in 64-bit versions of Windows.

Header

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

IRQL

Any level (see Remarks section)

 

 

Send comments about this topic to Microsoft

Anzeigen: