GetRotationMatrixFromAcpi function (sensorsdriversutils.h)
The GetRotationMatrixFromAcpi function reads the rotation matrix from the ACPI entries.
Syntax
NTSTATUS GetRotationMatrixFromAcpi(
WDFDEVICE Device,
PSZ MethodName,
UCHAR MethodNameLength,
PVEC3D RotationMatrix,
ULONG RotationMatrixEntries
);
Parameters
Device
Supplies the WDF device object.
MethodName
Supplies the method name to read.
MethodNameLength
Supplies the method name length in bytes.
RotationMatrix
Supplies the VEC3D buffer in which the rotation matrix is read.
RotationMatrixEntries
Supplies the number of elements that RotationMatrix can hold.
Return value
This function returns NTSTATUS.
Remarks
The caller is responsible for saving/restoring the floating point context prior to calling this function.
Requirements
Requirement | Value |
---|---|
Header | sensorsdriversutils.h |