IMG Environment Variables

IMG environment variables only remove modules from your OS image. The variables leave associated registry entries in your OS image intact.

Only use these variables in a Platform.bib file. With these variables, you can transfer files across Ppsh rather than include them in your OS image.

These variables are available for your convenience and should not be used in a released device.

The following table shows all IMG environment variables.

Environment variable Description
IMG_NO1394 Excludes 1394 drivers from the OS image.
IMG_NOAUDIO Excludes audio drivers from the OS image.
IMG_NOBATTERY Excludes battery drivers from the OS image.
IMG_NODISPLAY Excludes display drivers from the OS image.
IMG_NOFIR Excludes Fast IR drivers from the OS image.
IMG_NOIRDA Excludes IRDA drivers from the OS image.
IMG_NOPARALLEL Excludes parallel drivers from the OS image.
IMG_NOPCIBUS Excludes PCIbus drivers from the OS image.
IMG_NOPCMCIA Excludes PCMCIA drivers from the OS image.
IMG_NOSERIAL Excludes serial drivers from the OS image.
IMG_NOSIR Excludes serial-IR drivers from the OS image.
IMG_NOTOUCH Excludes touch drivers from the OS image.
IMG_NOUSB Excludes USB drivers from the OS image.
IMG_NOUSBSER Excludes USB serial drivers from the OS image.
IMG_NSCFIR Excludes National Semiconductor Fast IR drivers from the OS image.
IMGAUTOFLUSH Enables automatic flushing of events to the release directory.
IMGCELOGENABLE Adds CELog.dll to the OS image.
IMGEBOOT Reserves space for the boot loader.
IMGFLASH Flashes the OS image into ROM.
IMGNOAUDIO Excludes audio APIs from the OS image.
IMGNOBLUETOOTH Excludes Bluetooth drivers from the OS image.
IMGNOCEDDK Excludes default CEDDK from the OS image.
IMGNOCOMM Excludes networking features from the OS image.
IMGNOCONSOLE Excludes the console and the command shell from the OS image.
IMGNODEBUGGER Excludes debugger support from the OS image.
IMGNODFLTDDK Excludes default CEDDK from the OS image.
IMGNODRIVERS Excludes all drivers from the OS image.
IMGNOEMULSRV Excludes the emulator startup server from the OS image.

This applies only to the Emulator.

IMGNOETHER Excludes Ethernet drivers from the OS image.
IMGNOKITL Select a kernel that is not KITL-enabled.
IMGNOLDAP Excludes LDAP from the OS image.
IMGNONETUI Excludes NETUI from the OS image.
IMGNOOLE32 Excludes OLE32 from the OS image.
IMGNOREDIR Excludes redir from the OS image.
IMGNOSECURITY Excludes security and cryptography features from the OS image.
IMGNOSERVERS Excludes LPCD from the OS image.
IMGNOSHAREETH Excludes VMINI support from the image.

Setting this flag might require you to perform a rebuild of the BSP.

To do this, navigate to the root directory for the BSP and from the command prompt type build -c.

If the environment variable WINCEREL is set to 1, you must then run the Make Binary Image tool.

IMGNOSNMP Excludes SNMP support from the OS image.
IMGNOTAHOMA Excludes the Tahoma true-type font from the OS image.
IMGNOTALLKMODE Disables the All KMODE feature, which is used to set ROMFLAGS in Config.bib.
IMGNOTXTSHELL Excludes Shell.exe from the OS image.
IMGPROFILER Selects a profiling-enabled kernel.
IMGRAM16 Configures the OS image for 16 MB of RAM.
IMGRAM32 Configures the OS image for 32 MB of RAM.
IMGRAM64 Configures the OS image for 64 MB of RAM.
IMGSIGN Includes the signature extension block in the ROM header.
IMGTINY Makes the image as small as possible by removing most modules.
IMGTINYFSRAM Sets FSRAMPERCENT, which minimizes the amount of RAM allocated for the file system.
IMGTRUSTROMONLY Sets ROMFLAGS, which configures the OS image to trust only modules in ROM.

See Also

Environment Variables

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.