PDDRangeGet (Compact 2013)
3/26/2014
This function returns a list of ranges and resolutions supported by the platform-dependent driver (PDD) or the number of entries in the list so the caller can allocate the correct size for a subsequent call to the same function.
Syntax
DWORD PDDRangeGet(
DWORD dwContext,
__out_opt ACC_RANGE_RESOLUTION *paRange,
__in DWORD *pcRange
);
Parameters
- dwContext
[in] Context for the device returned by PDDInit (Accelerometer).
- paRange
[out] Pointer to an ACC_RANGE_RESOLUTION structure that contains range and resolution information.
- pcRange
[in] Number of entries in the list of ranges.
Return Value
Returns ERROR_SUCCESS if function succeeds; otherwise, returns a non-zero value.
Remarks
The model device driver (MDD) calls this function immediately after it calls PDDInit (Accelerometer).
Requirements
Library |
accmdd.lib |