comdlg32: Fix test under win98.

oldstable
Alistair Leslie-Hughes 2008-10-28 19:49:45 +11:00 committed by Alexandre Julliard
parent d1791f8108
commit 9e4d6e6110
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ static void test_create_view_template(void)
ofn.nMaxFile = 1042;
ofn.lpfnHook = (LPOFNHOOKPROC)template_hook;
ofn.Flags = OFN_ENABLEHOOK | OFN_EXPLORER| OFN_ENABLETEMPLATE;
ofn.hInstance = GetModuleHandleW(NULL);
ofn.hInstance = GetModuleHandleA(NULL);
ofn.lpTemplateName = "template1";
ofn.lpstrFilter="text\0*.txt\0All\0*\0\0";
ret = GetOpenFileNameA(&ofn);