Share via


PDDPowerEventingEnable (Compact 7)

3/12/2014

This function enables logging of internal sensor power states.

Syntax

DWORD PDDPowerEventingEnable(
    DWORD dwContext,
    BOOL fEnable
);

Parameters

  • 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

See Also

Reference

Accelerometer PDD Functions