diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-08-29 16:45:48 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-08-29 16:45:48 +0000 |
commit | 97f7ed7dea6c1096c1137cb71d571475b97ea8dc (patch) | |
tree | dc7e812e9c9e3e45253f92a2b23cc6882e63ab04 /win32 | |
parent | 780acd99312b6071dd2ae314086704f37c04cab1 (diff) |
Add a comment about using IFileOpenDialog and IFileSaveDialog on newer
versions of Windows.
svn path=/trunk/; revision=38777
Diffstat (limited to 'win32')
-rw-r--r-- | win32/file_dlg_win32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/file_dlg_win32.c b/win32/file_dlg_win32.c index 8809a840fc..05f624cfdc 100644 --- a/win32/file_dlg_win32.c +++ b/win32/file_dlg_win32.c @@ -150,6 +150,12 @@ static print_args_t print_args; static HWND g_sf_hwnd = NULL; static char *dfilter_str = NULL; +/* + * According to http://msdn.microsoft.com/en-us/library/bb776913.aspx + * we should use IFileOpenDialog and IFileSaveDialog on Windows Vista + * and later. + */ + gboolean win32_open_file (HWND h_wnd) { OPENFILENAME *ofn; |