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

/**
 * The ClearFlag macro clears bits in a flag value (in-place).
 *
 * \param _F  The flag lvalue to modify.
 * \param _SF The bits to clear from @p _F.
 * \remarks This macro modifies @p _F by AND-ing it with the complement of @p _SF.
 */
#define ClearFlag(_F, _SF) ((_F) &= ~(_SF))

#endif
#endif
#endif
#endif

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

#define ClearFlag(_F, _SF) ((_F) &= ~(_SF))

#endif
#endif
#endif
#endif

View code on GitHub

NtDoc

No description available.