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.
- power
[in] PDD_POWER_STATE enumeration value.
- dwMilliWatts
[in] Maximum power, in milliwatts.
Return Value
None.
Requirements
Library |
accmdd.lib |