Jump to content

PRINTDEST

From EDM2
Revision as of 02:43, 21 April 2025 by Martini (talk | contribs) (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; /...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 ;