Share via


READ_REGISTER_BUFFER_USHORT (Compact 2013)

3/26/2014

This function reads a number of USHORT values from the specified register address into a buffer.

The pointer to the register is not incremented. The same specified register address is read multiple times as specified in the count.

Syntax

VOID READ_REGISTER_BUFFER_USHORT(
  PUSHORT Register, 
  PUSHORT Buffer, 
  ULONG Count 
);

Parameters

  • Register
    [in] Pointer to the register that must be a mapped range in memory space.
  • Buffer
    [out] Pointer to a buffer to read USHORT values into.
  • Count
    [in] Number of USHORT values to be read into the buffer.

Return Value

None.

Remarks

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

The Register parameter refers to device hardware mapped into the CPU's address space using other CEDDK.dll functions.

Requirements

Header

ceddk.h

Library

CEDDK.lib

See Also

Reference

Ceddk.dll I/O Functions
Ceddk.dll