Last change
on this file since 793 was
793,
checked in by roman, 5 years ago
|
|
-
Property svn:mime-type set to
application/octet-stream
|
File size:
1.5 KB
|
Line | |
---|
1 | // Server.idl : IDL source for Server |
---|
2 | // |
---|
3 | |
---|
4 | // This file will be processed by the MIDL tool to |
---|
5 | // produce the type library (Server.tlb) and marshalling code. |
---|
6 | |
---|
7 | import "oaidl.idl"; |
---|
8 | import "ocidl.idl"; |
---|
9 | |
---|
10 | [ |
---|
11 | object, |
---|
12 | uuid(18846fb5-641b-4a9e-ad12-a47129340901), |
---|
13 | dual, |
---|
14 | oleautomation, |
---|
15 | nonextensible, |
---|
16 | pointer_default(unique) |
---|
17 | ] |
---|
18 | interface IFoo : IDispatch |
---|
19 | { |
---|
20 | [id(2)] HRESULT Init([in] BSTR User, [in] BSTR Password); |
---|
21 | [id(3)] HRESULT SetBitmap([in] BSTR szObjectType, [in] IPictureDisp* szBitmap); |
---|
22 | }; |
---|
23 | [ |
---|
24 | uuid(2ebd7a11-bdfd-4c27-9922-9e702f13c84c), |
---|
25 | version(1.0), |
---|
26 | ] |
---|
27 | library ServerLib |
---|
28 | { |
---|
29 | importlib("stdole2.tlb"); |
---|
30 | [ |
---|
31 | uuid(4f24991f-6c43-4f3d-8c41-7569465db249) |
---|
32 | ] |
---|
33 | coclass Foo |
---|
34 | { |
---|
35 | [default] interface IFoo; |
---|
36 | }; |
---|
37 | }; |
---|
38 | |
---|
39 | import "shobjidl.idl"; |
---|
Note: See
TracBrowser
for help on using the repository browser.