WDF_WRITE_PORT_BUFFER_UCHAR

WDF_WRITE_PORT_BUFFER_UCHAR function

[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

Device [in]

A handle to a framework device object.

Port [in]

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

Buffer [in]

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

Count [in]

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

Return value

This function does not return a value.

Remarks

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

Requirements

Target platform

Universal

Minimum support

Windows 8.1

Minimum UMDF version

2.0

Header

Wdfhwaccess.h

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft