// ntddk.h
NTSYSAPI NTSTATUS RtlValidateCorrelationVector(
PCORRELATION_VECTOR Vector
);
View the official Windows Driver Kit DDI referenceNo description available.
Validates the specified correlation vector to check whether it conforms to the Correlation Vector Specification (v2). The function specifically checks if the first 22 bytes are a valid base64 representation of a 16 byte buffer and the remaining characters match the (.\d+)+ regular expression.
VectorA pointer to a CORRELATION_VECTOR structure that represents the correlation vector to be validated.
Returns an NTSTATUS value that indicates the success of failure of the operation.
| Return code | Description |
|---|---|
| STATUS_SUCCESS | The correlation vector is valid. |
| STATUS_INVALID_PARAMETER | The supplied correlation vector is invalid. |