Packet Sniffer SDK DLL Edition

HNAdapter :: Properties :: AdpGetUseHighPrecisionTime

 Previous Next

Returns flag status of using High Precision Time.

Syntax:

BOOL __stdcall AdpGetUseHighPrecisionTime(HANDLE hAdp);

Parameters:

hAdp

[in] HNAdapter object handle.

Return values:

If the function succeeds the return value will be either TRUE or FALSE. The default value is FALSE.

Description:

Use this property to obtain the value of the value of the flag that defines the method of captured packets timestamping. If this flag is set to TRUE, then in Windows NT based systems (NT/2k/XP/2k3/Vista) for obtaining a packet capture timestamp the kernel function KeQueryPerformanceCounter is used. Measurement units are hundreds of nanoseconds.

See also:HNAdapter, AdpSetUseHighPrecisionTime