shell32: Mark internal symbols as hidden.
This commit is contained in:
parent
34ba20fe35
commit
4485696248
|
@ -51,7 +51,7 @@ typedef struct CPlItem {
|
||||||
unsigned id;
|
unsigned id;
|
||||||
} CPlItem;
|
} CPlItem;
|
||||||
|
|
||||||
CPlApplet* Control_LoadApplet(HWND hWnd, LPCWSTR cmd, CPanel* panel);
|
CPlApplet* Control_LoadApplet(HWND hWnd, LPCWSTR cmd, CPanel* panel) DECLSPEC_HIDDEN;
|
||||||
CPlApplet* Control_UnloadApplet(CPlApplet* applet);
|
CPlApplet* Control_UnloadApplet(CPlApplet* applet) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif /* __WINE_SHELL_CPANEL_H */
|
#endif /* __WINE_SHELL_CPANEL_H */
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
#include "winuser.h"
|
#include "winuser.h"
|
||||||
#include "shlobj.h"
|
#include "shlobj.h"
|
||||||
|
|
||||||
extern void pdump (LPCITEMIDLIST pidl);
|
extern void pdump (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
extern BOOL pcheck (LPCITEMIDLIST pidl);
|
extern BOOL pcheck (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
extern const char * shdebugstr_guid( const struct _GUID *id );
|
extern const char * shdebugstr_guid( const struct _GUID *id ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif /* __WINE_SHELL32_DEBUGHLP_H */
|
#endif /* __WINE_SHELL32_DEBUGHLP_H */
|
||||||
|
|
|
@ -1953,7 +1953,7 @@ static HRESULT WINAPI NSTCEvents_fnOnGetDefaultIconIndex(INameSpaceTreeControlEv
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const INameSpaceTreeControlEventsVtbl vt_INameSpaceTreeControlEvents = {
|
static const INameSpaceTreeControlEventsVtbl vt_INameSpaceTreeControlEvents = {
|
||||||
NSTCEvents_fnQueryInterface,
|
NSTCEvents_fnQueryInterface,
|
||||||
NSTCEvents_fnAddRef,
|
NSTCEvents_fnAddRef,
|
||||||
NSTCEvents_fnRelease,
|
NSTCEvents_fnRelease,
|
||||||
|
|
|
@ -19,12 +19,12 @@
|
||||||
#include "shlobj.h"
|
#include "shlobj.h"
|
||||||
|
|
||||||
/* Creates an IEnumIDList; add LPITEMIDLISTs to it with AddToEnumList. */
|
/* Creates an IEnumIDList; add LPITEMIDLISTs to it with AddToEnumList. */
|
||||||
LPENUMIDLIST IEnumIDList_Constructor(void);
|
LPENUMIDLIST IEnumIDList_Constructor(void) DECLSPEC_HIDDEN;
|
||||||
BOOL AddToEnumList(IEnumIDList *list, LPITEMIDLIST pidl);
|
BOOL AddToEnumList(IEnumIDList *list, LPITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Enumerates the folders and/or files (depending on dwFlags) in lpszPath and
|
/* Enumerates the folders and/or files (depending on dwFlags) in lpszPath and
|
||||||
* adds them to the already-created list.
|
* adds them to the already-created list.
|
||||||
*/
|
*/
|
||||||
BOOL CreateFolderEnumList(IEnumIDList *list, LPCWSTR lpszPath, DWORD dwFlags);
|
BOOL CreateFolderEnumList(IEnumIDList *list, LPCWSTR lpszPath, DWORD dwFlags) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif /* ndef __ENUMIDLIST_H__ */
|
#endif /* ndef __ENUMIDLIST_H__ */
|
||||||
|
|
|
@ -188,29 +188,29 @@ typedef struct tagPIDLDATA
|
||||||
/*
|
/*
|
||||||
* getting special values from simple pidls
|
* getting special values from simple pidls
|
||||||
*/
|
*/
|
||||||
DWORD _ILSimpleGetText (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
DWORD _ILSimpleGetText (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize) DECLSPEC_HIDDEN;
|
||||||
DWORD _ILSimpleGetTextW (LPCITEMIDLIST pidl, LPWSTR pOut, UINT uOutSize);
|
DWORD _ILSimpleGetTextW (LPCITEMIDLIST pidl, LPWSTR pOut, UINT uOutSize) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILGetFileDate (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
BOOL _ILGetFileDate (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize) DECLSPEC_HIDDEN;
|
||||||
DWORD _ILGetFileSize (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
DWORD _ILGetFileSize (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILGetExtension (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
BOOL _ILGetExtension (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize) DECLSPEC_HIDDEN;
|
||||||
void _ILGetFileType (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
void _ILGetFileType (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize) DECLSPEC_HIDDEN;
|
||||||
DWORD _ILGetFileAttributes (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
DWORD _ILGetFileAttributes (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
BOOL _ILGetFileDateTime (LPCITEMIDLIST pidl, FILETIME *ft);
|
BOOL _ILGetFileDateTime (LPCITEMIDLIST pidl, FILETIME *ft) DECLSPEC_HIDDEN;
|
||||||
DWORD _ILGetDrive (LPCITEMIDLIST, LPSTR, UINT);
|
DWORD _ILGetDrive (LPCITEMIDLIST, LPSTR, UINT) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* testing simple pidls
|
* testing simple pidls
|
||||||
*/
|
*/
|
||||||
BOOL _ILIsUnicode (LPCITEMIDLIST pidl);
|
BOOL _ILIsUnicode (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILIsDesktop (LPCITEMIDLIST pidl);
|
BOOL _ILIsDesktop (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILIsMyComputer (LPCITEMIDLIST pidl);
|
BOOL _ILIsMyComputer (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILIsDrive (LPCITEMIDLIST pidl);
|
BOOL _ILIsDrive (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILIsFolder (LPCITEMIDLIST pidl);
|
BOOL _ILIsFolder (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILIsValue (LPCITEMIDLIST pidl);
|
BOOL _ILIsValue (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILIsSpecialFolder (LPCITEMIDLIST pidl);
|
BOOL _ILIsSpecialFolder (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILIsPidlSimple (LPCITEMIDLIST pidl);
|
BOOL _ILIsPidlSimple (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL _ILIsCPanelStruct (LPCITEMIDLIST pidl);
|
BOOL _ILIsCPanelStruct (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
static inline
|
static inline
|
||||||
BOOL _ILIsEqualSimple (LPCITEMIDLIST pidlA, LPCITEMIDLIST pidlB)
|
BOOL _ILIsEqualSimple (LPCITEMIDLIST pidlA, LPCITEMIDLIST pidlB)
|
||||||
{
|
{
|
||||||
|
@ -227,50 +227,50 @@ BOOL _ILIsEmpty (LPCITEMIDLIST pidl) { return _ILIsDesktop(pidl)
|
||||||
/* Creates a PIDL with guid format and type type, which must be one of PT_GUID,
|
/* Creates a PIDL with guid format and type type, which must be one of PT_GUID,
|
||||||
* PT_SHELLEXT, or PT_YAGUID.
|
* PT_SHELLEXT, or PT_YAGUID.
|
||||||
*/
|
*/
|
||||||
LPITEMIDLIST _ILCreateGuid(PIDLTYPE type, REFIID guid);
|
LPITEMIDLIST _ILCreateGuid(PIDLTYPE type, REFIID guid) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Like _ILCreateGuid, but using the string szGUID. */
|
/* Like _ILCreateGuid, but using the string szGUID. */
|
||||||
LPITEMIDLIST _ILCreateGuidFromStrA(LPCSTR szGUID);
|
LPITEMIDLIST _ILCreateGuidFromStrA(LPCSTR szGUID) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateGuidFromStrW(LPCWSTR szGUID);
|
LPITEMIDLIST _ILCreateGuidFromStrW(LPCWSTR szGUID) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Commonly used PIDLs representing file system objects. */
|
/* Commonly used PIDLs representing file system objects. */
|
||||||
LPITEMIDLIST _ILCreateDesktop (void);
|
LPITEMIDLIST _ILCreateDesktop (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateFromFindDataW(const WIN32_FIND_DATAW *stffile);
|
LPITEMIDLIST _ILCreateFromFindDataW(const WIN32_FIND_DATAW *stffile) DECLSPEC_HIDDEN;
|
||||||
HRESULT _ILCreateFromPathW (LPCWSTR szPath, LPITEMIDLIST* ppidl);
|
HRESULT _ILCreateFromPathW (LPCWSTR szPath, LPITEMIDLIST* ppidl) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Other helpers */
|
/* Other helpers */
|
||||||
LPITEMIDLIST _ILCreateMyComputer (void);
|
LPITEMIDLIST _ILCreateMyComputer (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateMyDocuments (void);
|
LPITEMIDLIST _ILCreateMyDocuments (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateIExplore (void);
|
LPITEMIDLIST _ILCreateIExplore (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateControlPanel (void);
|
LPITEMIDLIST _ILCreateControlPanel (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreatePrinters (void);
|
LPITEMIDLIST _ILCreatePrinters (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateNetwork (void);
|
LPITEMIDLIST _ILCreateNetwork (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateNetHood (void);
|
LPITEMIDLIST _ILCreateNetHood (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateBitBucket (void);
|
LPITEMIDLIST _ILCreateBitBucket (void) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateDrive (LPCWSTR);
|
LPITEMIDLIST _ILCreateDrive (LPCWSTR) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST _ILCreateEntireNetwork (void);
|
LPITEMIDLIST _ILCreateEntireNetwork (void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* helper functions (getting struct-pointer)
|
* helper functions (getting struct-pointer)
|
||||||
*/
|
*/
|
||||||
LPPIDLDATA _ILGetDataPointer (LPCITEMIDLIST);
|
LPPIDLDATA _ILGetDataPointer (LPCITEMIDLIST) DECLSPEC_HIDDEN;
|
||||||
LPSTR _ILGetTextPointer (LPCITEMIDLIST);
|
LPSTR _ILGetTextPointer (LPCITEMIDLIST) DECLSPEC_HIDDEN;
|
||||||
IID *_ILGetGUIDPointer (LPCITEMIDLIST pidl);
|
IID *_ILGetGUIDPointer (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
FileStructW *_ILGetFileStructW (LPCITEMIDLIST pidl);
|
FileStructW *_ILGetFileStructW (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* debug helper
|
* debug helper
|
||||||
*/
|
*/
|
||||||
void pdump (LPCITEMIDLIST pidl);
|
void pdump (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
BOOL pcheck (LPCITEMIDLIST pidl);
|
BOOL pcheck (LPCITEMIDLIST pidl) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* aPidl helper
|
* aPidl helper
|
||||||
*/
|
*/
|
||||||
void _ILFreeaPidl(LPITEMIDLIST * apidl, UINT cidl);
|
void _ILFreeaPidl(LPITEMIDLIST * apidl, UINT cidl) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST * _ILCopyaPidl(const LPCITEMIDLIST * apidlsrc, UINT cidl);
|
LPITEMIDLIST * _ILCopyaPidl(const LPCITEMIDLIST * apidlsrc, UINT cidl) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST * _ILCopyCidaToaPidl(LPITEMIDLIST* pidl, const CIDA * cida);
|
LPITEMIDLIST * _ILCopyCidaToaPidl(LPITEMIDLIST* pidl, const CIDA * cida) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
BOOL ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR path, DWORD type);
|
BOOL ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR path, DWORD type) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -40,76 +40,76 @@
|
||||||
/*******************************************
|
/*******************************************
|
||||||
* global SHELL32.DLL variables
|
* global SHELL32.DLL variables
|
||||||
*/
|
*/
|
||||||
extern HMODULE huser32;
|
extern HMODULE huser32 DECLSPEC_HIDDEN;
|
||||||
extern HINSTANCE shell32_hInstance;
|
extern HINSTANCE shell32_hInstance DECLSPEC_HIDDEN;
|
||||||
extern HIMAGELIST ShellSmallIconList;
|
extern HIMAGELIST ShellSmallIconList DECLSPEC_HIDDEN;
|
||||||
extern HIMAGELIST ShellBigIconList;
|
extern HIMAGELIST ShellBigIconList DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Iconcache */
|
/* Iconcache */
|
||||||
#define INVALID_INDEX -1
|
#define INVALID_INDEX -1
|
||||||
BOOL SIC_Initialize(void);
|
BOOL SIC_Initialize(void) DECLSPEC_HIDDEN;
|
||||||
void SIC_Destroy(void);
|
void SIC_Destroy(void) DECLSPEC_HIDDEN;
|
||||||
BOOL PidlToSicIndex (IShellFolder * sh, LPCITEMIDLIST pidl, BOOL bBigIcon, UINT uFlags, int * pIndex);
|
BOOL PidlToSicIndex (IShellFolder * sh, LPCITEMIDLIST pidl, BOOL bBigIcon, UINT uFlags, int * pIndex) DECLSPEC_HIDDEN;
|
||||||
INT SIC_GetIconIndex (LPCWSTR sSourceFile, INT dwSourceIndex, DWORD dwFlags );
|
INT SIC_GetIconIndex (LPCWSTR sSourceFile, INT dwSourceIndex, DWORD dwFlags ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Classes Root */
|
/* Classes Root */
|
||||||
BOOL HCR_MapTypeToValueW(LPCWSTR szExtension, LPWSTR szFileType, LONG len, BOOL bPrependDot);
|
BOOL HCR_MapTypeToValueW(LPCWSTR szExtension, LPWSTR szFileType, LONG len, BOOL bPrependDot) DECLSPEC_HIDDEN;
|
||||||
BOOL HCR_GetDefaultVerbW( HKEY hkeyClass, LPCWSTR szVerb, LPWSTR szDest, DWORD len );
|
BOOL HCR_GetDefaultVerbW( HKEY hkeyClass, LPCWSTR szVerb, LPWSTR szDest, DWORD len ) DECLSPEC_HIDDEN;
|
||||||
BOOL HCR_GetExecuteCommandW( HKEY hkeyClass, LPCWSTR szClass, LPCWSTR szVerb, LPWSTR szDest, DWORD len );
|
BOOL HCR_GetExecuteCommandW( HKEY hkeyClass, LPCWSTR szClass, LPCWSTR szVerb, LPWSTR szDest, DWORD len ) DECLSPEC_HIDDEN;
|
||||||
BOOL HCR_GetDefaultIconW(LPCWSTR szClass, LPWSTR szDest, DWORD len, int* picon_idx);
|
BOOL HCR_GetDefaultIconW(LPCWSTR szClass, LPWSTR szDest, DWORD len, int* picon_idx) DECLSPEC_HIDDEN;
|
||||||
BOOL HCR_GetClassNameW(REFIID riid, LPWSTR szDest, DWORD len);
|
BOOL HCR_GetClassNameW(REFIID riid, LPWSTR szDest, DWORD len) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* ANSI versions of above functions, supposed to go away as soon as they are not used anymore */
|
/* ANSI versions of above functions, supposed to go away as soon as they are not used anymore */
|
||||||
BOOL HCR_MapTypeToValueA(LPCSTR szExtension, LPSTR szFileType, LONG len, BOOL bPrependDot);
|
BOOL HCR_MapTypeToValueA(LPCSTR szExtension, LPSTR szFileType, LONG len, BOOL bPrependDot) DECLSPEC_HIDDEN;
|
||||||
BOOL HCR_GetDefaultIconA(LPCSTR szClass, LPSTR szDest, DWORD len, int* picon_idx);
|
BOOL HCR_GetDefaultIconA(LPCSTR szClass, LPSTR szDest, DWORD len, int* picon_idx) DECLSPEC_HIDDEN;
|
||||||
BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len);
|
BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
BOOL HCR_GetFolderAttributes(LPCITEMIDLIST pidlFolder, LPDWORD dwAttributes);
|
BOOL HCR_GetFolderAttributes(LPCITEMIDLIST pidlFolder, LPDWORD dwAttributes) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
DWORD WINAPI ParseFieldA(LPCSTR src, DWORD nField, LPSTR dst, DWORD len);
|
DWORD WINAPI ParseFieldA(LPCSTR src, DWORD nField, LPSTR dst, DWORD len) DECLSPEC_HIDDEN;
|
||||||
DWORD WINAPI ParseFieldW(LPCWSTR src, DWORD nField, LPWSTR dst, DWORD len);
|
DWORD WINAPI ParseFieldW(LPCWSTR src, DWORD nField, LPWSTR dst, DWORD len) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
BOOL WINAPI GUIDFromStringW(LPCWSTR, LPGUID);
|
BOOL WINAPI GUIDFromStringW(LPCWSTR, LPGUID) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Class constructors
|
* Class constructors
|
||||||
*/
|
*/
|
||||||
LPDATAOBJECT IDataObject_Constructor(HWND hwndOwner, LPCITEMIDLIST myPidl, LPCITEMIDLIST * apidl, UINT cidl);
|
LPDATAOBJECT IDataObject_Constructor(HWND hwndOwner, LPCITEMIDLIST myPidl, LPCITEMIDLIST * apidl, UINT cidl) DECLSPEC_HIDDEN;
|
||||||
LPENUMFORMATETC IEnumFORMATETC_Constructor(UINT, const FORMATETC []);
|
LPENUMFORMATETC IEnumFORMATETC_Constructor(UINT, const FORMATETC []) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
LPCLASSFACTORY IClassFactory_Constructor(REFCLSID);
|
LPCLASSFACTORY IClassFactory_Constructor(REFCLSID) DECLSPEC_HIDDEN;
|
||||||
IContextMenu2 * ISvItemCm_Constructor(LPSHELLFOLDER pSFParent, LPCITEMIDLIST pidl, const LPCITEMIDLIST *aPidls, UINT uItemCount);
|
IContextMenu2 * ISvItemCm_Constructor(LPSHELLFOLDER pSFParent, LPCITEMIDLIST pidl, const LPCITEMIDLIST *aPidls, UINT uItemCount) DECLSPEC_HIDDEN;
|
||||||
IContextMenu2 * ISvBgCm_Constructor(LPSHELLFOLDER pSFParent, BOOL bDesktop);
|
IContextMenu2 * ISvBgCm_Constructor(LPSHELLFOLDER pSFParent, BOOL bDesktop) DECLSPEC_HIDDEN;
|
||||||
LPSHELLVIEW IShellView_Constructor(LPSHELLFOLDER);
|
LPSHELLVIEW IShellView_Constructor(LPSHELLFOLDER) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
HRESULT WINAPI IFSFolder_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI IFSFolder_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI IShellDispatch_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI IShellDispatch_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI IShellItem_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI IShellItem_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI IShellLink_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI IShellLink_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI IShellLink_ConstructFromFile(IUnknown * pUnkOuter, REFIID riid, LPCITEMIDLIST pidl, LPVOID * ppv);
|
HRESULT WINAPI IShellLink_ConstructFromFile(IUnknown * pUnkOuter, REFIID riid, LPCITEMIDLIST pidl, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI ISF_Desktop_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI ISF_Desktop_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI ISF_MyComputer_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI ISF_MyComputer_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI ISF_NetworkPlaces_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI ISF_NetworkPlaces_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI Printers_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI Printers_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI IDropTargetHelper_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI IDropTargetHelper_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC *ppV);
|
HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC *ppV) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI IControlPanel_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI IControlPanel_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI UnixFolder_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI UnixFolder_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI UnixDosFolder_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID *ppv);
|
HRESULT WINAPI UnixDosFolder_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI FolderShortcut_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID *ppv);
|
HRESULT WINAPI FolderShortcut_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI MyDocuments_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID *ppv);
|
HRESULT WINAPI MyDocuments_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI RecycleBin_Constructor(IUnknown * pUnkOuter, REFIID riif, LPVOID *ppv);
|
HRESULT WINAPI RecycleBin_Constructor(IUnknown * pUnkOuter, REFIID riif, LPVOID *ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI QueryAssociations_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppOutput);
|
HRESULT WINAPI QueryAssociations_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppOutput) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI ExplorerBrowser_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
|
HRESULT WINAPI ExplorerBrowser_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI KnownFolderManager_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv);
|
HRESULT WINAPI KnownFolderManager_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN;
|
||||||
extern HRESULT CPanel_GetIconLocationW(LPCITEMIDLIST, LPWSTR, UINT, int*);
|
extern HRESULT CPanel_GetIconLocationW(LPCITEMIDLIST, LPWSTR, UINT, int*) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI CPanel_ExtractIconA(LPITEMIDLIST pidl, LPCSTR pszFile, UINT nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIconSize);
|
HRESULT WINAPI CPanel_ExtractIconA(LPITEMIDLIST pidl, LPCSTR pszFile, UINT nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIconSize) DECLSPEC_HIDDEN;
|
||||||
HRESULT WINAPI CPanel_ExtractIconW(LPITEMIDLIST pidl, LPCWSTR pszFile, UINT nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIconSize);
|
HRESULT WINAPI CPanel_ExtractIconW(LPITEMIDLIST pidl, LPCWSTR pszFile, UINT nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIconSize) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
HRESULT WINAPI IAutoComplete_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
|
HRESULT WINAPI IAutoComplete_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
LPEXTRACTICONA IExtractIconA_Constructor(LPCITEMIDLIST);
|
LPEXTRACTICONA IExtractIconA_Constructor(LPCITEMIDLIST) DECLSPEC_HIDDEN;
|
||||||
LPEXTRACTICONW IExtractIconW_Constructor(LPCITEMIDLIST);
|
LPEXTRACTICONW IExtractIconW_Constructor(LPCITEMIDLIST) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* initialisation for FORMATETC */
|
/* initialisation for FORMATETC */
|
||||||
#define InitFormatEtc(fe, cf, med) \
|
#define InitFormatEtc(fe, cf, med) \
|
||||||
|
@ -127,14 +127,14 @@ LPEXTRACTICONW IExtractIconW_Constructor(LPCITEMIDLIST);
|
||||||
DROPEFFECT_MOVE))
|
DROPEFFECT_MOVE))
|
||||||
|
|
||||||
|
|
||||||
HGLOBAL RenderHDROP(LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl);
|
HGLOBAL RenderHDROP(LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) DECLSPEC_HIDDEN;
|
||||||
HGLOBAL RenderSHELLIDLIST (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl);
|
HGLOBAL RenderSHELLIDLIST (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) DECLSPEC_HIDDEN;
|
||||||
HGLOBAL RenderFILENAMEA (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl);
|
HGLOBAL RenderFILENAMEA (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) DECLSPEC_HIDDEN;
|
||||||
HGLOBAL RenderFILENAMEW (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl);
|
HGLOBAL RenderFILENAMEW (LPITEMIDLIST pidlRoot, LPITEMIDLIST * apidl, UINT cidl) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Change Notification */
|
/* Change Notification */
|
||||||
void InitChangeNotifications(void);
|
void InitChangeNotifications(void) DECLSPEC_HIDDEN;
|
||||||
void FreeChangeNotifications(void);
|
void FreeChangeNotifications(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* file operation */
|
/* file operation */
|
||||||
#define ASK_DELETE_FILE 1
|
#define ASK_DELETE_FILE 1
|
||||||
|
@ -149,7 +149,7 @@ void FreeChangeNotifications(void);
|
||||||
#define ASK_CANT_TRASH_ITEM 10
|
#define ASK_CANT_TRASH_ITEM 10
|
||||||
#define ASK_OVERWRITE_FOLDER 11
|
#define ASK_OVERWRITE_FOLDER 11
|
||||||
|
|
||||||
BOOL SHELL_ConfirmYesNoW(HWND hWnd, int nKindOfDialog, LPCWSTR szDir);
|
BOOL SHELL_ConfirmYesNoW(HWND hWnd, int nKindOfDialog, LPCWSTR szDir) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
static inline BOOL SHELL_OsIsUnicode(void)
|
static inline BOOL SHELL_OsIsUnicode(void)
|
||||||
{
|
{
|
||||||
|
@ -190,18 +190,18 @@ static inline WCHAR * __SHCloneStrAtoW(WCHAR ** target, const char * source)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern WCHAR swShell32Name[MAX_PATH];
|
extern WCHAR swShell32Name[MAX_PATH] DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
BOOL UNIXFS_is_rooted_at_desktop(void);
|
BOOL UNIXFS_is_rooted_at_desktop(void) DECLSPEC_HIDDEN;
|
||||||
extern const GUID CLSID_UnixFolder;
|
extern const GUID CLSID_UnixFolder DECLSPEC_HIDDEN;
|
||||||
extern const GUID CLSID_UnixDosFolder;
|
extern const GUID CLSID_UnixDosFolder DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
extern BOOL run_winemenubuilder( const WCHAR *args );
|
extern BOOL run_winemenubuilder( const WCHAR *args ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Default shell folder value registration */
|
/* Default shell folder value registration */
|
||||||
HRESULT SHELL_RegisterShellFolders(void);
|
HRESULT SHELL_RegisterShellFolders(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* Detect Shell Links */
|
/* Detect Shell Links */
|
||||||
BOOL SHELL_IsShortcut(LPCITEMIDLIST);
|
BOOL SHELL_IsShortcut(LPCITEMIDLIST) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -29,27 +29,27 @@ typedef struct {
|
||||||
int cxChar;
|
int cxChar;
|
||||||
} shvheader;
|
} shvheader;
|
||||||
|
|
||||||
HRESULT SHELL32_GetColumnDetails(const shvheader *data, int column, SHELLDETAILS *details);
|
HRESULT SHELL32_GetColumnDetails(const shvheader *data, int column, SHELLDETAILS *details) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#define GET_SHGDN_FOR(dwFlags) ((DWORD)dwFlags & (DWORD)0x0000FF00)
|
#define GET_SHGDN_FOR(dwFlags) ((DWORD)dwFlags & (DWORD)0x0000FF00)
|
||||||
#define GET_SHGDN_RELATION(dwFlags) ((DWORD)dwFlags & (DWORD)0x000000FF)
|
#define GET_SHGDN_RELATION(dwFlags) ((DWORD)dwFlags & (DWORD)0x000000FF)
|
||||||
|
|
||||||
BOOL SHELL32_GetCustomFolderAttribute (LPCITEMIDLIST pidl, LPCWSTR pwszHeading, LPCWSTR pwszAttribute, LPWSTR pwszValue, DWORD cchValue);
|
BOOL SHELL32_GetCustomFolderAttribute (LPCITEMIDLIST pidl, LPCWSTR pwszHeading, LPCWSTR pwszAttribute, LPWSTR pwszValue, DWORD cchValue) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
LPCWSTR GetNextElementW (LPCWSTR pszNext, LPWSTR pszOut, DWORD dwOut);
|
LPCWSTR GetNextElementW (LPCWSTR pszNext, LPWSTR pszOut, DWORD dwOut) DECLSPEC_HIDDEN;
|
||||||
HRESULT SHELL32_ParseNextElement (IShellFolder2 * psf, HWND hwndOwner, LPBC pbc, LPITEMIDLIST * pidlInOut,
|
HRESULT SHELL32_ParseNextElement (IShellFolder2 * psf, HWND hwndOwner, LPBC pbc, LPITEMIDLIST * pidlInOut,
|
||||||
LPOLESTR szNext, DWORD * pEaten, DWORD * pdwAttributes);
|
LPOLESTR szNext, DWORD * pEaten, DWORD * pdwAttributes) DECLSPEC_HIDDEN;
|
||||||
HRESULT SHELL32_GetItemAttributes (IShellFolder * psf, LPCITEMIDLIST pidl, LPDWORD pdwAttributes);
|
HRESULT SHELL32_GetItemAttributes (IShellFolder * psf, LPCITEMIDLIST pidl, LPDWORD pdwAttributes) DECLSPEC_HIDDEN;
|
||||||
HRESULT SHELL32_GetDisplayNameOfChild (IShellFolder2 * psf, LPCITEMIDLIST pidl, DWORD dwFlags, LPWSTR szOut,
|
HRESULT SHELL32_GetDisplayNameOfChild (IShellFolder2 * psf, LPCITEMIDLIST pidl, DWORD dwFlags, LPWSTR szOut,
|
||||||
DWORD dwOutLen);
|
DWORD dwOutLen) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
HRESULT SHELL32_BindToChild (LPCITEMIDLIST pidlRoot,
|
HRESULT SHELL32_BindToChild (LPCITEMIDLIST pidlRoot,
|
||||||
LPCWSTR pathRoot, LPCITEMIDLIST pidlComplete, REFIID riid, LPVOID * ppvOut);
|
LPCWSTR pathRoot, LPCITEMIDLIST pidlComplete, REFIID riid, LPVOID * ppvOut) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
HRESULT SHELL32_CompareIDs (IShellFolder * iface, LPARAM lParam, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2);
|
HRESULT SHELL32_CompareIDs (IShellFolder * iface, LPARAM lParam, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2) DECLSPEC_HIDDEN;
|
||||||
LPITEMIDLIST SHELL32_CreatePidlFromBindCtx(IBindCtx *pbc, LPCWSTR path);
|
LPITEMIDLIST SHELL32_CreatePidlFromBindCtx(IBindCtx *pbc, LPCWSTR path) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
HRESULT SHELL32_CreateExtensionUIObject(IShellFolder2 *iface, LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppvOut);
|
HRESULT SHELL32_CreateExtensionUIObject(IShellFolder2 *iface, LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppvOut) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
static inline int SHELL32_GUIDToStringA (REFGUID guid, LPSTR str)
|
static inline int SHELL32_GUIDToStringA (REFGUID guid, LPSTR str)
|
||||||
{
|
{
|
||||||
|
@ -72,8 +72,8 @@ static inline int SHELL32_GUIDToStringW (REFGUID guid, LPWSTR str)
|
||||||
guid->Data4[4], guid->Data4[5], guid->Data4[6], guid->Data4[7]);
|
guid->Data4[4], guid->Data4[5], guid->Data4[6], guid->Data4[7]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SHELL_FS_ProcessDisplayFilename(LPWSTR szPath, DWORD dwFlags);
|
void SHELL_FS_ProcessDisplayFilename(LPWSTR szPath, DWORD dwFlags) DECLSPEC_HIDDEN;
|
||||||
BOOL SHELL_FS_HideExtension(LPCWSTR pwszPath);
|
BOOL SHELL_FS_HideExtension(LPCWSTR pwszPath) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
DEFINE_GUID( CLSID_UnixFolder, 0xcc702eb2, 0x7dc5, 0x11d9, 0xc6, 0x87, 0x00, 0x04, 0x23, 0x8a, 0x01, 0xcd );
|
DEFINE_GUID( CLSID_UnixFolder, 0xcc702eb2, 0x7dc5, 0x11d9, 0xc6, 0x87, 0x00, 0x04, 0x23, 0x8a, 0x01, 0xcd );
|
||||||
DEFINE_GUID( CLSID_UnixDosFolder, 0x9d20aae8, 0x0625, 0x44b0, 0x9c, 0xa7, 0x71, 0x88, 0x9c, 0x22, 0x54, 0xd9 );
|
DEFINE_GUID( CLSID_UnixDosFolder, 0x9d20aae8, 0x0625, 0x44b0, 0x9c, 0xa7, 0x71, 0x88, 0x9c, 0x22, 0x54, 0xd9 );
|
||||||
|
|
|
@ -25,23 +25,23 @@
|
||||||
#define XDG_CONFIG_DIRS 3
|
#define XDG_CONFIG_DIRS 3
|
||||||
#define XDG_CACHE_HOME 4
|
#define XDG_CACHE_HOME 4
|
||||||
|
|
||||||
char *XDG_BuildPath(int root_id, const char *subpath);
|
char *XDG_BuildPath(int root_id, const char *subpath) DECLSPEC_HIDDEN;
|
||||||
int XDG_MakeDirs(const char *path);
|
int XDG_MakeDirs(const char *path) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#define XDG_URLENCODE 0x1
|
#define XDG_URLENCODE 0x1
|
||||||
BOOL XDG_WriteDesktopStringEntry(int fd, const char *keyName, DWORD dwFlags, const char *value);
|
BOOL XDG_WriteDesktopStringEntry(int fd, const char *keyName, DWORD dwFlags, const char *value) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
typedef struct tagXDG_PARSED_FILE XDG_PARSED_FILE;
|
typedef struct tagXDG_PARSED_FILE XDG_PARSED_FILE;
|
||||||
|
|
||||||
XDG_PARSED_FILE *XDG_ParseDesktopFile(int fd);
|
XDG_PARSED_FILE *XDG_ParseDesktopFile(int fd) DECLSPEC_HIDDEN;
|
||||||
char *XDG_GetStringValue(XDG_PARSED_FILE *file, const char *group_name, const char *value_name, DWORD dwFlags);
|
char *XDG_GetStringValue(XDG_PARSED_FILE *file, const char *group_name, const char *value_name, DWORD dwFlags) DECLSPEC_HIDDEN;
|
||||||
void XDG_FreeParsedFile(XDG_PARSED_FILE *file);
|
void XDG_FreeParsedFile(XDG_PARSED_FILE *file) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
BOOL TRASH_CanTrashFile(LPCWSTR wszPath);
|
BOOL TRASH_CanTrashFile(LPCWSTR wszPath) DECLSPEC_HIDDEN;
|
||||||
BOOL TRASH_TrashFile(LPCWSTR wszPath);
|
BOOL TRASH_TrashFile(LPCWSTR wszPath) DECLSPEC_HIDDEN;
|
||||||
HRESULT TRASH_UnpackItemID(LPCSHITEMID id, WIN32_FIND_DATAW *data);
|
HRESULT TRASH_UnpackItemID(LPCSHITEMID id, WIN32_FIND_DATAW *data) DECLSPEC_HIDDEN;
|
||||||
HRESULT TRASH_EnumItems(LPITEMIDLIST **pidls, int *count);
|
HRESULT TRASH_EnumItems(LPITEMIDLIST **pidls, int *count) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
HRESULT XDG_UserDirLookup(const char * const *xdg_dirs, const unsigned int num_dirs, char *** out_ptr);
|
HRESULT XDG_UserDirLookup(const char * const *xdg_dirs, const unsigned int num_dirs, char *** out_ptr) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif /* ndef __XDG_H__ */
|
#endif /* ndef __XDG_H__ */
|
||||||
|
|
Loading…
Reference in New Issue