PDDModeSet (Compact 2013)
3/26/2014
This function changes the platform-dependent driver (PDD) mode and/or sampling interval.
Syntax
DWORD PDDModeSet(
DWORD dwContext,
ACC_HW_MODE hwMode,
DWORD dwIntervalMs
);
Parameters
- dwContext
[in] Context for the device returned by PDDInit (Accelerometer).
- hwMode
[in] ACC_HW_MODE enumeration that indicates the current hardware mode of the device.
- dwIntervalMs
[in] Rate, in milliseconds, at which accelerometer samples are to be streamed to the model device driver (MDD).
Return Value
Returns ERROR_SUCCESS if function succeeds; otherwise, returns a non-zero value.
Requirements
Library |
accmdd.lib |