WdfDeviceGetCharacteristics function (wdfdevice.h)
[Applies to KMDF only]
The WdfDeviceGetCharacteristics method returns device characteristics for a specified device.
Syntax
ULONG WdfDeviceGetCharacteristics(
[in] WDFDEVICE Device
);
Parameters
[in] Device
A handle to a framework device object.
Return value
A bitwise OR of system-defined constants that represent device characteristics. For more information, see the Characteristics member of the DEVICE_OBJECT structure.
A bug check occurs if the driver supplies an invalid object handle.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Header | wdfdevice.h (include Wdf.h) |
Library | Wdf01000.sys (see Framework Library Versioning.) |
IRQL | <= DISPATCH_LEVEL |
DDI compliance rules | DriverCreate(kmdf), KmdfIrql(kmdf), KmdfIrql2(kmdf), KmdfIrqlExplicit(kmdf) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for