ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

filedlg.c File Reference
#include "config.h"
#include "wine/port.h"
#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 "filedlg31.h"
#include "cderr.h"
#include "shellapi.h"
#include "shlobj.h"
#include "filedlgbrowser.h"
#include "shlwapi.h"
#include "wine/unicode.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  LPSFOLDER
struct  LookInInfos

Defines

#define _WIN32_WINNT   0x0600
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define UNIMPLEMENTED_FLAGS
#define IsHooked(fodInfos)   ((fodInfos->ofnInfos->Flags & OFN_ENABLEHOOK) && fodInfos->ofnInfos->lpfnHook)
#define ICONWIDTH   18
#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 CBAddString(hwnd, str)   SendMessageW(hwnd, CB_ADDSTRING, 0, (LPARAM)(str));
#define CBInsertString(hwnd, str, pos)   SendMessageW(hwnd, CB_INSERTSTRING, (WPARAM)(pos), (LPARAM)(str));
#define CBDeleteString(hwnd, pos)   SendMessageW(hwnd, CB_DELETESTRING, (WPARAM)(pos), 0);
#define CBSetItemDataPtr(hwnd, iItemId, dataPtr)   SendMessageW(hwnd, CB_SETITEMDATA, (WPARAM)(iItemId), (LPARAM)(dataPtr));
#define CBGetItemDataPtr(hwnd, iItemId)   SendMessageW(hwnd, CB_GETITEMDATA, (WPARAM)(iItemId), 0)
#define CBGetLBText(hwnd, iItemId, str)   SendMessageW(hwnd, CB_GETLBTEXT, (WPARAM)(iItemId), (LPARAM)(str));
#define CBGetCurSel(hwnd)   SendMessageW(hwnd, CB_GETCURSEL, 0, 0);
#define CBSetCurSel(hwnd, pos)   SendMessageW(hwnd, CB_SETCURSEL, (WPARAM)(pos), 0);
#define CBGetCount(hwnd)   SendMessageW(hwnd, CB_GETCOUNT, 0, 0);
#define CBShowDropDown(hwnd, show)   SendMessageW(hwnd, CB_SHOWDROPDOWN, (WPARAM)(show), 0);
#define CBSetItemHeight(hwnd, index, height)   SendMessageW(hwnd, CB_SETITEMHEIGHT, (WPARAM)(index), (LPARAM)(height));
#define CBSetExtendedUI(hwnd, flag)   SendMessageW(hwnd, CB_SETEXTENDEDUI, (WPARAM)(flag), 0)
#define SETDefFormatEtc(fe, cf, med)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (commdlg)
static LRESULT FILEDLG95_ResizeControls (HWND hwnd, WPARAM wParam, LPARAM lParam)
static LRESULT FILEDLG95_FillControls (HWND hwnd, WPARAM wParam, LPARAM lParam)
static LRESULT FILEDLG95_OnWMCommand (HWND hwnd, WPARAM wParam)
static LRESULT FILEDLG95_OnWMGetIShellBrowser (HWND hwnd)
static BOOL FILEDLG95_OnOpen (HWND hwnd)
static LRESULT FILEDLG95_InitControls (HWND hwnd)
static void FILEDLG95_Clean (HWND hwnd)
static LRESULT FILEDLG95_SHELL_Init (HWND hwnd)
static BOOL FILEDLG95_SHELL_UpFolder (HWND hwnd)
static BOOL FILEDLG95_SHELL_ExecuteCommand (HWND hwnd, LPCSTR lpVerb)
static void FILEDLG95_SHELL_Clean (HWND hwnd)
static BOOL FILEDLG95_SHELL_BrowseToDesktop (HWND hwnd)
static int FILEDLG95_FILENAME_GetFileNames (HWND hwnd, LPWSTR *lpstrFileList, UINT *sizeUsed)
static HRESULT FILEDLG95_FILETYPE_Init (HWND hwnd)
static BOOL FILEDLG95_FILETYPE_OnCommand (HWND hwnd, WORD wNotifyCode)
static int FILEDLG95_FILETYPE_SearchExt (HWND hwnd, LPCWSTR lpstrExt)
static void FILEDLG95_FILETYPE_Clean (HWND hwnd)
static void FILEDLG95_LOOKIN_Init (HWND hwndCombo)
static LRESULT FILEDLG95_LOOKIN_DrawItem (LPDRAWITEMSTRUCT pDIStruct)
static BOOL FILEDLG95_LOOKIN_OnCommand (HWND hwnd, WORD wNotifyCode)
static int FILEDLG95_LOOKIN_AddItem (HWND hwnd, LPITEMIDLIST pidl, int iInsertId)
static int FILEDLG95_LOOKIN_SearchItem (HWND hwnd, WPARAM searchArg, int iSearchMethod)
static int FILEDLG95_LOOKIN_InsertItemAfterParent (HWND hwnd, LPITEMIDLIST pidl)
static int FILEDLG95_LOOKIN_RemoveMostExpandedItem (HWND hwnd)
int FILEDLG95_LOOKIN_SelectItem (HWND hwnd, LPITEMIDLIST pidl)
static void FILEDLG95_LOOKIN_Clean (HWND hwnd)
static void FILEDLG95_MRU_load_filename (LPWSTR stored_path)
static WCHAR FILEDLG95_MRU_get_slot (LPCWSTR module_name, LPWSTR stored_path, PHKEY hkey_ret)
static void FILEDLG95_MRU_save_filename (LPCWSTR filename)
static HRESULT GetName (LPSHELLFOLDER lpsf, LPITEMIDLIST pidl, DWORD dwFlags, LPWSTR lpstrFileName)
IShellFolderGetShellFolderFromPidl (LPITEMIDLIST pidlAbs)
LPITEMIDLIST GetParentPidl (LPITEMIDLIST pidl)
static LPITEMIDLIST GetPidlFromName (IShellFolder *psf, LPWSTR lpcstrFileName)
static BOOL IsPidlFolder (LPSHELLFOLDER psf, LPCITEMIDLIST pidl)
static UINT GetNumSelected (IDataObject *doSelected)
static voidMemAlloc (UINT size)
static void MemFree (void *mem)
static INT_PTR CALLBACK FileOpenDlgProc95 (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR FILEDLG95_HandleCustomDialogMessages (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static BOOL FILEDLG95_OnOpenMultipleFiles (HWND hwnd, LPWSTR lpstrFileList, UINT nFileCount, UINT sizeUsed)
static BOOL BrowseSelectedFolder (HWND hwnd)
static BOOL GetFileName95 (FileOpenDlgInfos *fodInfos)
static BOOL GetFileDialog95A (LPOPENFILENAMEA ofn, UINT iDlgType)
static BOOL GetFileDialog95W (LPOPENFILENAMEW ofn, UINT iDlgType)
static BOOL COMDLG32_GetDisplayNameOf (LPCITEMIDLIST pidl, LPWSTR pwszPath)
void COMDLG32_GetCanonicalPath (PCIDLIST_ABSOLUTE pidlAbsCurrent, LPWSTR lpstrFile, LPWSTR lpstrPathAndFile)
int COMDLG32_SplitFileNames (LPWSTR lpstrEdit, UINT nStrLen, LPWSTR *lpstrFileList, UINT *sizeUsed)
static void ArrangeCtrlPositions (HWND hwndChildDlg, HWND hwndParentDlg, BOOL hide_help)
static INT_PTR CALLBACK FileOpenDlgProcUserTemplate (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static HWND CreateTemplateDialog (FileOpenDlgInfos *fodInfos, HWND hwnd)
LRESULT SendCustomDlgNotificationMessage (HWND hwndParentDlg, UINT uCode)
static INT_PTR FILEDLG95_Handle_GetFilePath (HWND hwnd, DWORD size, LPVOID result)
static LRESULT FILEDLG95_OnWMGetMMI (HWND hwnd, LPMINMAXINFO mmiptr)
static LRESULT FILEDLG95_OnWMSize (HWND hwnd, WPARAM wParam)
static BOOL FILEDLG95_SendFileOK (HWND hwnd, FileOpenDlgInfos *fodInfos)
void FILEDLG95_OnOpenMessage (HWND hwnd, int idCaption, int idText)
int FILEDLG95_ValidatePathAction (LPWSTR lpstrPathAndFile, IShellFolder **ppsf, HWND hwnd, DWORD flags, BOOL isSaveDlg, int defAction)
static BOOL FILEDLG95_unixfs_is_rooted_at_desktop (void)
void FILEDLG95_FILENAME_FillFromSelection (HWND hwnd)
static HRESULT COMDLG32_StrRetToStrNW (LPWSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
static void COMCTL32_ReleaseStgMedium (STGMEDIUM medium)
LPITEMIDLIST GetPidlFromDataObject (IDataObject *doSelected, UINT nPidlIndex)
BOOL FD32_GetTemplate (PFD31_DATA lfs)
static LONG FD32_WMMeasureItem (LPARAM lParam)
static INT_PTR CALLBACK FD32_FileOpenDlgProc (HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam)
static BOOL GetFileName31A (LPOPENFILENAMEA lpofn, UINT dlgType)
static BOOL GetFileName31W (LPOPENFILENAMEW lpofn, UINT dlgType)
BOOL WINAPI GetOpenFileNameA (LPOPENFILENAMEA ofn)
BOOL WINAPI GetOpenFileNameW (LPOPENFILENAMEW ofn)
BOOL WINAPI GetSaveFileNameA (LPOPENFILENAMEA ofn)
BOOL WINAPI GetSaveFileNameW (LPOPENFILENAMEW ofn)
short WINAPI GetFileTitleA (LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf)
short WINAPI GetFileTitleW (LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf)

Variables

const char FileOpenDlgInfosStr [] = "FileOpenDlgInfos"
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}

Generated on Sun May 27 2012 05:07:28 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.