Partager via


AccelerometerCalibrate (Compact 2013)

3/26/2014

This function invokes the accelerometer calibration functionality.

Syntax

DWORD WINAPI AccelerometerCalibrate(
    HSENSOR hAccDevice
);

Parameters

  • hAccDevice
    [in] Handle of the opened accelerometer device previously returned by the AccelerometerOpen function.

Return Value

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Indicates success.

ERROR_INVALID_PARAMETER

Indicates that the handle of the accelerometer device is invalid.

Win32 error code

Indicates all other errors.

Requirements

Header

accapi.h

See Also

Reference

Accelerometer COREDLL.DLL Functions
IOCTL_ACC_CALIBRATESENSOR