INetwork::GetName method (netlistmgr.h)

The GetName method returns the name of a network.

Syntax

HRESULT GetName(
  [out] BSTR *pszNetworkName
);

Parameters

[out] pszNetworkName

Pointer to the name of the network.

Return value

Returns S_OK if the method succeeds. Otherwise, the method returns the following value.

Return code Description
E_POINTER
The pointer passed is NULL.

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

See also

INetwork