Hardware Dev Center

WDF_READ_REGISTER_ULONG function

[Applies to UMDF only]

The WDF_READ_REGISTER_ULONG function reads a ULONG value from the specified register address.

Syntax


ULONG WDF_READ_REGISTER_ULONG(
  _In_ WDFDEVICE Device,
  _In_ PULONG    Register
);

Parameters

Device [in]

A handle to a framework device object.

Register [in]

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

Return value

WDF_READ_REGISTER_ULONG returns the ULONG value that is read from the specified port address.

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:
© 2015 Microsoft