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

Function PrintUserName

cppcryptfs/dokan/cryptdokan.cpp:211–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211static void PrintUserName(PDOKAN_FILE_INFO DokanFileInfo) {
212
213 // this function is expensive and doesn't seem to provide
214 // any useful information in the log
215#if 0
216 if (!g_DebugMode)
217 return;
218
219
220
221 wstring accountName, domainName;
222
223 if (GetUserNameFromDokanFileInof(DokanFileInfo))
224 DbgPrint(L" AccountName: %s, DomainName: %s\n", accountName.c_str(), domainName.c_str());
225 else
226 DbgPrint(L"GetUserNameFromToken failed\n");
227
228
229#endif // #if 0
230}
231
232NTSTATUS ToNtStatus(DWORD dwError) {
233

Callers 1

Calls 1

DbgPrintFunction · 0.85

Tested by

no test coverage detected