GetGlobalName

This method is used to get an interface to global names previously registered by the RegisterGlobalName() method.

 

HRESULT GetGlobalName(

[in] BSTR Name,

[out, retval] VARIANT* pVal);

Parameters:

Return Values:

The return value obtained from the returned HRESULT can be one of the following:

 

Return value

Meaning

S_OK

Success.

E_FAIL

Catastrophic failure.