atl: Move atliface.idl to the global includes.
[wine] / include / atliface.idl
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 import "ocidl.idl";
20
21 cpp_quote("#ifdef ATL_INITGUID")
22 cpp_quote("#include <initguid.h>")
23 cpp_quote("#endif")
24
25 [
26     object,
27     oleautomation,
28     uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3)
29 ]
30 interface IRegistrar : IUnknown
31 {
32     HRESULT AddReplacement(
33         [in] LPCOLESTR Key,
34         [in] LPCOLESTR item);
35
36     HRESULT ClearReplacements();
37
38     HRESULT ResourceRegisterSz(
39         [in] LPCOLESTR resFileName,
40         [in] LPCOLESTR szID,
41         [in] LPCOLESTR szType);
42
43     HRESULT ResourceUnregisterSz(
44         [in] LPCOLESTR resFileName,
45         [in] LPCOLESTR szID,
46         [in] LPCOLESTR szType);
47
48     HRESULT FileRegister(
49         [in] LPCOLESTR fileName);
50
51     HRESULT FileUnregister(
52         [in] LPCOLESTR fileName);
53
54     HRESULT StringRegister(
55         [in] LPCOLESTR data);
56
57     HRESULT StringUnregister(
58         [in] LPCOLESTR data);
59
60     HRESULT ResourceRegister(
61         [in] LPCOLESTR resFileName,
62         [in] UINT nID,
63         [in] LPCOLESTR szType);
64
65     HRESULT ResourceUnregister(
66         [in] LPCOLESTR resFileName,
67         [in] UINT nID,
68         [in] LPCOLESTR szType);
69 }
70
71 cpp_quote("DEFINE_GUID(CLSID_ATLRegistrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);")
72
73 cpp_quote("HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**);")
74 cpp_quote("HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*);")
75 cpp_quote("BOOL WINAPI AtlAxWinInit(void);")
76
77 cpp_quote("HWND WINAPI AtlAxCreateDialogW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);")
78 cpp_quote("HWND WINAPI AtlAxCreateDialogA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);")
79 cpp_quote("#define     AtlAxCreateDialog WINELIB_NAME_AW(AtlAxCreateDialog")