WDF_READ_PORT_BUFFER_UCHAR

WDF_READ_PORT_BUFFER_UCHAR function

[Applies to UMDF only]

The WDF_READ_PORT_BUFFER_UCHAR function reads a number of bytes from the specified port address into a buffer.

Syntax


void WDF_READ_PORT_BUFFER_UCHAR(
  _In_  WDFDEVICE Device,
  _In_  PUCHAR    Port,
  _Out_ PUCHAR    Buffer,
  _In_  ULONG     Count 
);

Parameters

Device [in]

A handle to a framework device object.

Port [in]

Specifies the port address, which must be a mapped memory range in I/O space.

Buffer [out]

A pointer to a buffer into which an array of UCHAR values is read.

Count [in]

Specifies the number of bytes to be read into the buffer.

Return value

This function does not return a value.

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