mirror of
https://github.com/reactos/reactos.git
synced 2024-07-29 23:58:44 +00:00
[NTDLL]
Correct some comments. svn path=/branches/ros-csrss/; revision=57808
This commit is contained in:
parent
ae20fbcb81
commit
190ce5ba55
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue