Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |