Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
DEVOPENSTRUC (1.2)
◄Changes► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
typedef struct _DEVOPENSTRUC { /* dop */
PSZ pszLogAddress;
PSZ pszDriverName;
PDRIVDATA pdriv;
PSZ pszDataType;
PSZ pszComment;
PSZ pszQueueProcName;
PSZ pszQueueProcParams;
PSZ pszSpoolerParams;
PSZ pszNetworkParams;
} DEVOPENSTRUC;
The DEVOPENSTRUC structure describes an output device. A copy of this
structure is passed to the DevOpenDC function when a device context is
opened.
Field Description
────────────────────────────────────────────────────────────────────────────
pszLogAddress Points to the logical device address (for example,
lpt1). For OD_QUEUED it points to a queue name (for
example, LPT1Q).
pszDriverName Points to the device driver name (for example,
PSCRIPT).
pdriv Points to the DRIVDATA structure that contains
device-driver information. This structure identifies the
device-driver version number and the device name. It
also contains additional device-driver data.
pszDataType Points to the device-driver data type (for example,
PM_Q_STD).
pszComment Points to descriptive string associated with the spool
file in case of OD_QUEUED.
pszQueueProcName Points to the name of a queue print processor (for
example, PMPRINT) in case of OD_QUEUED. If this field is
NULL, the system default queue print processor is used.
pszQueueProcParams Points to a queue processor parameter string in case of
OD_QUEUED.
pszSpoolerParams Points to a spooler parameter string in case of
OD_QUEUED. Each parameter is separated by blanks. The
following parameter is defined:
Parameter Meaning
────────────────────────────────────────────────────────
PRTY=n: Specifies the job priority. The n can be any
value from 0 for lowest priority to 99 for
highest priority.
pszNetworkParams Points to a network parameter string in case of
OD_QUEUED.
See Also
DevOpenDC, DRIVDATA
♦