winecoreaudio: Remove GetAudioSessionWrapper.
[wine.git] / dlls / ole32 / moniker.h
blob94282b3fffc39c481b35972541613ced517ee605
1 /*
2 * Monikers
4 * Copyright 1998 Marcus Meissner
5 * Copyright 1999 Noomen Hamza
6 * Copyright 2005 Robert Shearman (for CodeWeavers)
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #ifndef __WINE_MONIKER_H__
24 #define __WINE_MONIKER_H__
26 DEFINE_OLEGUID( CLSID_FileMoniker, 0x303, 0, 0 );
27 DEFINE_OLEGUID( CLSID_ItemMoniker, 0x304, 0, 0 );
28 DEFINE_OLEGUID( CLSID_AntiMoniker, 0x305, 0, 0 );
29 DEFINE_OLEGUID( CLSID_PointerMoniker, 0x306, 0, 0 );
30 DEFINE_OLEGUID( CLSID_CompositeMoniker, 0x309, 0, 0 );
31 DEFINE_OLEGUID( CLSID_ClassMoniker, 0x31a, 0, 0 );
32 DEFINE_OLEGUID( CLSID_ObjrefMoniker, 0x327, 0, 0 );
34 HRESULT WINAPI FileMoniker_CreateInstance(IClassFactory *iface, IUnknown *pUnk, REFIID riid, void **ppv);
35 HRESULT WINAPI ItemMoniker_CreateInstance(IClassFactory *iface, IUnknown *pUnk, REFIID riid, void **ppv);
36 HRESULT WINAPI AntiMoniker_CreateInstance(IClassFactory *iface, IUnknown *pUnk, REFIID riid, void **ppv);
37 HRESULT WINAPI CompositeMoniker_CreateInstance(IClassFactory *iface, IUnknown *pUnk, REFIID riid, void **ppv);
38 HRESULT WINAPI ClassMoniker_CreateInstance(IClassFactory *iface, IUnknown *pUnk, REFIID riid, void **ppv);
39 HRESULT WINAPI ObjrefMoniker_CreateInstance(IClassFactory *iface, IUnknown *pUnk, REFIID riid, void **ppv);
40 HRESULT WINAPI PointerMoniker_CreateInstance(IClassFactory *iface, IUnknown *pUnk, REFIID riid, void **ppv);
41 HRESULT WINAPI ComCat_CreateInstance(IClassFactory *iface, IUnknown *pUnk, REFIID riid, void **ppv);
43 HRESULT FileMoniker_CreateFromDisplayName(LPBC pbc, LPCOLESTR szDisplayName,
44 LPDWORD pchEaten, LPMONIKER *ppmk);
45 HRESULT ClassMoniker_CreateFromDisplayName(LPBC pbc, LPCOLESTR szDisplayName,
46 LPDWORD pchEaten, LPMONIKER *ppmk);
48 HRESULT MonikerMarshal_Create(IMoniker *inner, IUnknown **outer);
50 BOOL is_anti_moniker(IMoniker *iface, DWORD *order);
51 HRESULT create_anti_moniker(DWORD order, IMoniker **ret);
53 #endif /* __WINE_MONIKER_H__ */