INetwork::GetNetworkId method (netlistmgr.h)
The GetNetworkId method returns the unique identifier of a network.
Syntax
HRESULT GetNetworkId(
[out] GUID *pgdGuidNetworkId
);
Parameters
[out] pgdGuidNetworkId
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | netlistmgr.h |