struct CCL::IServiceDescription

Overview

#include <iservicemanager.h>

struct IServiceDescription: public CCL::IUnknown
{
    // methods

    virtual StringRef CCL_API getServiceName () const = 0;
    virtual StringRef CCL_API getServiceTitle () const = 0;
    virtual StringRef CCL_API getServiceDescription () const = 0;
    virtual tbool CCL_API isUserService () const = 0;
    virtual tbool CCL_API isUserEnabled () const = 0;
    virtual UIDRef CCL_API getServiceID () const = 0;
    virtual IUnknown*CCL_API getServiceInstance () const = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual StringRef CCL_API getServiceName () const = 0

Get service name.

virtual StringRef CCL_API getServiceTitle () const = 0

Get service title (possibly localized).

virtual StringRef CCL_API getServiceDescription () const = 0

Get service description (possibly localized).

virtual tbool CCL_API isUserService () const = 0

Check if service can be enabled/disabled by user.

virtual tbool CCL_API isUserEnabled () const = 0

Check if service is enabled by user.

virtual UIDRef CCL_API getServiceID () const = 0

Get service class identifier.

virtual IUnknown*CCL_API getServiceInstance () const = 0

Get service instance (null if not started).