Packet Sniffer SDK DLL Edition

HNLBAdapter :: Methods :: LbAdpGetOpenTime

 Previous Next

Returns the time of the latest opening of the loopback adapter.

Syntax:

DWORD __stdcall LbAdpGetOpenTime(HANDLE hLbAdp, DWORD *HiValue);

Parameters:

hLbAdp

[in] HNLBAdapter object handle.

HiValue

[out] The pointer to the variable, in which the high DWORD of the result will be stored. May be set to NULL if the application does not need these data.

Return values:

If the function succeeds the return value will be the low-order doubleword of the time of the latest opening of the loopback adapter, and if HiValue is non-NULL the function will put the high-order doubleword of this number into the variable pointed to by this parameter.

Description:

Use returned value to calculate the time of desired event since the moment of the loopback adapter opening. Measurement units are hundreds of nanoseconds since January 1, 1600.

See also:HNLBAdapter, PktGetTimeStamp, LbSesGetCreateTime, LbSesGetCloseTime