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

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(5EAFC626-35E3-4791-AC0A-CEACC8B393A6),
		dual,
		helpstring("ICalcSum Interface"),
		pointer_default(unique)
	]
	interface ICalcSum : IDispatch
	{
		[id(1), helpstring("method SumofNumbers")] HRESULT SumofNumbers([in]long lsum1, [in]long lsum2, [out,retval]long* total);
	};

[
	uuid(3FCEDEFA-56DE-47AD-9BE5-C542605B0E79),
	version(1.0),
	helpstring("SumCalculator 1.0 Type Library")
]
library SUMCALCULATOR
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(B288064B-670D-4F1F-ACB9-B4AD286C7046),
		helpstring("CalcSum Class")
	]
	coclass CalcSum
	{
		[default] interface ICalcSum;
	};
};
