VIRTUAL DEVICE Module Definition Statement (OS/2)

Syntax: Parameters:
VIRTUAL DEVICE [drivername] Name of virtual device driver

Use the VIRTUAL DEVICE statement to identify the output file as a virtual device driver
(.VDD), and optionally provide a name for the driver.

You can also identify the output file as a .VDD file with the /VDD linker option.

If you use the VIRTUAL DEVICE statement in your module definition (.DEF) file, it must be the first statement in the .DEF file , and you cannot use the LIBRARY, NAME, or PHYSICAL DEVICE statements.

If you provide a name in drivername, it becomes the name of the driver as it is known by OS/2. The name can be any valid file name. If you do not provide a name, the name of the device driver is the same as the name of the output file, with the .VDD extension removed.



Summary of Module Definition Statements