// collectionServer.idl : IDL source for collectionServer.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (collectionServer.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
	//
	[
		object,
		uuid(AFEAFE5E-CFF0-4F95-BCDF-B125B5C7EDB6),
		dual,
		helpstring("IData Interface"),
		pointer_default(unique)
	]
	interface IData : IDispatch
	{
		[id(1), helpstring("method getID")] HRESULT getID([out,retval] long* theID);
		[id(2), helpstring("method getDataType")] HRESULT getDataType([out,retval] BSTR* vt);
		[id(3), helpstring("method getData")] HRESULT getData([out,retval] VARIANT* data);
		[id(4), helpstring("method putID")] HRESULT putID([in] long ID);
		[id(5), helpstring("method putData")] HRESULT putData([in] VARIANT* v);
		[id(6), helpstring("method getRef")] HRESULT getRef([out,retval] long* ref);
	};
	//
	[
		object,
		uuid(79BBBAB6-9063-4A40-97C1-B3C70009F4D6),
		dual,
		helpstring("ISingleObject Interface"),
		pointer_default(unique)
	]
	interface ISingleObject : IDispatch
	{
		[id(1), helpstring("method createData")] HRESULT createData([in] VARIANT* data, [out,retval] IData**);
		[id(2), helpstring("method modifyData")] HRESULT modifyData([in] VARIANT* data, [in] IData*);
		[id(3), helpstring("method putData")] HRESULT putData([in] IData* data);
		[id(4), helpstring("method getData")] HRESULT getData([out,retval] IData** data);
	};

[
	uuid(B0DD94C3-1A9D-4B66-8C66-F9DF30F58D56),
	version(1.0),
	helpstring("collectionServer 1.0 Type Library")
]
library COLLECTIONSERVERLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(179CCC27-6944-41E9-A8EC-BBC2E8035F4E),
		helpstring("TheCoData Class")
	]
	coclass TheCoData
	{
		[default] interface IData;
	};
	[
		uuid(1174B180-FCF9-4F84-B01B-9F8400A54305),
		helpstring("TheCoCollection Class")
	]
	coclass TheCoCollection
	{
		[default] interface ISingleObject;
	};
};



Hosted by www.Geocities.ws

1