Compartilhar via


timeGetSystemTime (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Timer Driver Functions
MMTIME
timeGetTime

Other Resources

Time Reference