timeGetSystemTime

Syntax

WORD timeGetSystemTime(lpTime, wSize)

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

Parameters

LPMMTIME lpTime

Specifies a far pointer to an MMTIME data structure.

WORD wSize

Specifies the size of the MMTIME structure.

Return Value

Returns zero. The system time is returned in the ms field of the MMTIME structure.

Comments

The time is always returned in milliseconds.

See Also

timeGetTime