1 | /*
|
---|
2 | * Copyright 2005 Jacek Caban
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | import "ocidl.idl";
|
---|
29 |
|
---|
30 | cpp_quote("#ifdef ATL_INITGUID")
|
---|
31 | cpp_quote("#include <initguid.h>")
|
---|
32 | cpp_quote("#endif")
|
---|
33 |
|
---|
34 | [
|
---|
35 | object,
|
---|
36 | uuid(e21f8a85-b05d-4243-8183-c7cb405588f7),
|
---|
37 | pointer_default(unique)
|
---|
38 | ]
|
---|
39 | interface IRegistrarBase : IUnknown
|
---|
40 | {
|
---|
41 | HRESULT AddReplacement(
|
---|
42 | [in] LPCOLESTR Key,
|
---|
43 | [in] LPCOLESTR item);
|
---|
44 |
|
---|
45 | HRESULT ClearReplacements();
|
---|
46 | }
|
---|
47 |
|
---|
48 | [
|
---|
49 | object,
|
---|
50 | uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3),
|
---|
51 | pointer_default(unique)
|
---|
52 | ]
|
---|
53 | interface IRegistrar : IRegistrarBase
|
---|
54 | {
|
---|
55 | HRESULT ResourceRegisterSz(
|
---|
56 | [in] LPCOLESTR resFileName,
|
---|
57 | [in] LPCOLESTR szID,
|
---|
58 | [in] LPCOLESTR szType);
|
---|
59 |
|
---|
60 | HRESULT ResourceUnregisterSz(
|
---|
61 | [in] LPCOLESTR resFileName,
|
---|
62 | [in] LPCOLESTR szID,
|
---|
63 | [in] LPCOLESTR szType);
|
---|
64 |
|
---|
65 | HRESULT FileRegister(
|
---|
66 | [in] LPCOLESTR fileName);
|
---|
67 |
|
---|
68 | HRESULT FileUnregister(
|
---|
69 | [in] LPCOLESTR fileName);
|
---|
70 |
|
---|
71 | HRESULT StringRegister(
|
---|
72 | [in] LPCOLESTR data);
|
---|
73 |
|
---|
74 | HRESULT StringUnregister(
|
---|
75 | [in] LPCOLESTR data);
|
---|
76 |
|
---|
77 | HRESULT ResourceRegister(
|
---|
78 | [in] LPCOLESTR resFileName,
|
---|
79 | [in] UINT nID,
|
---|
80 | [in] LPCOLESTR szType);
|
---|
81 |
|
---|
82 | HRESULT ResourceUnregister(
|
---|
83 | [in] LPCOLESTR resFileName,
|
---|
84 | [in] UINT nID,
|
---|
85 | [in] LPCOLESTR szType);
|
---|
86 | }
|
---|
87 |
|
---|
88 | cpp_quote("DEFINE_GUID(CLSID_Registrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);")
|
---|
89 |
|
---|
90 | cpp_quote("HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**);")
|
---|
91 | cpp_quote("HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*);")
|
---|
92 | cpp_quote("BOOL WINAPI AtlAxWinInit(void);")
|
---|
93 |
|
---|
94 | cpp_quote("HWND WINAPI AtlAxCreateDialogW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);")
|
---|
95 | cpp_quote("HWND WINAPI AtlAxCreateDialogA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);")
|
---|
96 | cpp_quote("#define AtlAxCreateDialog WINELIB_NAME_AW(AtlAxCreateDialog)")
|
---|