2006-06-09 21:09:49 +02:00
/*
* Monikers
*
* Copyright 1998 Marcus Meissner
* Copyright 1999 Noomen Hamza
* Copyright 2005 Robert Shearman ( for CodeWeavers )
*
* This library is free software ; you can redistribute it and / or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation ; either
* version 2.1 of the License , or ( at your option ) any later version .
*
* This library is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the GNU
* Lesser General Public License for more details .
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library ; if not , write to the Free Software
* Foundation , Inc . , 51 Franklin St , Fifth Floor , Boston , MA 02110 - 1301 , USA
*/
2002-12-19 02:09:40 +01:00
# ifndef __WINE_MONIKER_H__
# define __WINE_MONIKER_H__
2006-06-09 21:09:49 +02:00
DEFINE_OLEGUID ( CLSID_FileMoniker , 0x303 , 0 , 0 ) ;
DEFINE_OLEGUID ( CLSID_ItemMoniker , 0x304 , 0 , 0 ) ;
DEFINE_OLEGUID ( CLSID_AntiMoniker , 0x305 , 0 , 0 ) ;
DEFINE_OLEGUID ( CLSID_CompositeMoniker , 0x309 , 0 , 0 ) ;
DEFINE_OLEGUID ( CLSID_ClassMoniker , 0x31a , 0 , 0 ) ;
2008-01-31 15:45:10 +01:00
DEFINE_OLEGUID ( CLSID_PointerMoniker , 0x306 , 0 , 0 ) ;
2002-12-19 02:09:40 +01:00
2011-04-21 10:45:36 +02:00
HRESULT FileMonikerCF_Create ( REFIID riid , LPVOID * ppv ) DECLSPEC_HIDDEN ;
HRESULT ItemMonikerCF_Create ( REFIID riid , LPVOID * ppv ) DECLSPEC_HIDDEN ;
HRESULT AntiMonikerCF_Create ( REFIID riid , LPVOID * ppv ) DECLSPEC_HIDDEN ;
HRESULT CompositeMonikerCF_Create ( REFIID riid , LPVOID * ppv ) DECLSPEC_HIDDEN ;
HRESULT ClassMonikerCF_Create ( REFIID riid , LPVOID * ppv ) DECLSPEC_HIDDEN ;
HRESULT PointerMonikerCF_Create ( REFIID riid , LPVOID * ppv ) DECLSPEC_HIDDEN ;
HRESULT ComCatCF_Create ( REFIID riid , LPVOID * ppv ) DECLSPEC_HIDDEN ;
2005-05-19 16:22:14 +02:00
2007-04-05 12:34:59 +02:00
/* This function decomposes a String path to a String Table containing all the elements ("\" or "subDirectory" or "Directory" or "FileName") of the path */
2011-04-21 10:45:36 +02:00
int FileMonikerImpl_DecomposePath ( LPCOLESTR str , LPOLESTR * * stringTable ) DECLSPEC_HIDDEN ;
2007-04-05 12:34:59 +02:00
2007-03-27 19:21:23 +02:00
HRESULT FileMoniker_CreateFromDisplayName ( LPBC pbc , LPCOLESTR szDisplayName ,
2011-04-21 10:45:36 +02:00
LPDWORD pchEaten , LPMONIKER * ppmk ) DECLSPEC_HIDDEN ;
2007-03-27 19:21:23 +02:00
HRESULT ClassMoniker_CreateFromDisplayName ( LPBC pbc , LPCOLESTR szDisplayName ,
2011-04-21 10:45:36 +02:00
LPDWORD pchEaten , LPMONIKER * ppmk ) DECLSPEC_HIDDEN ;
2007-03-27 19:21:23 +02:00
2011-04-21 10:45:36 +02:00
HRESULT MonikerMarshal_Create ( IMoniker * inner , IUnknown * * outer ) DECLSPEC_HIDDEN ;
2005-05-19 16:22:14 +02:00
2002-12-19 02:09:40 +01:00
# endif /* __WINE_MONIKER_H__ */