initTransformationMatrix 函数 (sensorsdriversutils.h)

InitTransformationMatrix 函数从 ACPI 条目读取旋转矩阵。

语法

NTSTATUS InitTransformationMatrix(
  WDFDEVICE Device,
  PVEC3D    RotationMatrix,
  ULONG     RotationMatrixEntryCount
);

参数

Device

提供 WDF 设备对象。

RotationMatrix

提供读取旋转矩阵的 VEC3D 缓冲区。

RotationMatrixEntryCount

提供 RotationMatrix 可以容纳的元素数。

返回值

此函数返回 NTSTATUS。

要求

要求
Header sensorsdriversutils.h