ACCELEROMETER_CALLBACK (Compact 7)
3/12/2014
This function sends data to the device whenever new accelerometer samples are available.
Syntax
typedef DWORD ACCELEROMETER_CALLBACK(
ACC_DATA* pAccData,
__in_opt LPVOID plvCallbackParam
);
Parameters
- pAccData
[in] Pointer to an ACC_DATA structure that contains the new accelerometer sample.
- plvCallbackParam
[in] Pointer to any optional callback parameters.
Return Value
If the call succeeds, this function returns ERROR_SUCCESS.
Requirements
Header |
accapi.h |
sysgen |
SYSGEN_ACCELEROMETER |