Share via


INetCfg::Initialize method

The Initialize method initializes the network configuration by loading into memory all basic networking information for the operating system, which includes installed network components and current network binding paths and interfaces.

Syntax

HRESULT Initialize(
  [in] PVOID pvReserved
);

Parameters

  • pvReserved [in]
    Pointer to a buffer that contains basic networking information.

Return value

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

Remarks

If a particular object has already successfully called Initialize, then another call to Initialize returns NETCFG_E_ALREADY_INITIALIZED.

Requirements

Target platform

Desktop

Header

Netcfgx.h (include Netcfgx.h)

See also

INetCfg::Uninitialize

 

 

Send comments about this topic to Microsoft