Compartir a través de


INetCfgComponentPropertyUi::CancelProperties method

The CancelProperties method directs the notify object of the network component to disregard any proposed changes for the component's network configuration state.

Syntax

HRESULT CancelProperties(
   void 
);

Parameters

  • **
    None

Return value

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

Remarks

The network configuration subsystem calls CancelProperties after a user clicks Cancel on a custom property sheet. The CancelProperties method resets any proposed changes to the network configuration state of the component.

If a custom property sheet fails to display, the network configuration subsystem also calls CancelProperties to perform any required cleanup.

Requirements

Target platform

Desktop

Header

Netcfgn.h (include Netcfgn.h)

 

 

Send comments about this topic to Microsoft