RtlEncodePointer - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

/**
 * The RtlEncodePointer routine encodes the specified pointer. Encoded pointers can be used to provide another layer of protection for pointer values.
 *
 * \param Ptr The system pointer to be encoded.
 * \return The function returns the encoded pointer.
 * \sa https://learn.microsoft.com/en-us/previous-versions/bb432254(v=vs.85)
 */
_Ret_maybenull_
NTSYSAPI
PVOID
NTAPI
RtlEncodePointer(
    _In_opt_ PVOID Ptr
    );

#endif

View code on GitHub

No description available.