Jump to content

ESCMODE: Difference between revisions

From EDM2
Created page with "Structure for setting printer mode. See GreEscape DEVESC_SETMODE This data structure is a more general version of the of the ESCSETMODEdata structure. == Type == struct == C Declaration Method == typedef == Example Code == <pre> typedef struct _ESCMODE { ULONG mode; Mode.: BYTE modedata[1]; Mode data.: } ESCMODE; typedef ESCMODE * PESCMODE ; </pre> Category:Data type"
 
(No difference)

Latest revision as of 19:13, 25 April 2025

Structure for setting printer mode. See GreEscape DEVESC_SETMODE This data structure is a more general version of the of the ESCSETMODEdata structure.

Type

struct

C Declaration Method

typedef

Example Code

typedef struct _ESCMODE {
  ULONG     mode;         /* Mode. */
  BYTE      modedata[1];  /* Mode data. */
} ESCMODE;

typedef   ESCMODE   * PESCMODE ;