## Printer Device Driver

[prev][next][parent][TOC]

### OS2_DevPostDeviceModes

Called by applications that want to change the attributes of the driver, such as the device and pen configuration. OS2_DevPostDeviceModes gets the values based on the pszDeviceName passed from the OS2.INI file. The flags passed in determine the type of operation required by the caller, where bits 0-1 mean the following:

%00 Display dialog, no update to the INI file
%01 Display dialog, update INI file
%10 Do not display dialog, just return INI information
%11 reserved