Share via


AccelerometerCancelCallback (Compact 7)

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

sysgen

SYSGEN_ACCELEROMETER

See Also

Reference

Accelerometer COREDLL.DLL Functions