Condividi tramite


INetCfg::Uninitialize method

The Uninitialize method unloads from memory all basic networking information for the operating system.

Syntax

HRESULT Uninitialize(
   void 
);

Parameters

  • **
    None

Return value

Returns zero (S_OK) if successful, and returns NETCFG_E_NOTINITIALIZED if the INetCfg interface was not previously initialized. Otherwise, returns other NETCFG_E_* error codes if the network configuration fails to unload properly.

Remarks

The Uninitialize method is the last INetCfg method an application should call before calling the inherited Release method of INetCfg to release the network configuration object.

Requirements

Target platform

Desktop

Header

Netcfgx.h (include Netcfgx.h)

See also

INetCfg::Initialize

 

 

Send comments about this topic to Microsoft