pitm_setcurtime

This function sets a PITIMESTAMP structure to the current time. A passed flag directs the function to include the sub-second time portion.

Visual Basic format

Declare Sub pitm_setcurtime Lib "piapi32.dll" (
time0 As PITimeStamp,
ByVal incl_subsec%)

C format

void PIPROC pitm_setcurtime(

PITIMESTAMP PIPTR *timestamp,

pibool incl_subsec);

Returns

None

Arguments

timestamp (returned)

Structure containing timestamp. 

inc_subsec (passed)

If zero, fractions of one second will not be included in the timestamp. If non-zero, the subsecond portion will be included.

Usage Notes

None

Enabling Operational Intelligence