Correct some comments.

svn path=/branches/ros-csrss/; revision=57808
This commit is contained in:
Hermès Bélusca-Maïto 2012-12-06 21:52:09 +00:00
parent ae20fbcb81
commit 190ce5ba55

View file

@ -93,7 +93,7 @@ CsrAllocateCaptureBuffer(IN ULONG ArgumentCount,
/* 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 @@ CsrAllocateCaptureBuffer(IN ULONG ArgumentCount,
CaptureBuffer->Size = BufferSize;
CaptureBuffer->PointerCount = 0;
/* Initialize all the pointers */
/* Initialize all the offsets */
RtlZeroMemory(CaptureBuffer->PointerOffsetsArray,
ArgumentCount * sizeof(ULONG_PTR));