PDDPowerEventingEnable (Compact 7)
3/12/2014
This function enables logging of internal sensor power states.
Syntax
DWORD PDDPowerEventingEnable(
DWORD dwContext,
BOOL fEnable
);
Parameters
- dwContext
[in] Context for the device returned by PDDInit (Accelerometer).
- fEnable
[in] Indicates whether logging is turned on or off. If TRUE, logging is turned on. If FALSE, logging is turned off.
Return Value
Returns ERROR_SUCCESS if function succeeds; otherwise, returns a non-zero value.
Requirements
Library |
accmdd.lib |