ALIGN_UP_POINTER_BY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
#if defined(__INTELLISENSE__) || defined(DOXYGEN)
#ifndef ALIGN_UP_POINTER_BY

/**
 * The ALIGN_UP_POINTER_BY macro aligns a pointer up to a specified alignment boundary.
 *
 * \param Address   The pointer to align.
 * \param Alignment The alignment boundary in bytes (typically a power of two).
 * \return A pointer at or above @p Address aligned up to @p Alignment.
 * \remarks This is a pointer wrapper over ALIGN_UP_BY.
 */
#define ALIGN_UP_POINTER_BY(Address, Alignment) ((PVOID)ALIGN_UP_BY(Address, Alignment))

#endif
#endif
#endif
#endif

View code on GitHub
#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
#if defined(__INTELLISENSE__) || defined(DOXYGEN)
// ...
#else
#ifndef ALIGN_UP_POINTER_BY

#define ALIGN_UP_POINTER_BY(Address, Alignment) ((PVOID)ALIGN_UP_BY(Address, Alignment))

#endif
#endif
#endif
#endif

View code on GitHub

NtDoc

No description available.