33 static TCHAR Filter[] =
_T(
"All documents (*.txt,*.rtf)\0*.txt;*.rtf\0") \
34 _T(
"Rich Text Document (*.rtf)\0*.rtf\0") \
35 _T(
"Text Document (*.txt)\0*.txt\0");
62 static TCHAR Filter[] =
_T(
"Rich Text Document (*.rtf)\0*.rtf\0") \
63 _T(
"Text Document (*.txt)\0*.txt\0");
BOOL DoSaveFile(IN OUT PWSTR pszFileName)
BOOL DoOpenFile(OUT PWSTR pszFileName)
VOID FileInitialize(IN HWND hwnd)
#define CDERR_GENERALCODES
DWORD WINAPI CommDlgExtendedError(void)
#define OFN_OVERWRITEPROMPT
#define OFN_FILEMUSTEXIST
#define OFN_PATHMUSTEXIST
OPENFILENAMEA OPENFILENAME
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
static BOOL DoWriteFile(LPCTSTR pszFileName)
WORD WORD PSZ PSZ pszFileName