Bewerken

Delen via


WDF_WRITE_PORT_BUFFER_UCHAR function (wdfhwaccess.h)

[Applies to UMDF only]

The WDF_WRITE_PORT_BUFFER_UCHAR function writes a number of bytes from a buffer to the specified port.

Syntax

void WDF_WRITE_PORT_BUFFER_UCHAR(
  [in] WDFDEVICE Device,
  [in] PUCHAR    Port,
  [in] PUCHAR    Buffer,
  [in] ULONG     Count
);

Parameters

[in] Device

A handle to a framework device object.

[in] Port

A pointer to the port, which must be a mapped memory range in I/O space.

[in] Buffer

A pointer to a buffer from which an array of UCHAR values is to be written.

[in] Count

Specifies the number of bytes to be written to the buffer.

Return value

None

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdfhwaccess.h