Conform to the new CSR_PROCESS and CSR_THREAD.
Modified: trunk/reactos/subsys/csr/csrsrv/process.c
Modified: trunk/reactos/subsys/csr/csrsrv/thread.c
_____
Modified: trunk/reactos/subsys/csr/csrsrv/process.c
--- trunk/reactos/subsys/csr/csrsrv/process.c 2005-08-13 12:45:33 UTC
(rev 17363)
+++ trunk/reactos/subsys/csr/csrsrv/process.c 2005-08-13 12:46:37 UTC
(rev 17364)
@@ -68,7 +68,7 @@
{
Status = STATUS_NO_MEMORY;
} else {
- pCsrProcess->CsrSession = pCsrSession;
+ pCsrProcess->NtSession = pCsrSession;
if (NULL != ppCsrProcess)
{
*ppCsrProcess = pCsrProcess;
_____
Modified: trunk/reactos/subsys/csr/csrsrv/thread.c
--- trunk/reactos/subsys/csr/csrsrv/thread.c 2005-08-13 12:45:33 UTC
(rev 17363)
+++ trunk/reactos/subsys/csr/csrsrv/thread.c 2005-08-13 12:46:37 UTC
(rev 17364)
@@ -53,7 +53,7 @@
{
return STATUS_INVALID_PARAMETER;
}
- pCsrSession = pCsrProcess->CsrSession;
+ pCsrSession = pCsrProcess->NtSession;
pCsrThread = RtlAllocateHeap (pCsrSession->Heap,
HEAP_ZERO_MEMORY,
sizeof (CSR_THREAD));
@@ -62,8 +62,7 @@
DPRINT1("CSRSRV:%s: out of memory!\n", __FUNCTION__);
return STATUS_NO_MEMORY;
}
- pCsrThread->CsrSession = pCsrSession;
- pCsrThread->CsrProcess = pCsrProcess;
+ pCsrThread->Process = pCsrProcess;
return Status;
}
Show replies by date