Method ITcTask:GetCurPentiumTime

Querying the time when the method is called at intervals of 100 nanoseconds since January 1, 1601 (UTC).

Syntax

virtual HRESULT TCOMAPI GetCurPentiumTime(PLONGLONG 
pCurTime)=0;

Method ITcTask:GetCurPentiumTime 1: Return value

If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.

E_POINTER if the parameter pCurTime = NULL.

Parameter

Name

Type

Description

pCurTime

PLONGLONG

[out] This parameter stores the current time (UTC) in 100 nanosecond intervals since January 1, 1601.

Sample30: Timing Measurement illustrates the use of this method.