Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
1.1 KiB

/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
csrbinit.c
Abstract:
This module implements functions that are used during Win32 base initialization to
communicate with csrss.
Author:
Michael Zoran (mzoran) 21-Jun-1998
Revision History:
--*/
#include "basedll.h"
NTSTATUS
CsrBaseClientConnectToServer(
PWSTR szSessionDir,
PHANDLE phMutant,
PBOOLEAN pServerProcess
)
{
#if defined(BUILD_WOW6432)
return NtWow64CsrBaseClientConnectToServer(szSessionDir,
phMutant,
pServerProcess
);
#else
NTSTATUS Status;
ULONG SizeMutant;
SizeMutant = sizeof(HANDLE);
Status = CsrClientConnectToServer( szSessionDir,
BASESRV_SERVERDLL_INDEX,
phMutant,
&SizeMutant,
pServerProcess
);
return Status;
#endif
}