Share via


IMessengerService::ServiceID Property

Deprecated. Retrieves the service ID of the contact associated with the selected service.

Syntax

HRESULT IMessengerService::get_ServiceID(BSTR *pbstrID);

Parameters

  • pbstrID
    Pointer to a BSTR that contains a string that identifies the service ID used by this contact.

Return Value

Returns one of the following values. 

S_OK Success.
E_FAIL General failure.
E_INVALIDARG pbstrID is a NULL pointer.

Remarks

Note  This property is available for scripting languages.

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

See Also

IMessengerService::ServiceName