static BOOLEAN
ConnectConsole(IN PWSTR SessionDir,
IN PCONSRV_API_CONNECTINFO ConnectInfo,
- OUT PBOOLEAN IsServerProcess)
+ OUT PBOOLEAN InServerProcess)
{
NTSTATUS Status;
ULONG ConnectInfoSize = sizeof(*ConnectInfo);
CONSRV_SERVERDLL_INDEX,
ConnectInfo,
&ConnectInfoSize,
- IsServerProcess);
+ InServerProcess);
if (!NT_SUCCESS(Status))
{
DPRINT1("Failed to connect to the Console Server (Status %lx)\n", Status);
}
/* Nothing to do for server-to-server */
- if (*IsServerProcess) return TRUE;
+ if (*InServerProcess) return TRUE;
/* Nothing to do if this is not a console app */
if (!ConnectInfo->IsConsoleApp) return TRUE;
{
NTSTATUS Status;
PRTL_USER_PROCESS_PARAMETERS Parameters = NtCurrentPeb()->ProcessParameters;
- BOOLEAN IsServerProcess;
+ BOOLEAN InServerProcess = FALSE;
CONSRV_API_CONNECTINFO ConnectInfo;
LCID lcid;
/* Connect to the Console Server */
if (!ConnectConsole(SessionDir,
&ConnectInfo,
- &IsServerProcess))
+ &InServerProcess))
{
// DPRINT1("Failed to connect to the Console Server (Status %lx)\n", Status);
return FALSE;
}
/* If we are not doing server-to-server init and if this is a console app... */
- if (!IsServerProcess && ConnectInfo.IsConsoleApp)
+ if (!InServerProcess && ConnectInfo.IsConsoleApp)
{
/* ... set the handles that we got */
if (Parameters->ConsoleHandle == NULL)
/* GLOBALS *******************************************************************/
PBASE_STATIC_SERVER_DATA BaseStaticServerData;
-
-BOOLEAN BaseRunningInServerProcess;
+BOOLEAN BaseRunningInServerProcess = FALSE;
WCHAR BaseDefaultPathBuffer[6140];
/* Initialize default path to NULL */
RtlInitUnicodeString(&BaseDefaultPath, NULL);
- /* Setup the right Object Directory path */
+ /* Setup the Object Directory path */
if (!SessionId)
{
/* Use the raw path */