Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

/DRIVER (Windows NT Kernel Mode Driver)

/DRIVER[:UPONLY | :WDM]

Use the /DRIVER linker option to build a Windows NT kernel mode driver.

The UPONLY keyword causes the linker to add the IMAGE_FILE_UP_SYSTEM_ONLY bit to the characteristics in the output header to specify that it is a uniprocessor (UP) driver. The operating system will refuse to load a UP driver on a multiprocessor (MP) system.

The WDM keyword causes the linker to set the IMAGE_DLLCHARACTERISTICS_WDM_DRIVER bit in the optional header's DllCharacteristics field. WDM video capture was designed to resolve the problems inherent in the Video for Windows architecture.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the Linker folder.
  3. Click the Command Line property page.
  4. Type the option into the Additional Options box.

To set this linker option programmatically

See AdditionalOptions Property.

See Also

Setting Linker Options | Linker Options

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.