Share via


AccelerometerCalibrate (Compact 7)

3/12/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

sysgen

SYSGEN_ACCELEROMETER

See Also

Reference

Accelerometer COREDLL.DLL Functions
IOCTL_ACC_CALIBRATESENSOR