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 sends a stop I/O control (IOCTL) to the driver.
Syntax
DWORD WINAPI AccelerometerStop(
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 codes |
Indicates all other errors. |
Remarks
After a call to this function, accelerometer samples are no longer delivered to the message queue.
Requirements
Header |
accapi.h |
sysgen |
SYSGEN_ACCELEROMETER |