RtlIncrementCorrelationVector function

Increments the specified correlation vector. For a correlation vector of the form X.i, the incremented value is be X.(i+1).

Syntax

NTSYSAPI NTSTATUS RtlIncrementCorrelationVector(
  PCORRELATION_VECTOR CorrelationVector
);

Parameters

CorrelationVector

A pointer to a CORRELATION_VECTOR structure that represents the correlation vector to be incremented.

Return Value

Returns an NTSTATUS value that indicates the success of failure of the operation.

Return code Description
STATUS_SUCCESS
The correlation vector was successfully incremented.
STATUS_BUFFER_OVERFLOW
Incrementing the correlation vector resulted in a buffer overflow because as the incremented value is no longer a valid correlation vector.

Requirements

   
Minimum supported client Windows 10, version 1709
Minimum supported server Windows Server 2016
Target Platform Windows
Header ntddk.h
Library NtosKrnl.lib
DLL NtosKrnl.exe (kernel mode)
IRQL PASSIVE_LEVEL