Export (0) Print
Expand All

INetwork::GetNetworkId method

The GetNetworkId method returns the unique identifier of a network.

Syntax


HRESULT STDMETHODCALLTYPE GetNetworkId(
  [out]  GUID *pgdGuidNetworkId
);

Parameters

pgdGuidNetworkId [out]

Pointer to a GUID that specifies the network ID.

Return value

Returns S_OK if the method succeeds.

Remarks

The caller is responsible for allocating the buffer pointed to by pgdGuidNetworkId. This buffer must be large enough to hold a GUID.

Calling GetNetworkId will return S_OK even if the network requested has been deleted.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Netlistmgr.h

IDL

Netlistmgr.idl

See also

INetwork

 

 

Community Additions

ADD
Show:
© 2015 Microsoft