Partager via


INetCfg::Cancel method

The Cancel method disregards any proposed changes for the network configuration state.

Syntax

HRESULT Cancel(
   void 
);

Parameters

  • **
    None

Return value

Returns zero (S_OK) if successful; otherwise, returns NETCFG_* codes that are defined in Netcfgx.h.

Remarks

The Cancel method calls the INetCfgComponentControl::CancelChanges method for each component's notify object.

Requirements

Target platform

Desktop

Header

Netcfgx.h (include Netcfgx.h)

See also

INetCfgComponentControl::CancelChanges

 

 

Send comments about this topic to Microsoft