| 126 | |
| 127 | |
| 128 | bool MountPointManager::unmount_all(bool wait) |
| 129 | { |
| 130 | for (auto it = m_tdatas.begin(); it != m_tdatas.end(); ++it) { |
| 131 | wstring wmes; |
| 132 | if (!unmount_crypt_fs(it->first.c_str(), false, wmes)) { |
| 133 | return false; |
| 134 | } |
| 135 | } |
| 136 | bool result = true; |
| 137 | if (wait) { |
| 138 | result = this->wait_all_and_destroy(); |
| 139 | } |
| 140 | return result; |
| 141 | } |
| 142 | |
| 143 | BOOL MountPointManager::wait_multiple_and_destroy(int count, HANDLE handles[], wstring mountpoints[]) |
| 144 | { |
no test coverage detected