// sensorsdriversutils.h
NTSTATUS GetMethodArgumentFromAcpi(
WDFDEVICE Device,
PSZ MethodName,
UCHAR MethodNameLength,
BYTE *MethodArgument,
ULONG MethodArgumentLength
);
View the official Windows Driver Kit DDI referenceNo description available.
The GetMethodArgumentFromAcpi function reads the requested ACPI entry by using the supplied method name.
DeviceSupplies the WDF device object.
MethodNameSupplies the method name to read.
MethodNameLengthSupplies the method name length in bytes.
MethodArgumentSupplies the address at which to write the method argument.
MethodArgumentLengthSupplies the length in bytes of the buffer in which to save the MethodArgument.
This function returns NTSTATUS.