PRINTDEST: Difference between revisions
Appearance
Created page with "PRINTDEST data structure. Contains all the parameters required to issue DevPostDeviceModes and DevOpenDC function calls. == Type == struct == C Declaration Method == typedef == Example Code == <pre> typedef struct _PRINTDEST { ULONG cb; →Length of data structure, in bytes.: LONG lType; →Type of device context.: PSZ pszToken; →Device-information token.: LONG lCount; /..." |
(No difference)
|
Latest revision as of 01:43, 21 April 2025
PRINTDEST data structure.
Contains all the parameters required to issue DevPostDeviceModes and DevOpenDC function calls.
Type
struct
C Declaration Method
typedef
Example Code
typedef struct _PRINTDEST {
ULONG cb; /* Length of data structure, in bytes. */
LONG lType; /* Type of device context. */
PSZ pszToken; /* Device-information token. */
LONG lCount; /* Number of items. */
PDEVOPENDATA pdopData; /* Open device context data area. */
ULONG fl; /* Flags. */
PSZ pszPrinter; /* Name of the printer. */
} PRINTDEST;
typedef PRINTDEST * PPRINTDEST ;