Partager via


ACCELEROMETER_CALLBACK (Compact 2013)

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

See Also

Reference

Accelerometer COREDLL.DLL Callbacks