PAGE_SHIFT - 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 PAGE_SHIFT

/**
 * The PAGE_SHIFT macro defines the bit shift corresponding to PAGE_SIZE.
 *
 * \return The shift value (default 0xC, i.e., 12).
 * \remarks For 4 KiB pages, PAGE_SHIFT is 12 because 2^12 = 4096.
 */
#define PAGE_SHIFT 0xC

#endif
#endif
#endif
#endif

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

#define PAGE_SHIFT 0xC

#endif
#endif
#endif
#endif

View code on GitHub

NtDoc

No description available.