Share via


IMessengerServices::PrimaryService Property

Deprecated. Returns the MessengerService object for the primary service for the primary client.

Syntax

HRESULT IMessengerServices::get_PrimaryService(IDispatch **ppService);

Parameters

  • ppService
    Address of a pointer to a IMessengerService interface that represents the primary service.

Return Value

Returns one of the following values.

S_OK Success.
RPC_X_NULL_REF_POINTER ppService is a NULL pointer.

Remarks

The primary service is the service used when the IMessenger::AutoSignin method is called.

Note  This property is available for scripting languages.

Important  IMessengerServices::PrimaryService is no longer available in Windows Vista. See Windows Messenger for more information.

See Also

Using the Registration Mechanism