![]() ![]() ![]() BOOL BrowseFile (HWND hwndDlg, char *stringId, wchar_t *initialDir) īOOL BrowseDirectories (HWND hWnd, char *lpszTitle, wchar_t *dirName) Void ResetCipherTest ( HWND hwndDlg, int idTestCipher ) īOOL BrowseFiles (HWND hwndDlg, char *stringId, wchar_t *lpszFileName, BOOL keepHistory, BOOL saveMode, wchar_t *browseFilter) Void cleanup ( void -377,7 +374,6 BOOL CALLBACK CipherTestDialogProc ( HWND hwndDlg, UINT uMsg, WPARAM wParam , +++ -282,9 +282,6 typedef NTSTATUS (WINAPI *NtQuerySystemInformationFn)( HRes = FindResource (hResInst, MAKEINTRESOURCE(resourceId), resourceType) ĭiff -git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h In case we're being called from the SetupDLL project, -11686,7 +11635,7 BYTE *MapResource (wchar_t *resourceType, int resourceId, PDWORD size) ![]() Return SendDlgItemMessage (hwndDlg, dlgItem, BM_SETCHECK, state ? BST_CHECKED : BST_UNCHECKED, -11674,7 +11623,7 BYTE *MapResource (wchar_t *resourceType, int resourceId, PDWORD size) LRESULT SetCheckBox (HWND hwndDlg, int dlgItem, BOOL state) SystemFileSelectorCallerThreadId = GetCurrentThreadId() īOOL BrowseFilesInDir (HWND hwndDlg, char *stringId, wchar_t *initialDir, wchar_t *lpszFileName, BOOL keepHistory, BOOL saveMode, wchar_t *browseFilter, const wchar_t *initialFileName, const wchar_t -10036,6 +9982,8 BOOL PrintHardCopyTextUTF16 (wchar_t *text, wchar_t *title, size_t textByteLen) ofn.nMaxFile = sizeof (file) / sizeof (file) BOOL BrowseFile (HWND hwndDlg, char *stringId, wchar_t *initialDir) Return BrowseFilesInDir (hwndDlg, stringId, NULL, lpszFileName, keepHistory, saveMode, browseFilter) SendMessage (hComboBox, CB_SETCURSEL, 0, -5468,53 +5461,6 BOOL BrowseFiles (HWND hwndDlg, char *stringId, wchar_t *lpszFileName, BOOL keep *algo_id = (int) SendMessage (hComboBox, CB_GETITEMDATA, 0, 0) * Something went wrong couldn't find the requested algo id so we drop Static LRESULT CALLBACK NormalPwdFieldProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM -2941,7 +2934,7 SelectAlgo (HWND hComboBox, int *algo_id) Ensures that a warning is displayed when user is pasting a password longer than the maximum SetWindowLongPtrW (hwndCtrl, GWLP_WNDPROC, (LONG_PTR) BootPwdFieldProc) user from pasting a password typed using a non-US keyboard -2105,12 +2104,6 void ToBootPwdField (HWND hwndDlg, UINT ctrlId) input fields (only the US keyboard layout is supported in pre-boot environment so we must prevent the ![]() Protects an input field from having its content updated by a Paste action. Return CallWindowProcW (wp, hwnd, message, wParam, lParam) Error ("ERROR_PASTE_ACTION", GetParent(hwnd)) WNDPROC wp = (WNDPROC) GetWindowLongPtrW (hwnd, GWLP_USERDATA) Static LRESULT CALLBACK BootPwdFieldProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) +// Protects an input field from having its content updated by a Paste action (call ToBootPwdField() to use this). * Protects an input field from having its content updated by a paste action */ SendMessage(hwnd, EM_HIDEBALLOONTIP, 0, 0) +++ -2068,25 +2068,24 void HandlePasswordEditWmChar (HWND hwnd, WPARAM wParam) Diff -git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |