ReactOS 0.4.16-dev-197-g92996da
|
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "winnls.h"
#include "wingdi.h"
#include "winreg.h"
#include "winuser.h"
#include "commdlg.h"
#include "dlgs.h"
#include "cdlg.h"
#include "cderr.h"
#include "shellapi.h"
#include "shlobj.h"
#include "filedlgbrowser.h"
#include "shlwapi.h"
#include "wine/debug.h"
#include "wine/heap.h"
Go to the source code of this file.
Classes | |
struct | SFolder |
struct | tagLookInInfo |
Macros | |
#define | COBJMACROS |
#define | NONAMELESSUNION |
#define | UNIMPLEMENTED_FLAGS |
#define | XTEXTOFFSET 3 |
#define | LISTEND -1 |
#define | SEARCH_PIDL 1 |
#define | SEARCH_EXP 2 |
#define | ITEM_NOTFOUND -1 |
#define | WM_GETISHELLBROWSER WM_USER+7 |
#define | TBPLACES_CMDID_PLACE0 0xa064 |
#define | TBPLACES_CMDID_PLACE1 0xa065 |
#define | TBPLACES_CMDID_PLACE2 0xa066 |
#define | TBPLACES_CMDID_PLACE3 0xa067 |
#define | TBPLACES_CMDID_PLACE4 0xa068 |
#define | CBGetItemDataPtr(hwnd, iItemId) SendMessageW(hwnd, CB_GETITEMDATA, (WPARAM)(iItemId), 0) |
Typedefs | |
typedef struct SFolder | SFOLDER |
typedef struct SFolder * | LPSFOLDER |
typedef struct tagLookInInfo | LookInInfos |
Variables | |
static const char | LookInInfosStr [] = "LookInInfos" |
static SIZE | MemDialogSize = { 0, 0} |
static const WCHAR | LastVisitedMRUW [] |
static const WCHAR | MRUListW [] = {'M','R','U','L','i','s','t',0} |
static const WCHAR | filedlg_info_propnameW [] = {'F','i','l','e','O','p','e','n','D','l','g','I','n','f','o','s',0} |
#define CBGetItemDataPtr | ( | hwnd, | |
iItemId | |||
) | SendMessageW(hwnd, CB_GETITEMDATA, (WPARAM)(iItemId), 0) |
#define UNIMPLEMENTED_FLAGS |
typedef struct tagLookInInfo LookInInfos |
Definition at line 840 of file filedlg.c.
Referenced by FILEDLG95_ResizeControls().
Definition at line 4645 of file filedlg.c.
Referenced by FILEDLG95_OnOpen().
|
static |
Definition at line 4441 of file filedlg.c.
Referenced by FILEDLG95_FILENAME_FillFromSelection(), GetNumSelected(), and GetPidlFromDataObject().
void COMDLG32_GetCanonicalPath | ( | PCIDLIST_ABSOLUTE | pidlAbsCurrent, |
LPWSTR | lpstrFile, | ||
LPWSTR | lpstrPathAndFile | ||
) |
Definition at line 752 of file filedlg.c.
Referenced by FILEDLG95_OnOpen(), and on_default_action().
|
static |
Definition at line 731 of file filedlg.c.
Referenced by COMDLG32_GetCanonicalPath(), FILEDLG95_Handle_GetFilePath(), FILEDLG95_HandleCustomDialogMessages(), and FILEDLG95_OnOpenMultipleFiles().
int COMDLG32_SplitFileNames | ( | LPWSTR | lpstrEdit, |
UINT | nStrLen, | ||
LPWSTR * | lpstrFileList, | ||
UINT * | sizeUsed | ||
) |
Definition at line 792 of file filedlg.c.
Referenced by FILEDLG95_FILENAME_GetFileNames(), and on_default_action().
|
static |
|
static |
Definition at line 994 of file filedlg.c.
Referenced by FileOpenDlgProc95().
|
static |
Definition at line 239 of file filedlg.c.
Referenced by FILEDLG95_InitControls(), and FILEDLG95_ResizeControls().
Definition at line 2184 of file filedlg.c.
Referenced by FILEDLG95_OnOpen(), FILEDLG95_OnOpenMultipleFiles(), and FILEDLG95_OnWMCommand().
Definition at line 4303 of file filedlg.c.
Referenced by IShellBrowserImpl_OnSelChange().
|
static |
Definition at line 4411 of file filedlg.c.
Referenced by FILEDLG95_OnOpen().
Definition at line 3779 of file filedlg.c.
Referenced by FILEDLG95_Clean().
Definition at line 3594 of file filedlg.c.
Referenced by FILEDLG95_InitControls().
Definition at line 3710 of file filedlg.c.
Referenced by FILEDLG95_OnWMCommand().
Definition at line 3755 of file filedlg.c.
Referenced by FILEDLG95_OnOpen().
Definition at line 2147 of file filedlg.c.
Referenced by FileOpenDlgProc95().
Definition at line 1115 of file filedlg.c.
Referenced by FILEDLG95_HandleCustomDialogMessages().
|
static |
Definition at line 1157 of file filedlg.c.
Referenced by FileOpenDlgProc95().
Definition at line 1673 of file filedlg.c.
Referenced by FileOpenDlgProc95().
|
static |
Definition at line 4049 of file filedlg.c.
Referenced by FILEDLG95_LOOKIN_Init(), and FILEDLG95_LOOKIN_InsertItemAfterParent().
Definition at line 4252 of file filedlg.c.
Referenced by FILEDLG95_Clean().
|
static |
Definition at line 3913 of file filedlg.c.
Referenced by FileOpenDlgProc95().
Definition at line 3828 of file filedlg.c.
Referenced by FILEDLG95_FillControls().
|
static |
Definition at line 4120 of file filedlg.c.
Referenced by FILEDLG95_LOOKIN_InsertItemAfterParent(), and FILEDLG95_LOOKIN_SelectItem().
Definition at line 4006 of file filedlg.c.
Referenced by FILEDLG95_OnWMCommand().
Definition at line 4192 of file filedlg.c.
Referenced by FILEDLG95_LOOKIN_SelectItem().
Definition at line 4222 of file filedlg.c.
Referenced by FILEDLG95_LOOKIN_InsertItemAfterParent(), FILEDLG95_LOOKIN_RemoveMostExpandedItem(), and FILEDLG95_LOOKIN_SelectItem().
int FILEDLG95_LOOKIN_SelectItem | ( | HWND | hwnd, |
LPITEMIDLIST | pidl | ||
) |
Definition at line 4149 of file filedlg.c.
Referenced by IShellBrowserImpl_BrowseObject().
|
static |
Definition at line 2458 of file filedlg.c.
Referenced by FILEDLG95_MRU_load_filename(), and FILEDLG95_MRU_save_filename().
Definition at line 2620 of file filedlg.c.
Referenced by FILEDLG95_InitControls().
Definition at line 2530 of file filedlg.c.
Referenced by FILEDLG95_OnOpen().
Definition at line 3096 of file filedlg.c.
Referenced by FILEDLG95_OnWMCommand().
Definition at line 2861 of file filedlg.c.
Referenced by FILEDLG95_ValidatePathAction(), and on_default_action().
|
static |
Definition at line 2345 of file filedlg.c.
Referenced by FILEDLG95_OnOpen().
Definition at line 2209 of file filedlg.c.
Referenced by FileOpenDlgProc95().
Definition at line 2287 of file filedlg.c.
Referenced by FileOpenDlgProc95().
|
static |
Definition at line 1268 of file filedlg.c.
Referenced by FileOpenDlgProc95().
Definition at line 1289 of file filedlg.c.
Referenced by FileOpenDlgProc95().
Definition at line 2092 of file filedlg.c.
Referenced by FileOpenDlgProc95().
|
static |
Definition at line 2308 of file filedlg.c.
Referenced by FILEDLG95_OnOpen(), and FILEDLG95_OnOpenMultipleFiles().
Definition at line 3568 of file filedlg.c.
Referenced by FILEDLG95_Clean().
Definition at line 3516 of file filedlg.c.
Referenced by FILEDLG95_OnWMCommand().
Definition at line 3481 of file filedlg.c.
Referenced by FILEDLG95_FillControls().
Definition at line 3547 of file filedlg.c.
Referenced by FILEDLG95_OnWMCommand().
Definition at line 3811 of file filedlg.c.
Referenced by FILEDLG95_LOOKIN_Init().
int FILEDLG95_ValidatePathAction | ( | LPWSTR | lpstrPathAndFile, |
IShellFolder ** | ppsf, | ||
HWND | hwnd, | ||
DWORD | flags, | ||
BOOL | isSaveDlg, | ||
int | defAction | ||
) |
Definition at line 2962 of file filedlg.c.
Referenced by FILEDLG95_OnOpen(), and on_default_action().
|
static |
Definition at line 2195 of file filedlg.c.
Referenced by FILEDLG95_OnWMCommand().
|
static |
Definition at line 378 of file filedlg.c.
Referenced by FILEDLG95_InitControls().
|
inlinestatic |
Definition at line 1662 of file filedlg.c.
Referenced by FILEDLG95_FILENAME_FillFromSelection(), FILEDLG95_InitControls(), and FILEDLG95_OnOpen().
Definition at line 1444 of file filedlg.c.
Referenced by GetFileName95().
|
static |
Definition at line 985 of file filedlg.c.
Referenced by CreateTemplateDialog().
Definition at line 306 of file filedlg.c.
Referenced by is_places_bar_enabled().
Definition at line 320 of file filedlg.c.
Referenced by filedlg_collect_places_pidls().
Definition at line 334 of file filedlg.c.
Referenced by filedlg_collect_places_pidls().
|
static |
Definition at line 4284 of file filedlg.c.
Referenced by FILEDLG95_FILENAME_FillFromSelection(), GetNumSelected(), and GetPidlFromDataObject().
FileOpenDlgInfos * get_filedlg_infoptr | ( | HWND | hwnd | ) |
Definition at line 229 of file filedlg.c.
Referenced by BrowseSelectedFolder(), FILEDLG95_FILENAME_FillFromSelection(), FILEDLG95_FILENAME_GetFileNames(), FILEDLG95_FILETYPE_Clean(), FILEDLG95_FILETYPE_Init(), FILEDLG95_FILETYPE_OnCommand(), FILEDLG95_Handle_GetFilePath(), FILEDLG95_HandleCustomDialogMessages(), FILEDLG95_InitControls(), FILEDLG95_LOOKIN_Clean(), FILEDLG95_LOOKIN_OnCommand(), FILEDLG95_OnOpen(), FILEDLG95_OnOpenMultipleFiles(), FILEDLG95_OnWMCommand(), FILEDLG95_OnWMGetIShellBrowser(), FILEDLG95_OnWMGetMMI(), FILEDLG95_OnWMSize(), FILEDLG95_SHELL_Clean(), FILEDLG95_SHELL_ExecuteCommand(), FILEDLG95_SHELL_Init(), FILEDLG95_SHELL_UpFolder(), FileOpenDlgProc95(), IShellBrowserImpl_BrowseObject(), IShellBrowserImpl_Construct(), IShellBrowserImpl_ICommDlgBrowser_IncludeObject(), IShellBrowserImpl_ICommDlgBrowser_OnDefaultCommand(), IShellBrowserImpl_ICommDlgBrowser_OnStateChange(), IShellBrowserImpl_OnSelChange(), IShellBrowserImpl_QueryActiveShellView(), send_includeitem_notification(), and SendCustomDlgNotificationMessage().
|
static |
Definition at line 654 of file filedlg.c.
Referenced by GetOpenFileNameA(), GetOpenFileNameW(), GetSaveFileNameA(), and GetSaveFileNameW().
|
static |
Definition at line 444 of file filedlg.c.
Referenced by GetFileDialog95().
Definition at line 4826 of file filedlg.c.
Definition at line 4856 of file filedlg.c.
Referenced by GetFileTitleA(), and QueryFileDescription().
|
static |
Definition at line 4527 of file filedlg.c.
Referenced by DECLARE_INTERFACE_(), DECLARE_INTERFACE_IID_(), FILEDLG95_FILENAME_FillFromSelection(), and GetName().
|
static |
Definition at line 4492 of file filedlg.c.
Referenced by BrowseSelectedFolder().
BOOL WINAPI GetOpenFileNameA | ( | OPENFILENAMEA * | ofn | ) |
Definition at line 4701 of file filedlg.c.
Referenced by test_arrange(), test_create_view_template(), test_create_view_window2(), test_DialogCancel(), test_directory_filename(), test_getfolderpath(), test_mru(), test_null_filename(), test_ok(), test_ole_initialization(), test_resizable2(), test_resize(), UIINSERTOBJECTDLG_AddControl(), UIINSERTOBJECTDLG_BrowseFile(), and WINHELP_GetOpenFileName().
BOOL WINAPI GetOpenFileNameW | ( | OPENFILENAMEW * | ofn | ) |
Definition at line 4736 of file filedlg.c.
Referenced by ActionDlg_OnBrowse(), COpenWithDialog::Browse(), DIALOG_Browse(), DialogOpenFile(), DoOpenFile(), GetOpenFileNameWrapW(), import_file_dlg_proc(), LoadClipboardFromFile(), MainWnd_OnImport(), MountFloppy(), OpenUserEventLog(), PickIconProc(), promptdisk_browse(), RecvSubvolGUIW(), SoundsDlgProc(), test_DialogCancel(), test_directory_filename(), test_null_filename(), and wWinMain().
LPITEMIDLIST GetParentPidl | ( | LPITEMIDLIST | pidl | ) |
Definition at line 4584 of file filedlg.c.
Referenced by FILEDLG95_LOOKIN_InsertItemAfterParent(), and IShellBrowserImpl_BrowseObject().
LPITEMIDLIST GetPidlFromDataObject | ( | IDataObject * | doSelected, |
UINT | nPidlIndex | ||
) |
Definition at line 4461 of file filedlg.c.
Referenced by BrowseSelectedFolder(), and IShellBrowserImpl_ICommDlgBrowser_OnDefaultCommand().
|
static |
Definition at line 4602 of file filedlg.c.
Referenced by FILEDLG95_FillControls(), and FILEDLG95_OnOpenMultipleFiles().
BOOL WINAPI GetSaveFileNameA | ( | OPENFILENAMEA * | ofn | ) |
Definition at line 4772 of file filedlg.c.
Referenced by test_DialogCancel(), test_extension_helper(), and test_getfolderpath().
BOOL WINAPI GetSaveFileNameW | ( | LPOPENFILENAMEW | ofn | ) |
Definition at line 4801 of file filedlg.c.
Referenced by BtrfsSend::Browse(), ClearEvents(), dialog_print_to_file(), DialogSaveFile(), DoSaveAs(), DoSaveFile(), export_file_dlg_proc(), GetSaveFileNameWrapW(), MainWnd_OnExport(), Preview_pSaveImageAs(), SaveClipboardToFile(), SaveEventLog(), and test_DialogCancel().
IShellFolder * GetShellFolderFromPidl | ( | LPITEMIDLIST | pidlAbs | ) |
Definition at line 4556 of file filedlg.c.
Referenced by IShellBrowserImpl_BrowseObject().
Definition at line 522 of file filedlg.c.
Referenced by FILEDLG95_HandleCustomDialogMessages(), and init_filedlg_infoA().
|
static |
Definition at line 588 of file filedlg.c.
Referenced by GetOpenFileNameA(), and GetSaveFileNameA().
|
static |
Definition at line 537 of file filedlg.c.
Referenced by GetOpenFileNameW(), GetSaveFileNameW(), and init_filedlg_infoA().
|
static |
Definition at line 234 of file filedlg.c.
Referenced by CreateTemplateDialog(), FILEDLG95_SendFileOK(), and GetFileName95().
|
static |
Definition at line 356 of file filedlg.c.
Referenced by FILEDLG95_InitControls(), and GetFileName95().
Definition at line 4683 of file filedlg.c.
Referenced by GetOpenFileNameA(), GetOpenFileNameW(), GetSaveFileNameA(), and GetSaveFileNameW().
|
static |
Definition at line 4628 of file filedlg.c.
Referenced by BrowseSelectedFolder(), and FILEDLG95_FILENAME_FillFromSelection().
Definition at line 1086 of file filedlg.c.
Referenced by BrowseSelectedFolder(), FILEDLG95_FILETYPE_OnCommand(), FILEDLG95_LOOKIN_OnCommand(), FILEDLG95_OnOpen(), FILEDLG95_SendFileOK(), FILEDLG95_SHELL_UpFolder(), filedlg_browse_to_pidl(), FileOpenDlgProc95(), IShellBrowserImpl_ICommDlgBrowser_OnDefaultCommand(), and IShellBrowserImpl_OnSelChange().
Definition at line 4677 of file filedlg.c.
Referenced by GetOpenFileNameA(), GetOpenFileNameW(), GetSaveFileNameA(), and GetSaveFileNameW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | commdlg | ) |
|
static |
Definition at line 227 of file filedlg.c.
Referenced by FileOpenDlgProc95(), and get_filedlg_infoptr().
Definition at line 220 of file filedlg.c.
Referenced by FILEDLG95_MRU_get_slot().
Definition at line 217 of file filedlg.c.
Referenced by FILEDLG95_LOOKIN_AddItem(), FILEDLG95_LOOKIN_Clean(), FILEDLG95_LOOKIN_Init(), FILEDLG95_LOOKIN_RemoveMostExpandedItem(), and FILEDLG95_LOOKIN_SelectItem().
|
static |
Definition at line 218 of file filedlg.c.
Referenced by FileOpenDlgProc95().