Partager via


AccelerometerCancelCallback (Compact 2013)

3/26/2014

This function cancels a callback created by AccelerometerCreateCallback or by AccelerometerCreateMsgCallback.

Syntax

DWORD WINAPI AccelerometerCancelCallback(
    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.

INVALID_GEN_FAILURE

Indicates all other errors.

Requirements

Header

accapi.h

See Also

Reference

Accelerometer COREDLL.DLL Functions