| 950 | } |
| 951 | |
| 952 | const WCHAR * |
| 953 | remove_longname_suffix(const WCHAR *filepath, wstring& storage) |
| 954 | { |
| 955 | storage = filepath; |
| 956 | |
| 957 | size_t len = storage.length() - (sizeof(LONGNAME_SUFFIX_W) / sizeof(WCHAR) - 1); |
| 958 | |
| 959 | storage = storage.substr(0, len); |
| 960 | |
| 961 | return &storage[0]; |
| 962 | } |
| 963 | |
| 964 | bool |
| 965 | get_actual_encrypted(CryptContext *con, LPCWSTR FileName, string& actual_encrypted) |
no outgoing calls
no test coverage detected