Packet Sniffer SDK DLL Edition HNAdapterConfig :: Methods :: AdpCfgUpdate Previous Next
Updates the network adapter configuration.
Syntax: DWORD __stdcall AdpCfgUpdate(HANDLE hCfg, DWORD ChangeType); Parameters: hCfg ChangeType [in] The type of the network adapter settings to be updated as they are defined in the
HNAdapterConfigChange enumeration. Return values: HNERR_OK No errors. HNERR_REG_OPEN_ERROR OS registry reading error. HNERR_INVALID_HANDLE HNAdapterConfig handle has been created with an error.
Description: Use this function to update the settings of the network adapter described by the
HNAdapterConfig object. When this function succeeds, the
OnConfigChange event handler is called.
See also: HNAdapterConfig ,
HNAdapterConfigChange ,
OnConfigChange