Lines Matching defs:ofn

483     OPENFILENAMEW ofn;
492 memset(&ofn, 0, sizeof(ofn));
501 ofn.lStructSize = sizeof(ofn);
502 ofn.hwndOwner = _ownerHwnd;
503 ofn.lpstrFile = _path_string;
504 ofn.nMaxFile = _MAX_PATH;
505 ofn.lpstrFileTitle = NULL;
506 ofn.nMaxFileTitle = 0;
507 ofn.lpstrInitialDir = current_directory_string;
508 ofn.lpstrTitle = _title;
509 ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_EXPLORER | OFN_ENABLEHOOK | OFN_HIDEREADONLY | OFN_ENABLESIZING;
510 ofn.lpstrFilter = _filter;
511 ofn.nFilterIndex = _filter_index;
512 ofn.lpfnHook = GetOpenFileName_hookproc;
513 ofn.lCustData = (LPARAM)this;
515 _result = GetOpenFileNameW(&ofn) != 0;
517 g_assert(ofn.nFilterIndex >= 1 && ofn.nFilterIndex <= _filter_count);
518 _filter_index = ofn.nFilterIndex;
519 _extension = _extension_map[ofn.nFilterIndex - 1];
566 OPENFILENAMEW *ofn = reinterpret_cast<OPENFILENAMEW*>(lParam);
567 SetWindowLongPtr(hdlg, GWLP_USERDATA, ofn->lCustData);
568 SetWindowLongPtr(hParentWnd, GWLP_USERDATA, ofn->lCustData);
569 pImpl = reinterpret_cast<FileOpenDialogImplWin32*>(ofn->lCustData);
626 SetWindowLongPtr(pImpl->_preview_wnd, GWLP_USERDATA, ofn->lCustData);
1833 OPENFILENAMEW ofn;
1849 ZeroMemory(&ofn, sizeof(ofn));
1850 ofn.lStructSize = sizeof(ofn);
1851 ofn.hwndOwner = _ownerHwnd;
1852 ofn.lpstrFile = _path_string;
1853 ofn.nMaxFile = _MAX_PATH;
1854 ofn.nFilterIndex = _filter_index;
1855 ofn.lpstrFileTitle = NULL;
1856 ofn.nMaxFileTitle = 0;
1857 ofn.lpstrInitialDir = current_directory_string;
1858 ofn.lpstrTitle = _title;
1859 ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_EXPLORER | OFN_ENABLEHOOK | OFN_ENABLESIZING;
1860 ofn.lpstrFilter = _filter;
1861 ofn.nFilterIndex = _filter_index;
1862 ofn.lpfnHook = GetSaveFileName_hookproc;
1863 ofn.lCustData = (LPARAM)this;
1864 _result = GetSaveFileNameW(&ofn) != 0;
1866 g_assert(ofn.nFilterIndex >= 1 && ofn.nFilterIndex <= _filter_count);
1867 _filter_index = ofn.nFilterIndex;
1868 _extension = _extension_map[ofn.nFilterIndex - 1];
1954 OPENFILENAMEW *ofn = reinterpret_cast<OPENFILENAMEW*>(lParam);
1955 SetWindowLongPtr(hdlg, GWLP_USERDATA, ofn->lCustData);
1956 SetWindowLongPtr(hParentWnd, GWLP_USERDATA, ofn->lCustData);
1957 pImpl = reinterpret_cast<FileSaveDialogImplWin32*>(ofn->lCustData);