/ lib / win32com / test / pippo.idl
pippo.idl
 1  // TestServer.idl : IDL source for TestServer.dll
 2  //
 3  
 4  // This file will be processed by the MIDL tool to
 5  // produce the type library (TestServer.tlb) and marshalling code.
 6  
 7  import "oaidl.idl";
 8  import "ocidl.idl";
 9  	[
10  		object,
11  		uuid(50086EE8-F535-464B-806E-365ADBB727CF),
12  		dual,
13  		helpstring("ITestServerApp Interface"),
14  		pointer_default(unique)
15  	]
16  	interface ITestServerApp : IDispatch
17  	{
18  		[id(1), helpstring("method Test1")] HRESULT Test1([out, retval] ITestServerApp **pVal);
19  		[id(2), helpstring("method Test2")] HRESULT Test2([out, retval] VARIANT *pVar);
20  		[propget, id(3), helpstring("property MyProp1")] HRESULT MyProp1([out, retval] long *pVal);
21  	};
22  	[
23  		object,
24  		uuid(618DB2A3-D5BD-4850-B66A-828727EB37E5),
25  		dual,
26  		helpstring("IPippo Interface"),
27  		pointer_default(unique)
28  	]
29  	interface IPippo : IDispatch
30  	{		
31  		[id(1), helpstring("method Method1")] HRESULT Method1([out, retval] IPippo **val);
32  		[propget, id(2), helpstring("property MyProp1")] HRESULT MyProp1([out, retval] long *pVal);
33  		[id(3), helpstring("method Method2")] HRESULT Method2([in] long in1, [in, out] long *inout1,
34  		                                                      [out, retval] long *val);
35  		[id(4), helpstring("method Method3")] HRESULT Method3([in] VARIANT in1,
36  		                                                      [out, retval] VARIANT *val);
37  	};
38  
39  [
40  	uuid(7783054E-9A20-4584-8C62-6ED2A08F6AC6),
41  	version(1.0),
42  	helpstring("TestServer 1.0 Type Library")
43  ]
44  library TESTSERVERLib
45  {
46  	importlib("stdole32.tlb");
47  	importlib("stdole2.tlb");
48  	importlib("msado15.dll");
49  
50  	[
51  		uuid(49E44E89-5A72-4456-B1D5-68268A19E798),
52  		helpstring("TestServerApp Class")
53  	]
54  	coclass TestServerApp
55  	{
56  		[default] interface ITestServerApp;
57  	};
58  	[
59  		uuid(1F0F75D6-BD63-41B9-9F88-2D9D2E1AA5C3),
60  		helpstring("Pippo Class")
61  	]
62  	coclass Pippo
63  	{
64  		[default] interface IPippo;
65  	};
66  };