// sensorsdriversutils.h
VOID TranslateAxes(
VEC3D *RotationMatrix,
ULONG RotationMatrixEntryCount,
VEC3D *Data,
ULONG DataCount
);
View the official Windows Driver Kit DDI referenceNo description available.
The TranslateAxes function applies the rotation matrix to the given sample.
RotationMatrixSupplies the VEC3D buffer in which the rotation matrix is stored.
RotationMatrixEntryCountSupplies the number of elements that RotationMatrix holds.
DataSupplies the VEC3D buffer in which input data is stored and in which the transformed data is returned.
DataCountSupplies the number of elements that Data holds.
The caller is responsible for saving/restoring the floating point context prior to calling this function.