Lines Matching refs:ofn
265 OPENFILENAMEA ofn;
270 ofn.lStructSize = sizeof (OPENFILENAMEA);
271 ofn.hwndOwner = hwnd;
272 ofn.hInstance = NULL;
273 ofn.lpstrFilter = szFilter;
274 ofn.lpstrCustomFilter = NULL;
275 ofn.nMaxCustFilter = 0;
276 ofn.nFilterIndex = 0;
277 ofn.lpstrFile = szFileName;
278 ofn.nMaxFile = MAX_PATH;
279 ofn.lpstrFileTitle = szTitleName;
280 ofn.nMaxFileTitle = MAX_PATH;
281 ofn.lpstrInitialDir = NULL;
282 ofn.lpstrTitle = NULL;
283 ofn.Flags = OFN_HIDEREADONLY | OFN_PATHMUSTEXIST;
284 ofn.nFileOffset = 0;
285 ofn.nFileExtension = 0;
286 ofn.lpstrDefExt = "txt";
287 ofn.lCustData = 0L;
288 ofn.lpfnHook = NULL;
289 ofn.lpTemplateName = NULL;
293 if (GetOpenFileNameA(&ofn)) {