INetCfgComponentControl::CancelChanges method
The CancelChanges method directs the notify object of the network component to disregard any proposed changes for the component's network configuration state.
Syntax
HRESULT CancelChanges(
void
);
Parameters
- **
None
Return value
Returns zero (S_OK) if successful; otherwise, returns NETCFG_* codes that are defined in Netcfgx.h.
Remarks
The CancelChanges method resets any proposed changes to the network configuration state of the component.
Requirements
Target platform |
Desktop |
Header |
Netcfgn.h (include Netcfgn.h) |