/* This header file machine-generated by mktyplib.exe */ /* Interface to type library: RBApp */ #ifndef _RBApp_H_ #define _RBApp_H_ DEFINE_GUID(LIBID_RBApp,0xD6D0D960L,0xE0B8,0x11CE,0xBA,0xE6,0x08,0x00,0x2B,0xE5,0xC8,0x25); interface RBObject; interface RBBroker; interface RBAttr; interface RBServer; interface RBService; interface RBResource; interface RBList; typedef interface IUnknown * RBUnknownPtr; typedef interface RBObject FAR* RBObjectPtr; typedef interface RBBroker FAR* RBBrokerPtr; typedef interface RBAttr FAR* RBAttrPtr; typedef interface RBServer FAR* RBServerPtr; typedef interface RBService FAR* RBServicePtr; typedef interface RBResource FAR* RBResourcePtr; typedef interface RBList FAR* RBListPtr; typedef char FAR* RBString; typedef int RBInt; typedef int RBBool; typedef float RBFloat; typedef struct { unsigned int data1; unsigned short data2; unsigned short data3; unsigned char data4; unsigned char data5; unsigned char data6[6]; } RBUuid; typedef enum { RBStatusSuccess = 0, RBStatusUnknownFailure = 205750284, RBStatusNoSuchService = 205750292, RBStatusNoSuchServer = 205750300, RBStatusNoSuchResource = 205750308, RBStatusNoSuchAttribute = 205750316, RBStatusWrongAttributeType = 205750324, RBStatusNoMatchingServer = 205750332, RBStatusServerStartupFailure = 205750340, RBStatusNoWritePermission = 205750348, RBStatusBadServiceConfiguration = 205750356, RBStatusServiceDbMissing = 205750364, RBStatusNotYetImplemented = 205750372, RBStatusSyntaxNoService = 205750380, RBStatusSyntaxUnexpected = 205750388, RBStatusSyntaxMissingParen = 205750396, RBStatusSyntaxMissingValue = 205750404, RBStatusOutOfDate = 205750412, RBStatusNewHost = 205750420, RBStatusBadInputValue = 205750428, RBStatusNoMasterServer = 205750436, RBStatusStartupRequired = 205750444, RBStatusNoBroker = 205750452, RBStatusIllegalIdentifier = 205750460, RBStatusEntityDeleted = 205750468, RBStatusNoMemory = 205750476, RBStatusUuidFormat = 205750484, RBStatusNoServerIdentity = 205750492, RBStatusServiceExists = 205750500, RBStatusServerExists = 205750508, RBStatusAttributeExists = 205750516, RBStatusInformation = 205750524, RBStatusWarning = 205750532 } RBStatus; typedef int RBSubStatus; typedef enum { RBSeverityNone = 0, RBSeverityInformation = 1, RBSeverityWarning = 2, RBSeverityFatal = 3 } RBSeverity; DEFINE_GUID(IID_RBObject,0xB2D773AAL,0x0317,0x11CF,0xBA,0xF4,0x08,0x00,0x2B,0xE5,0xC8,0x25); /* Definition of interface: RBObject */ #undef INTERFACE #define INTERFACE RBObject DECLARE_INTERFACE_(RBObject, IUnknown) { #ifndef NO_BASEINTERFACE_FUNCS /* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG, AddRef)(THIS) PURE; STDMETHOD_(ULONG, Release)(THIS) PURE; #endif /* RBObject methods */ STDMETHOD_(RBString, GetName)(THIS) PURE; STDMETHOD_(RBObjectPtr, GetContainer)(THIS) PURE; STDMETHOD_(RBStatus, GetStatus)(THIS) PURE; STDMETHOD_(RBSubStatus, GetSubStatus)(THIS) PURE; STDMETHOD_(RBString, GetReason)(THIS) PURE; STDMETHOD_(RBSeverity, GetSeverity)(THIS) PURE; STDMETHOD_(RBBool, NextError)(THIS) PURE; STDMETHOD_(void, ResetError)(THIS) PURE; STDMETHOD_(RBString, GetErrorText)(THIS) PURE; STDMETHOD_(RBBool, Success)(THIS) PURE; STDMETHOD_(RBBool, Failed)(THIS) PURE; STDMETHOD_(RBBool, Warning)(THIS) PURE; STDMETHOD_(RBBool, Information)(THIS) PURE; }; DEFINE_GUID(IID_RBList,0x04742EE6L,0x025A,0x11CF,0xBA,0xF4,0x08,0x00,0x2B,0xE5,0xC8,0x25); /* Definition of interface: RBList */ #undef INTERFACE #define INTERFACE RBList DECLARE_INTERFACE_(RBList, IUnknown) { #ifndef NO_BASEINTERFACE_FUNCS /* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG, AddRef)(THIS) PURE; STDMETHOD_(ULONG, Release)(THIS) PURE; #endif /* RBList methods */ STDMETHOD_(RBInt, Count)(THIS) PURE; STDMETHOD_(RBObjectPtr, Next)(THIS) PURE; STDMETHOD_(RBObjectPtr, First)(THIS) PURE; STDMETHOD_(RBObjectPtr, Current)(THIS) PURE; STDMETHOD_(RBBool, Done)(THIS) PURE; STDMETHOD_(RBObjectPtr, Add)(THIS_ RBObjectPtr Object) PURE; STDMETHOD_(RBObjectPtr, Remove)(THIS) PURE; STDMETHOD_(void, Clear)(THIS) PURE; STDMETHOD_(RBObjectPtr, FindByName)(THIS_ RBString Name) PURE; STDMETHOD_(RBListPtr, Clone)(THIS) PURE; }; typedef enum { RBAttrTypeString, RBAttrTypeInt, RBAttrTypeFloat, RBAttrTypeBool, RBAttrTypeUuid } RBAttrType; typedef union { RBString RBAttrString; RBInt RBAttrInt; RBFloat RBAttrFloat; RBBool RBAttrBool; RBUuid RBAttrUuid; } RBAttrUnion; typedef struct { RBAttrType type; RBAttrUnion value; } RBAttrValue; DEFINE_GUID(IID_RBAttr,0xDC3CE760L,0xD802,0x11CE,0xBA,0xE0,0x08,0x00,0x2B,0xE5,0xC8,0x25); /* Definition of interface: RBAttr */ #undef INTERFACE #define INTERFACE RBAttr DECLARE_INTERFACE_(RBAttr, RBObject) { #ifndef NO_BASEINTERFACE_FUNCS /* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG, AddRef)(THIS) PURE; STDMETHOD_(ULONG, Release)(THIS) PURE; /* RBObject methods */ STDMETHOD_(RBString, GetName)(THIS) PURE; STDMETHOD_(RBObjectPtr, GetContainer)(THIS) PURE; STDMETHOD_(RBStatus, GetStatus)(THIS) PURE; STDMETHOD_(RBSubStatus, GetSubStatus)(THIS) PURE; STDMETHOD_(RBString, GetReason)(THIS) PURE; STDMETHOD_(RBSeverity, GetSeverity)(THIS) PURE; STDMETHOD_(RBBool, NextError)(THIS) PURE; STDMETHOD_(void, ResetError)(THIS) PURE; STDMETHOD_(RBString, GetErrorText)(THIS) PURE; STDMETHOD_(RBBool, Success)(THIS) PURE; STDMETHOD_(RBBool, Failed)(THIS) PURE; STDMETHOD_(RBBool, Warning)(THIS) PURE; STDMETHOD_(RBBool, Information)(THIS) PURE; #endif /* RBAttr methods */ STDMETHOD_(RBAttrType, GetAttrType)(THIS) PURE; STDMETHOD_(RBString, GetValueString)(THIS) PURE; STDMETHOD_(RBInt, GetValueInt)(THIS) PURE; STDMETHOD_(RBFloat, GetValueFloat)(THIS) PURE; STDMETHOD_(RBBool, GetValueBool)(THIS) PURE; STDMETHOD_(RBUuid FAR*, GetValueUuid)(THIS) PURE; STDMETHOD_(RBAttrValue FAR*, GetValue)(THIS) PURE; }; DEFINE_GUID(IID_RBService,0x364D3C50L,0xD8B1,0x11CE,0xBA,0xE1,0x08,0x00,0x2B,0xE5,0xC8,0x25); /* Definition of interface: RBService */ #undef INTERFACE #define INTERFACE RBService DECLARE_INTERFACE_(RBService, RBObject) { #ifndef NO_BASEINTERFACE_FUNCS /* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG, AddRef)(THIS) PURE; STDMETHOD_(ULONG, Release)(THIS) PURE; /* RBObject methods */ STDMETHOD_(RBString, GetName)(THIS) PURE; STDMETHOD_(RBObjectPtr, GetContainer)(THIS) PURE; STDMETHOD_(RBStatus, GetStatus)(THIS) PURE; STDMETHOD_(RBSubStatus, GetSubStatus)(THIS) PURE; STDMETHOD_(RBString, GetReason)(THIS) PURE; STDMETHOD_(RBSeverity, GetSeverity)(THIS) PURE; STDMETHOD_(RBBool, NextError)(THIS) PURE; STDMETHOD_(void, ResetError)(THIS) PURE; STDMETHOD_(RBString, GetErrorText)(THIS) PURE; STDMETHOD_(RBBool, Success)(THIS) PURE; STDMETHOD_(RBBool, Failed)(THIS) PURE; STDMETHOD_(RBBool, Warning)(THIS) PURE; STDMETHOD_(RBBool, Information)(THIS) PURE; #endif /* RBService methods */ STDMETHOD_(RBUuid FAR*, GetUuid)(THIS) PURE; STDMETHOD_(RBAttrPtr, GetAttributeByName)(THIS_ RBString Name) PURE; STDMETHOD_(RBListPtr, GetAllAttributes)(THIS) PURE; STDMETHOD_(void, SetAttrString)(THIS_ RBString Name, RBString Value) PURE; STDMETHOD_(void, SetAttrInt)(THIS_ RBString Name, RBInt Value) PURE; STDMETHOD_(void, SetAttrFloat)(THIS_ RBString Name, RBFloat Value) PURE; STDMETHOD_(void, SetAttrBool)(THIS_ RBString Name, RBBool Value) PURE; STDMETHOD_(void, SetAttrUuid)(THIS_ RBString Name, RBUuid FAR* Value) PURE; STDMETHOD_(void, SetAttrValue)(THIS_ RBString Name, RBAttrValue FAR* Value) PURE; STDMETHOD_(void, DeleteAttribute)(THIS_ RBString Name) PURE; STDMETHOD_(RBListPtr, GetServersByQuery)(THIS_ RBString Criteria) PURE; STDMETHOD_(RBListPtr, GetProvidersByQuery)(THIS_ RBString Criteria) PURE; STDMETHOD_(RBListPtr, SelectServers)(THIS_ RBString Criteria) PURE; STDMETHOD_(RBServerPtr, Start)(THIS_ RBString Criteria) PURE; STDMETHOD_(RBResourcePtr, CreateResource)(THIS) PURE; STDMETHOD_(void, Update)(THIS) PURE; STDMETHOD_(void, Delete)(THIS) PURE; STDMETHOD_(RBBool, IsExecutable)(THIS) PURE; }; typedef float RBServerPriority; typedef enum { RBServerStartWait, RBServerStartNoWait } RBServerStartType; typedef enum { RBUpdateOnDemand, RBUpdateContinuous } RBUpdateMode; typedef void FAR* RBServerCallbackPtr; DEFINE_GUID(IID_RBServer,0x7BD3BE50L,0xD8AD,0x11CE,0xBA,0xE1,0x08,0x00,0x2B,0xE5,0xC8,0x25); /* Definition of interface: RBServer */ #undef INTERFACE #define INTERFACE RBServer DECLARE_INTERFACE_(RBServer, RBObject) { #ifndef NO_BASEINTERFACE_FUNCS /* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG, AddRef)(THIS) PURE; STDMETHOD_(ULONG, Release)(THIS) PURE; /* RBObject methods */ STDMETHOD_(RBString, GetName)(THIS) PURE; STDMETHOD_(RBObjectPtr, GetContainer)(THIS) PURE; STDMETHOD_(RBStatus, GetStatus)(THIS) PURE; STDMETHOD_(RBSubStatus, GetSubStatus)(THIS) PURE; STDMETHOD_(RBString, GetReason)(THIS) PURE; STDMETHOD_(RBSeverity, GetSeverity)(THIS) PURE; STDMETHOD_(RBBool, NextError)(THIS) PURE; STDMETHOD_(void, ResetError)(THIS) PURE; STDMETHOD_(RBString, GetErrorText)(THIS) PURE; STDMETHOD_(RBBool, Success)(THIS) PURE; STDMETHOD_(RBBool, Failed)(THIS) PURE; STDMETHOD_(RBBool, Warning)(THIS) PURE; STDMETHOD_(RBBool, Information)(THIS) PURE; #endif /* RBServer methods */ STDMETHOD_(RBAttrPtr, GetAttributeByName)(THIS_ RBString Name) PURE; STDMETHOD_(RBListPtr, GetAllAttributes)(THIS) PURE; STDMETHOD_(RBBool, NeedsCommand)(THIS) PURE; STDMETHOD_(RBInt, NeedsArguments)(THIS) PURE; STDMETHOD_(void, SetArgument)(THIS_ RBString Argument) PURE; STDMETHOD_(RBString, GetCommand)(THIS) PURE; STDMETHOD_(void, SetCallback)(THIS_ RBServerCallbackPtr Callback) PURE; STDMETHOD_(RBServerCallbackPtr, GetCallback)(THIS) PURE; STDMETHOD_(RBServerStartType, GetStartType)(THIS) PURE; STDMETHOD_(void, SetStartType)(THIS_ RBServerStartType Type) PURE; STDMETHOD_(void, Start)(THIS) PURE; STDMETHOD_(RBServerPriority, GetPriority)(THIS) PURE; }; DEFINE_GUID(IID_RBResource,0x7F90E010L,0x6709,0x11CF,0xBB,0x09,0x08,0x00,0x2B,0xE5,0xC8,0x25); /* Definition of interface: RBResource */ #undef INTERFACE #define INTERFACE RBResource DECLARE_INTERFACE_(RBResource, RBObject) { #ifndef NO_BASEINTERFACE_FUNCS /* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG, AddRef)(THIS) PURE; STDMETHOD_(ULONG, Release)(THIS) PURE; /* RBObject methods */ STDMETHOD_(RBString, GetName)(THIS) PURE; STDMETHOD_(RBObjectPtr, GetContainer)(THIS) PURE; STDMETHOD_(RBStatus, GetStatus)(THIS) PURE; STDMETHOD_(RBSubStatus, GetSubStatus)(THIS) PURE; STDMETHOD_(RBString, GetReason)(THIS) PURE; STDMETHOD_(RBSeverity, GetSeverity)(THIS) PURE; STDMETHOD_(RBBool, NextError)(THIS) PURE; STDMETHOD_(void, ResetError)(THIS) PURE; STDMETHOD_(RBString, GetErrorText)(THIS) PURE; STDMETHOD_(RBBool, Success)(THIS) PURE; STDMETHOD_(RBBool, Failed)(THIS) PURE; STDMETHOD_(RBBool, Warning)(THIS) PURE; STDMETHOD_(RBBool, Information)(THIS) PURE; #endif /* RBResource methods */ STDMETHOD_(RBAttrPtr, GetAttributeByName)(THIS_ RBString Name) PURE; STDMETHOD_(RBListPtr, GetAllAttributes)(THIS) PURE; STDMETHOD_(void, SetAttrString)(THIS_ RBString Name, RBString Value) PURE; STDMETHOD_(void, SetAttrInt)(THIS_ RBString Name, RBInt Value) PURE; STDMETHOD_(void, SetAttrFloat)(THIS_ RBString Name, RBFloat Value) PURE; STDMETHOD_(void, SetAttrBool)(THIS_ RBString Name, RBBool Value) PURE; STDMETHOD_(void, SetAttrUuid)(THIS_ RBString Name, RBUuid FAR* Value) PURE; STDMETHOD_(void, SetAttrValue)(THIS_ RBString Name, RBAttrValue FAR* Value) PURE; STDMETHOD_(void, DeleteAttribute)(THIS_ RBString Name) PURE; STDMETHOD_(RBUpdateMode, GetUpdateMode)(THIS) PURE; STDMETHOD_(void, SetUpdateMode)(THIS_ RBUpdateMode Mode) PURE; STDMETHOD_(void, Update)(THIS) PURE; STDMETHOD_(void, Delete)(THIS) PURE; }; DEFINE_GUID(IID_RBBroker,0x89E612C0L,0xD8B2,0x11CE,0xBA,0xE1,0x08,0x00,0x2B,0xE5,0xC8,0x25); /* Definition of interface: RBBroker */ #undef INTERFACE #define INTERFACE RBBroker DECLARE_INTERFACE_(RBBroker, RBObject) { #ifndef NO_BASEINTERFACE_FUNCS /* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG, AddRef)(THIS) PURE; STDMETHOD_(ULONG, Release)(THIS) PURE; /* RBObject methods */ STDMETHOD_(RBString, GetName)(THIS) PURE; STDMETHOD_(RBObjectPtr, GetContainer)(THIS) PURE; STDMETHOD_(RBStatus, GetStatus)(THIS) PURE; STDMETHOD_(RBSubStatus, GetSubStatus)(THIS) PURE; STDMETHOD_(RBString, GetReason)(THIS) PURE; STDMETHOD_(RBSeverity, GetSeverity)(THIS) PURE; STDMETHOD_(RBBool, NextError)(THIS) PURE; STDMETHOD_(void, ResetError)(THIS) PURE; STDMETHOD_(RBString, GetErrorText)(THIS) PURE; STDMETHOD_(RBBool, Success)(THIS) PURE; STDMETHOD_(RBBool, Failed)(THIS) PURE; STDMETHOD_(RBBool, Warning)(THIS) PURE; STDMETHOD_(RBBool, Information)(THIS) PURE; #endif /* RBBroker methods */ STDMETHOD_(RBServicePtr, GetServiceByName)(THIS_ RBString Name) PURE; STDMETHOD_(RBServicePtr, GetServiceByUuid)(THIS_ RBUuid FAR* Uuid) PURE; STDMETHOD_(RBListPtr, GetAllServices)(THIS) PURE; STDMETHOD_(RBServicePtr, CreateService)(THIS_ RBString Name, RBUuid FAR* Identity) PURE; STDMETHOD_(void, GetVersion)(THIS_ RBInt FAR* Major, RBInt FAR* Minor) PURE; }; #endif