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

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(D0C543E8-9AC3-4536-AA7F-3E36AE8C3E8D),
		dual,
		helpstring("IBasicAccess Interface"),
		pointer_default(unique)
	]
	interface IBasicAccess : IDispatch
	{
		//
		[id(1), helpstring("method getString")] HRESULT getString([out,retval] BSTR* theString);
		//
		[id(2), helpstring("method setString")] HRESULT setString([in] BSTR theString);
	};

	//
	[
		object,
		uuid(22F2DD92-3561-47c9-9330-C0D2A0508BD3),
		dual,
		helpstring("IArrayAccess Interface"),
		pointer_default(unique)
	]
	interface IArrayAccess : IDispatch
	{
		//
		[id(3), helpstring("method sum")] HRESULT sum([in] VARIANT theArray, [out,retval] double* theSum);
		//
		[id(4), helpstring("method getArray")] HRESULT getArray([out,retval] VARIANT* theArray);
	};

	//
	[
		object,
		uuid(59DBBFEF-FD3B-4ce5-BAA7-DECACED8C848),
		helpstring("IRawArrayAccess Interface")
	]
	interface IRawArrayAccess : IUnknown
	{
		//
		[id(5), helpstring("method putRawArray")] HRESULT putRawArray( [in] long size, [in,size_is(size)] double array[] );
		//
		[id(6), helpstring("method getRawArray")] HRESULT getRawArray( [in] long size, [out,size_is(size)] double array[] );
	};

[
	uuid(A1099843-B1A1-438A-9FDF-EE050335EE16),
	version(1.0),
	helpstring("BasicATLServer 1.0 Type Library")
]
library BASICATLSERVERLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(739DBC91-BF26-410E-871F-062E2F799D62),
		helpstring("TheCoClass Class")
	]
	//
	coclass TheCoClass
	{
		[default] interface IBasicAccess;
		interface IArrayAccess;
		interface IRawArrayAccess;
	};
};




Hosted by www.Geocities.ws

1