Method ITcTask:GetCurPentiumTime

Retrieve time at method call in 100 nanoseconds intervals since 1. January 1601 (UTC)

Syntax


virtual HRESULT TCOMAPI GetCurPentiumTime(PLONGLONG
pCurTime)=0;

Parameter

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

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.

Description

Sample30: Timing Measurement shows usage of this method.