WDF_READ_REGISTER_UCHAR function

[Applies to UMDF only]

The WDF_READ_REGISTER_UCHAR function reads a byte from the specified register address.

Syntax

WDF_EXTERN_C_START UCHAR WDF_READ_REGISTER_UCHAR(
  WDFDEVICE Device,
  PUCHAR    Register
);

Parameters

Device

A handle to a framework device object.

Register

A pointer to the register address, which must be a mapped range in memory space.

Return Value

WDF_READ_REGISTER_UCHAR returns the byte that is read from the specified port address.

Requirements

   
Windows version Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdfhwaccess.h