Share via


AccMddPowerEvent (Compact 7)

3/12/2014

This function sets a common timestamp for data readings.

Syntax

void AccMddPowerEvent(
    DWORD dwMddContext,
    DWORD dwTimeStamp,
    PDD_POWER_STATE power,
    DWORD dwMilliWatts
);

Parameters

  • dwMddContext
    [in] Context of the model device driver (MDD).
  • dwTimeStamp
    [in] Common timestamp for the data readings, in milliseconds. The value for this parameter does not have to be an absolute value, as long as the value can mark the sample in the correct chronological order. This value can be set to CurMSec.
  • dwMilliWatts
    [in] Maximum power, in milliwatts.

Return Value

None.

Requirements

Library

accmdd.lib

See Also

Reference

Accelerometer MDD Functions