Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Retrieves cross timestamp info for a network adapter.
For more info, and code examples, see Packet timestamping.
Important
On Windows 10, version 2004 (10.0; Build 19041) and earlier, this function is reserved for system use, and you should not call it from your code. On later versions, this function is supported.
Syntax
IPHLPAPI_DLL_LINKAGE DWORD CaptureInterfaceHardwareCrossTimestamp(
const NET_LUID *InterfaceLuid,
PINTERFACE_HARDWARE_CROSSTIMESTAMP CrossTimestamp
);
Parameters
InterfaceLuid
Type: _In_ CONST NET_LUID*
The network locally unique identifier (LUID) of the network adapter from which a cross timestamp is to be retrieved.
CrossTimestamp
Type: _Inout_ PINTERFACE_HARDWARE_CROSSTIMESTAMP
The timestamp is returned by the network adapter in the form of an INTERFACE_HARDWARE_CROSSTIMESTAMP object.
Return value
Type: DWORD
A DWORD return code indicating success or failure.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 11 (Build 10.0.22000.194) |
| Minimum supported server | Windows Server 2022 |
| Target Platform | Windows |
| Header | iphlpapi.h |
| Library | Iphlpapi.lib |
| DLL | Iphlpapi.dll |