Bewerken

Delen via


ExInitializeDriverRuntime function (wdm.h)

POOL_NX_OPTIN allows device drivers to dynamically opt-in to making non-paged pool allocations non-executable by default based on whether or not this is supported by the version of the operating system. Device drivers must call ExInitializeDriverRuntime (DrvRtPoolNxOptIn) during driver initialization to dynamically opt-in. This opt-in method should be used by drivers that are designed to run on versions of Windows that may or may not support NX non-paged pool allocations.

Syntax

void ExInitializeDriverRuntime(
  ULONG RuntimeFlags
);

Parameters

RuntimeFlags

Return value

None

Requirements

Requirement Value
Header wdm.h

See also

Single Binary Opt-In: POOL_NX_OPTIN