include: Move "inline" right after the storage specifier.
[wine/multimedia.git] / include / atliface.idl
blobcbdae2817c06fb0c584b6d78cf3caa93a04468ef
1 /*
2 * Copyright 2005 Jacek Caban
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.
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.
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
19 import "ocidl.idl";
21 cpp_quote("#ifdef ATL_INITGUID")
22 cpp_quote("#include <initguid.h>")
23 cpp_quote("#endif")
26 object,
27 oleautomation,
28 uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3)
30 interface IRegistrar : IUnknown
32 HRESULT AddReplacement(
33 [in] LPCOLESTR Key,
34 [in] LPCOLESTR item);
36 HRESULT ClearReplacements();
38 HRESULT ResourceRegisterSz(
39 [in] LPCOLESTR resFileName,
40 [in] LPCOLESTR szID,
41 [in] LPCOLESTR szType);
43 HRESULT ResourceUnregisterSz(
44 [in] LPCOLESTR resFileName,
45 [in] LPCOLESTR szID,
46 [in] LPCOLESTR szType);
48 HRESULT FileRegister(
49 [in] LPCOLESTR fileName);
51 HRESULT FileUnregister(
52 [in] LPCOLESTR fileName);
54 HRESULT StringRegister(
55 [in] LPCOLESTR data);
57 HRESULT StringUnregister(
58 [in] LPCOLESTR data);
60 HRESULT ResourceRegister(
61 [in] LPCOLESTR resFileName,
62 [in] UINT nID,
63 [in] LPCOLESTR szType);
65 HRESULT ResourceUnregister(
66 [in] LPCOLESTR resFileName,
67 [in] UINT nID,
68 [in] LPCOLESTR szType);
71 cpp_quote("DEFINE_GUID(CLSID_Registrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);")
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);")
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)")