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