RtlEncodeRemotePointer - NtDoc

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

// rev
/**
 * The RtlEncodeRemotePointer routine encodes the specified pointer of the specified process.
 * Encoded pointers can be used to provide another layer of protection for pointer values.
 *
 * \param ProcessHandle Handle to the remote process that owns the pointer.
 * \param Pointer The pointer to be encoded.
 * \param EncodedPointer The encoded pointer.
 * \return HRESULT Successful or errant status.
 * \sa https://learn.microsoft.com/en-us/previous-versions/dn877135(v=vs.85)
 */
NTSYSAPI
HRESULT
NTAPI
RtlEncodeRemotePointer(
    _In_ HANDLE ProcessHandle,
    _In_opt_ PVOID Pointer,
    _Out_ PVOID *EncodedPointer
    );

#endif
#endif

View code on GitHub

No description available.