Partager via


READ_PORT_BUFFER_USHORT (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOID READ_PORT_BUFFER_USHORT(
  PUSHORT Port, 
  PUSHORT Buffer, 
  ULONG Count 
);

Parameters

  • Port
    [in] Pointer to the port that must be a mapped memory range in I/O space.
  • Buffer
    [out] Pointer to a buffer to read UCHAR values into.
  • Count
    [in] Number of USHORT values to 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 bytes.

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

Requirements

Header ceddk.h
Library CEDDK.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

CEDDK Dynamic-Link Library I/O Functions

Concepts

CEDDK Dynamic-Link Library