次の方法で共有


timeGetSystemTime (Compact 2013)

3/26/2014

This function retrieves the system time, in milliseconds. The system time is the time elapsed since the system started.

Syntax

MMRESULT timeGetSystemTime(
  LPMMTIME pmmt,
  UINT cbmmt
);

Parameters

  • pmmt
    [in] Pointer to an MMTIME structure.
  • cbmmt
    [in] Size, in bytes, of the MMTIME structure.

Return Value

Returns TIMERR_NOERROR.

The system time is returned in the ms member of the MMTIME structure.

Remarks

This function operates similarly to the timeGetTime function.

Requirements

Header

mmsystem.h

Library

Mmtimer.lib

See Also

Reference

Timer Driver Functions
MMTIME
timeGetTime

Other Resources

Time Reference