File: component.idl

package info (click to toggle)
camlidl 1.05-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 872 kB
  • ctags: 1,131
  • sloc: ml: 4,894; ansic: 940; cpp: 897; makefile: 294; sh: 182
file content (40 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef CAMLIDL
import "oaidl.idl" ;
#endif

[
	object,
	uuid(32BB8326-B41B-11CF-A6BB-0080C7B2D682),
	pointer_default(unique),
	dual,
	oleautomation
]
interface IX : IDispatch
{
        HRESULT Fx() ;
        HRESULT FxStringIn([in] BSTR bstrIn) ; 
        HRESULT FxStringOut([out, retval] BSTR* pbstrOut) ; 
        HRESULT FxFakeError() ;
}

#ifndef CAMLIDL
[
	uuid(e59e3b70-dad8-11d2-8e2c-0060974fbf19),
	version(1.0),
	helpstring("CAMLIDL, test component 2, type library")
]
library ComponentLib
{
	importlib("stdole32.tlb") ;

	// Component
	[
		uuid(6a3d0750-dad9-11d2-8e2c-0060974fbf19),
		helpstring("Component Class")
	]
	coclass Component
	{
		[default] interface IX ;
	} ;
} ;
#endif