PDDRangeSet (Compact 7)
3/12/2014
This function sets the accelerometer's range and resolution.
Syntax
DWORD PDDRangeSet(
DWORD dwContext,
__in ACC_RANGE_RESOLUTION *pRange
);
Parameters
- dwContext
[in] Context for the device returned by PDDInit (Accelerometer).
- pRange
[in] Pointer to an ACC_RANGE_RESOLUTION structure that contains the range and resolution information.
Return Value
Returns ERROR_SUCCESS if function succeeds; otherwise, returns a non-zero value.
Requirements
Library |
accmdd.lib |