HrFileTimeToSeconds

The HrFileTimeToSeconds function converts computer time units to seconds.

Quick Info

Header file: STATS.H
Library: STATS.LIB

HRESULT HrFileTimeToSeconds(
  FILETIME * pft, 
  DWORD * pdwSec  
);
 

Parameters

pft
Input parameter. Points to a time duration measured in MAPI FILETIME type units.
pdwSec
Output parameter. Points to the same time duration measured in seconds.

Return Values

See Return Values.

Remarks

The HrFileTimeToSeconds function converts a time-duration measurement from FILETIME type into seconds. It can be used whenever a result expressed as a FILETIME type needs to be reported to the end user.

For more information on this function, see Jump Window Functions in the Gateway Programmer's Reference.

For information on the FILETIME structure, see the MAPI Programmer's Reference.

See Also

HrJSCollectDataPoint, HrJSGetValue, HrJSOpen, JSClose