mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Windows: AFS_Startup_Event must query Debug value
For proper debugging to be performed within the AFS_Startup_Event processing, the "Debug" value must be queried from the registry. Change-Id: I3b9fa48029f45022c9c5c00cadd64d0822878046 Reviewed-on: http://gerrit.openafs.org/7633 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
187af8d113
commit
7fd1dc6c88
@ -1284,6 +1284,14 @@ VOID AFS_Startup_Event( PWLX_NOTIFICATION_INFO pInfo )
|
|||||||
RegQueryValueEx(NPKey, REG_CLIENT_TRACE_OPTION_PARM, NULL,
|
RegQueryValueEx(NPKey, REG_CLIENT_TRACE_OPTION_PARM, NULL,
|
||||||
&LSPtype, (LPBYTE)&TraceOption, &LSPsize);
|
&LSPtype, (LPBYTE)&TraceOption, &LSPsize);
|
||||||
|
|
||||||
|
RegCloseKey (NPKey);
|
||||||
|
|
||||||
|
(void) RegOpenKeyEx(HKEY_LOCAL_MACHINE, AFSREG_CLT_SVC_PROVIDER_SUBKEY,
|
||||||
|
0, KEY_QUERY_VALUE, &NPKey);
|
||||||
|
LSPsize=sizeof(Debug);
|
||||||
|
RegQueryValueEx(NPKey, REG_CLIENT_DEBUG_PARM, NULL,
|
||||||
|
&LSPtype, (LPBYTE)&Debug, &LSPsize);
|
||||||
|
|
||||||
RegCloseKey (NPKey);
|
RegCloseKey (NPKey);
|
||||||
DebugEvent0("AFS_Startup_Event");
|
DebugEvent0("AFS_Startup_Event");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user