OEMEthGetSecs (Windows Embedded CE 6.0)

1/5/2010

This function returns the number of seconds that have passed since a certain fixed time.

Syntax

DWORD OEMEthGetSecs (void); 

Parameters

None.

Return Value

Count of seconds that have passed since a certain fixed time.

Remarks

This function handles time-outs while in polling mode. The origin of the count is unimportant as long as the count is incremental.

Do not make system calls from within the OEMEth* functions. Also, avoid calling OAL functions that might call system functions.

For example, if the OEMGetRealTime function calls the FileTimeToSystemTime function, OEMEthGetSecs should not call OEMGetRealTime.

Requirements

Header halether.h
Library hal.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Tasks

Implementing the OEMPlatformInit Function

Reference

Boot Loader Timer Functions
OEMGetRealTime
KITLTRANSPORT

Concepts

BLCOMMON Code Library

Other Resources

FileTimeToSystemTime