Author: hbelusca Date: Thu Dec 6 21:52:09 2012 New Revision: 57808
URL: http://svn.reactos.org/svn/reactos?rev=57808&view=rev Log: [NTDLL] Correct some comments.
Modified: branches/ros-csrss/dll/ntdll/csr/capture.c
Modified: branches/ros-csrss/dll/ntdll/csr/capture.c URL: http://svn.reactos.org/svn/reactos/branches/ros-csrss/dll/ntdll/csr/capture.... ============================================================================== --- branches/ros-csrss/dll/ntdll/csr/capture.c [iso-8859-1] (original) +++ branches/ros-csrss/dll/ntdll/csr/capture.c [iso-8859-1] Thu Dec 6 21:52:09 2012 @@ -93,7 +93,7 @@ /* Validate size */ if (BufferSize >= MAXLONG) return NULL;
- /* Add the size of the header and for each pointer to the pointers */ + /* Add the size of the header and for each offset to the pointers */ BufferSize += FIELD_OFFSET(CSR_CAPTURE_BUFFER, PointerOffsetsArray) + (ArgumentCount * sizeof(ULONG_PTR));
/* Align it to a 4-byte boundary */ @@ -107,7 +107,7 @@ CaptureBuffer->Size = BufferSize; CaptureBuffer->PointerCount = 0;
- /* Initialize all the pointers */ + /* Initialize all the offsets */ RtlZeroMemory(CaptureBuffer->PointerOffsetsArray, ArgumentCount * sizeof(ULONG_PTR));