mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CSRSRV]: Make CSRSRV "load" its own DLL as it should. This lets it support CSRSRV native APIs from NTDLL (which we don't send yet).
svn path=/trunk/; revision=55648
This commit is contained in:
@@ -783,11 +783,11 @@ CsrParseServerCommandLine(IN ULONG ArgumentCount,
|
||||
return Status;
|
||||
}
|
||||
|
||||
/* Load us */
|
||||
/* Hackito ergo sum */
|
||||
BasepFakeStaticServerData();
|
||||
#if 0
|
||||
|
||||
/* Load us */
|
||||
Status = CsrLoadServerDll("CSRSS", NULL, CSR_SRV_SERVER);
|
||||
#endif
|
||||
}
|
||||
else if (!_stricmp(ParameterName, "ServerDLL"))
|
||||
{
|
||||
|
||||
@@ -71,7 +71,7 @@ CsrServerDllInitialization(IN PCSR_SERVER_DLL LoadedServerDll)
|
||||
{
|
||||
/* Setup the DLL Object */
|
||||
LoadedServerDll->ApiBase = 0;
|
||||
LoadedServerDll->HighestApiSupported = 5;
|
||||
LoadedServerDll->HighestApiSupported = CsrpMaxApiNumber;
|
||||
LoadedServerDll->DispatchTable = CsrServerApiDispatchTable;
|
||||
LoadedServerDll->ValidTable = CsrServerApiServerValidTable;
|
||||
LoadedServerDll->NameTable = CsrServerApiNameTable;
|
||||
|
||||
@@ -385,6 +385,12 @@ CsrSrvSetPriorityClass(
|
||||
IN OUT PULONG Reply
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
CsrLoadServerDll(IN PCHAR DllString,
|
||||
IN PCHAR EntryPoint OPTIONAL,
|
||||
IN ULONG ServerId);
|
||||
|
||||
/* api/user.c */
|
||||
CSR_API(CsrRegisterServicesProcess);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user