// sensorsdriversutils.h
NTSTATUS GetRotationMatrixFromAcpi(
WDFDEVICE Device,
PSZ MethodName,
UCHAR MethodNameLength,
PVEC3D RotationMatrix,
ULONG RotationMatrixEntries
);
View the official Windows Driver Kit DDI referenceNo description available.
The GetRotationMatrixFromAcpi function reads the rotation matrix from the ACPI entries.
DeviceSupplies the WDF device object.
MethodNameSupplies the method name to read.
MethodNameLengthSupplies the method name length in bytes.
RotationMatrixSupplies the VEC3D buffer in which the rotation matrix is read.
RotationMatrixEntriesSupplies the number of elements that RotationMatrix can hold.
This function returns NTSTATUS.
The caller is responsible for saving/restoring the floating point context prior to calling this function.