Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IIntervalTime::microSecondsToInterval ( P6UINT64  nMicroSeconds,
P6INTERVAL *  pInterval 
)
pure virtual

Convert the specified number of microseconds (1/1000000 second) into an interval time value.

This method performs arithmetic rounding.

Parameters
nMicroSecondsThe microseconds to convert into an interval time value.
pIntervalThe address of a P6R::P6INTERVAL in which will be placed the converted interval time value.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpInterval was NULL.
P6R::eNotInitializedThe initialize() method was not called successfully before calling this method.