IMessengerService::MyFriendlyName Property

Deprecated. Retrieves the local user's friendly name that corresponds to the selected service.

Syntax

HRESULT IMessengerService::get_MyFriendlyName(BSTR *pbstrName);

Parameters

  • pbstrName
    Pointer to a BSTR containing the friendly name for the local user of this service.

Return Value

Returns one of the following values.

S_OK Success.
RPC_X_NULL_REF_POINTER pbstrName is a NULL pointer.
E_FAIL pbstrName returned a NULL string.
E_OUTOFMEMORY String comparison failed.
MSGR_E_NOT_LOGGED_ON This service is offline.

Remarks

Note  This property is not available for scripting languages.

Important  IMessengerService::MyFriendlyName is no longer available in Windows Vista. See Windows Messenger for more information.

See Also

IMessengerService::MySigninName, IMessengerService::MyStatus