ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

ReactOS Community > ReactOS Wiki

Techwiki:NtGlobalFlag

From ReactOS

Jump to: navigation, search

Amongst the functions involved in process creation there is also LdrQueryImageFileExecutionOptions that maintains trace of IFEO (Image File Execution Options) structure, this struct is located in Registry under the path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\

The various possible values are:

  • Debugger
  • DisableHeapLookaside
  • ShutdownFlags
  • MinimumStackCommitInBytes
  • ExecuteOptions
  • GlobalFlag
  • DebugProcessHeapOnly
  • ApplicationGoo
  • RpcThreadPoolThrottle

GlobalFlag is used to modify NtGlobalFlag for processes of specific image.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\%SomeExeName%.exe]
"GlobalFlag"="FLG_*"

Where instead of FLG_* should be integer value of ORed Global Flags defined in include\ndk\pstypes.h and in include\psdk\winternl.h