mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 22:43:38 +00:00
comdlg32: Moved prototypes to the header file and fixed declaration of FileOpenDlgInfosStr.
This commit is contained in:
parent
516a575a86
commit
6367330fe8
|
@ -221,7 +221,7 @@ static void FILEDLG95_LOOKIN_Clean(HWND hwnd);
|
|||
static HRESULT GetName(LPSHELLFOLDER lpsf, LPITEMIDLIST pidl,DWORD dwFlags,LPSTR lpstrFileName);
|
||||
IShellFolder* GetShellFolderFromPidl(LPITEMIDLIST pidlAbs);
|
||||
LPITEMIDLIST GetParentPidl(LPITEMIDLIST pidl);
|
||||
LPITEMIDLIST GetPidlFromName(IShellFolder *psf,LPWSTR lpcstrFileName);
|
||||
static LPITEMIDLIST GetPidlFromName(IShellFolder *psf,LPWSTR lpcstrFileName);
|
||||
|
||||
/* Shell memory allocation */
|
||||
static void *MemAlloc(UINT size);
|
||||
|
@ -3391,7 +3391,7 @@ LPITEMIDLIST GetParentPidl(LPITEMIDLIST pidl)
|
|||
* returns the pidl of the file name relative to folder
|
||||
* NULL if an error occurred
|
||||
*/
|
||||
LPITEMIDLIST GetPidlFromName(IShellFolder *lpsf,LPWSTR lpcstrFileName)
|
||||
static LPITEMIDLIST GetPidlFromName(IShellFolder *lpsf,LPWSTR lpcstrFileName)
|
||||
{
|
||||
LPITEMIDLIST pidl = NULL;
|
||||
ULONG ulEaten;
|
||||
|
|
|
@ -78,19 +78,6 @@ static const IServiceProviderVtbl IShellBrowserImpl_IServiceProvider_Vtbl;
|
|||
|
||||
static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, IShellView *ppshv);
|
||||
|
||||
/**************************************************************************
|
||||
* External Prototypes
|
||||
*/
|
||||
extern const char *FileOpenDlgInfosStr;
|
||||
|
||||
extern IShellFolder* GetShellFolderFromPidl(LPITEMIDLIST pidlAbs);
|
||||
extern LPITEMIDLIST GetParentPidl(LPITEMIDLIST pidl);
|
||||
extern LPITEMIDLIST GetPidlFromName(IShellFolder *psf,LPCSTR lpcstrFileName);
|
||||
|
||||
extern int FILEDLG95_LOOKIN_SelectItem(HWND hwnd,LPITEMIDLIST pidl);
|
||||
extern LRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
|
||||
|
||||
|
||||
/*
|
||||
* Helper functions
|
||||
*/
|
||||
|
|
|
@ -156,4 +156,15 @@ BOOL IsPidlFolder (LPSHELLFOLDER psf, LPCITEMIDLIST pidl);
|
|||
/* Functions used by the EDIT box */
|
||||
void FILEDLG95_FILENAME_FillFromSelection (HWND hwnd);
|
||||
|
||||
/**************************************************************************
|
||||
* External Prototypes
|
||||
*/
|
||||
extern const char FileOpenDlgInfosStr[];
|
||||
|
||||
extern IShellFolder* GetShellFolderFromPidl(LPITEMIDLIST pidlAbs);
|
||||
extern LPITEMIDLIST GetParentPidl(LPITEMIDLIST pidl);
|
||||
|
||||
extern int FILEDLG95_LOOKIN_SelectItem(HWND hwnd,LPITEMIDLIST pidl);
|
||||
extern LRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
|
||||
|
||||
#endif /*SHBROWSER_H*/
|
||||
|
|
Loading…
Reference in a new issue