diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-12-27 00:08:13 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-12-27 13:39:16 +0100 |
commit | c92d51e0405085208c2166780e822a0d113b2ed7 (patch) | |
tree | 2bd8103552c2fcb2132a3dc795b0704400ddfd19 /src/Common/Dlgcode.h | |
parent | 258ba629a2dc1af61b2fade1e040830080ffcc57 (diff) | |
download | VeraCrypt-c92d51e0405085208c2166780e822a0d113b2ed7.tar.gz VeraCrypt-c92d51e0405085208c2166780e822a0d113b2ed7.zip |
Windows: make the wait dialog mechanism more generic in order to reuse it more widely across VeraCrypt.
Diffstat (limited to 'src/Common/Dlgcode.h')
-rw-r--r-- | src/Common/Dlgcode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h index 3781fd54..b3ec7501 100644 --- a/src/Common/Dlgcode.h +++ b/src/Common/Dlgcode.h @@ -528,6 +528,10 @@ std::string HarddiskVolumePathToPartitionPath (const std::string &harddiskVolume std::string FindLatestFileOrDirectory (const std::string &directory, const char *namePattern, bool findDirectory, bool findFile);
std::string GetUserFriendlyVersionString (int version);
+// Display a wait dialog while calling the provided callback with the given parameter
+typedef void (CALLBACK* WaitThreadProc)(void* pArg, HWND hWaitDlg);
+void ShowWaitDialog(HWND hwnd, BOOL bUseHwndAsParent, WaitThreadProc callback, void* pArg);
+
#endif // __cplusplus
#endif // TC_HEADER_DLGCODE
|