Lines Matching refs:ofn
272 OPENFILENAMEA ofn; in WndProc() local
277 ofn.lStructSize = sizeof (OPENFILENAMEA); in WndProc()
278 ofn.hwndOwner = hwnd; in WndProc()
279 ofn.hInstance = NULL; in WndProc()
280 ofn.lpstrFilter = szFilter; in WndProc()
281 ofn.lpstrCustomFilter = NULL; in WndProc()
282 ofn.nMaxCustFilter = 0; in WndProc()
283 ofn.nFilterIndex = 0; in WndProc()
284 ofn.lpstrFile = szFileName; in WndProc()
285 ofn.nMaxFile = MAX_PATH; in WndProc()
286 ofn.lpstrFileTitle = szTitleName; in WndProc()
287 ofn.nMaxFileTitle = MAX_PATH; in WndProc()
288 ofn.lpstrInitialDir = NULL; in WndProc()
289 ofn.lpstrTitle = NULL; in WndProc()
290 ofn.Flags = OFN_HIDEREADONLY | OFN_PATHMUSTEXIST; in WndProc()
291 ofn.nFileOffset = 0; in WndProc()
292 ofn.nFileExtension = 0; in WndProc()
293 ofn.lpstrDefExt = "txt"; in WndProc()
294 ofn.lCustData = 0L; in WndProc()
295 ofn.lpfnHook = NULL; in WndProc()
296 ofn.lpTemplateName = NULL; in WndProc()
300 if (GetOpenFileNameA(&ofn)) { in WndProc()