Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

GetInterfaceSupportedTimestampCapabilities function (iphlpapi.h)

Retrieves the supported timestamp capabilities of a network adapter.

For more info, and code examples, see Packet timestamping.

Syntax

IPHLPAPI_DLL_LINKAGE DWORD GetInterfaceSupportedTimestampCapabilities(
 const NET_LUID *InterfaceLuid,
 PINTERFACE_TIMESTAMP_CAPABILITIES TimestampCapabilites
);

Parameters

InterfaceLuid

Type: _In_ CONST NET_LUID*

The network locally unique identifier (LUID) of the network adapter for which supported timestamp capabilities are to be retrieved.

TimestampCapabilites

Type: _Out_ PINTERFACE_TIMESTAMP_CAPABILITIES

If the function succeeds, then TimestampCapabilites returns a structure that describes the supported timestamp capabilities.

Return value

Type: DWORD

If the function succeeds, then it returns NO_ERROR. If the network card corresponding to InterfaceLuid isn't timestamp-aware, then the function returns ERROR_NOT_SUPPORTED.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header iphlpapi.h
Library Iphlpapi.lib
DLL Iphlpapi.dll

See also


Feedback

Was this page helpful?

Additional resources