Add a comment about using IFileOpenDialog and IFileSaveDialog on newer
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 29 Aug 2011 16:45:48 +0000 (16:45 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 29 Aug 2011 16:45:48 +0000 (16:45 +0000)
versions of Windows.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38777 f5534014-38df-0310-8fa8-9805f1628bb7

win32/file_dlg_win32.c

index 8809a840fcc2522353fb24eb7bca4bbd3be74e53..05f624cfdc4d5703404be0b27de244e3ae6fccd4 100644 (file)
@@ -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;