MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / CryptCaseStreamsCallback

Function CryptCaseStreamsCallback

cppcryptfs/dokan/cryptdokan.cpp:120–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118static FILE* g_DebugLogFile = nullptr;
119
120int WINAPI
121CryptCaseStreamsCallback(PWIN32_FIND_STREAM_DATA pfdata, LPCWSTR encrypted_name,
122 unordered_map<wstring, wstring> *pmap) {
123 wstring stream_without_type;
124 wstring type;
125
126 remove_stream_type(pfdata->cStreamName, stream_without_type, type);
127
128 wstring uc_stream;
129
130 touppercase(stream_without_type.c_str(), uc_stream);
131
132 pmap->insert(make_pair(uc_stream, stream_without_type.c_str()));
133
134 return 0;
135}
136
137
138static bool GetUserNameFromDokanFileInfo(PDOKAN_FILE_INFO DokanFileInfo, wstring& user, wstring& domain)

Callers

nothing calls this directly

Calls 3

remove_stream_typeFunction · 0.85
touppercaseFunction · 0.85
insertMethod · 0.80

Tested by

no test coverage detected