Jump to content

PRTSTORAGE

From EDM2
Revision as of 18:50, 8 February 2020 by Martini (talk | contribs) (Created page with "Information about the storage media available in the printer, returned by the BIDI_Q_STORAGE command. ==Example Code== <PRE> typedef struct _PRTSTORAGE { ULONG ulType;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Information about the storage media available in the printer, returned by the BIDI_Q_STORAGE command.

Example Code

typedef struct _PRTSTORAGE {
  ULONG     ulType;            /*  Type of storage media. */
  ULONG     ulID;              /*  Storage identifier unique to this storage type. */
  ULONG     ulSize;            /*  Total storage of media, in K bytes. */
  ULONG     ulAvail;           /*  Available storage of media, in K bytes. */
  ULONG     ulpszName;         /*  Offset to name of media. */
  ULONG     ulpszDescription;  /*  Offset to a descriptive string for the media. */
} PRTSTORAGE;

typedef PRTSTORAGE *PPRTSTORAGE;