Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
__WinFlags
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
WORD PASCAL __WinFlags;
 
The __WinFlags variable specifies the type and mode of operation of the CPU.
The Windows kernel sets this variable when it starts. Device drivers can
access the variable by importing it.
 
Import Module.Ordinal: KERNEL.178.
 
Comments
 
The __WinFlags variable can have a combination of the following values:
 
Value          Meaning
────────────────────────────────────────────────────────────────────────────
WF_PMODE       0x0001
 
WF_CPU286      0x0002
 
WF_CPU386      0x0004
 
WF_CPU486      0x0008
 
WF_STANDARD    0x0010
 
WF_WIN286      0x0010
 
WF_ENHANCED    0x0020
 
WF_WIN386      0x0020
 
WF_CPU086      0x0040
 
WF_CPU186      0x0080
 
WF_LARGEFRAME  0x0100
 
WF_SMALLFRAME  0x0200
 
WF_80x87       0x0400
 
WF_PAGING      0x0800
 
WF_WLO         0x8000
 
See Also
 
GetWinFlags