DebugEvent
DebugEvent("Deleting orphaned cache file: \"%s\"", FindFileData.cFileName);
DebugEvent("KFW_set_ccache_dacl - ConvertStringSidToSid GLE = 0x%x", GetLastError());
DebugEvent("GetTokenInformation failed: GLE = %lX", GetLastError());
DebugEvent("KFW_set_ccache_dacl - LocalAlloc GLE = 0x%x", GetLastError());
DebugEvent("SetNamedSecurityInfo DACL (1) failed: GLE = 0x%lX", gle);
DebugEvent("SetNamedSecurityInfo OWNER (2) failed: GLE = 0x%lX", gle);
DebugEvent("SetNamedSecurityInfo DACL (3) failed: GLE = 0x%lX", gle);
DebugEvent("KFW_set_ccache_dacl - ConvertStringSidToSid GLE = 0x%x", GetLastError());
DebugEvent("KFW_set_ccache_dacl - LocalAlloc GLE = 0x%x", GetLastError());
DebugEvent("SetNamedSecurityInfo DACL (4) failed: GLE = 0x%lX", gle);
DebugEvent("SetNamedSecurityInfo OWNER (5) failed: GLE = 0x%lX", gle);
DebugEvent("SetNamedSecurityInfo DACL (6) failed: GLE = 0x%lX", gle);
DebugEvent("KFW_Logon_Event - ccache %s", cachename);
DebugEvent("ConfigureLogonScript %s requires %d bytes gle=0x%x", lpTemp, dwLogonScriptLen, GetLastError());
DebugEvent("ConfigureLogonScript - MultiByteToWideChar failed gle = 0x%x", GetLastError());
DebugEvent("LocalAlloc failed gle=0x%x", GetLastError());
DebugEvent("Skipping NPLogonNotify- LoginId(%d,%d) - Interactive(%d:%s) - gle %d",
DebugEvent("NPLogonNotify - LoginId(%d,%d)", lpLogonId->HighPart, lpLogonId->LowPart);
DebugEvent("NPLogonNotify - Unsupported Authentication Info Type: %s", msg);
DebugEvent("NPLogonNotify - KFW_get_cred uname=[%s] code=[%d]",uname, code);
DebugEvent("LookupAccountName obtained user %s sid in domain %s", acctname, pReferencedDomainName);
DebugEvent("KFW_Logon_Event - LogonId(%d,%d)", LogonId.HighPart, LogonId.LowPart);
DebugEvent("KFW_Logon_Event - MoveFileEx failed GLE = 0x%x", GetLastError());
DebugEvent("KFW_Logon_Event - CommandLine %s", commandline);
DebugEvent("LogonEventHandler - \"%s\" cannot be opened", lpszCmdLine);
DebugEvent("KFW_Logon_Event - CommandLine %s", commandline);
DebugEvent("KFW_Logon_Event - CreateProcessFailed \"%s\" GLE 0x%x",
DebugEvent("KFW_Logon_Event PATH %s", getenv("PATH"));
void DebugEvent(char *b,...);