RtlIncrementCorrelationVector function (ntddk.h)

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(
  [in, out] PCORRELATION_VECTOR CorrelationVector
);

Parameters

[in, out] 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

Requirement Value
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