Jump to content

PRTSTORAGEL: Difference between revisions

From EDM2
Created page with "Information about the printer storage media, returned by the BIDI_Q_STORAGE command. ==Example Code== <PRE> typedef struct _PRTSTORAGEL { ULONG cTotal; ..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Information about the printer storage media, returned by the BIDI_Q_STORAGE command.  
Information about the printer storage media, returned by the BIDI_Q_STORAGE command.


==Example Code==
==Example Code==
<PRE>
<PRE>
typedef struct _PRTSTORAGEL {
typedef struct _PRTSTORAGEL {
   ULONG          cTotal;                           /* Total number of storage media in the printer. */
   ULONG          cTotal;       /* Total number of storage media in the printer. */
   ULONG          cReturned;                       /* Number of PRTSTORAGE data structures that follow. */
   ULONG          cReturned;     /* Number of PRTSTORAGE data structures that follow. */
   PRTSTORAGE    prtStorage[1]; /* Contains a PRTSTORAGE data structure. */
   PRTSTORAGE    prtStorage[1]; /* Contains a PRTSTORAGE data structure. */
} PRTSTORAGEL;
} PRTSTORAGEL;



Latest revision as of 21:03, 10 February 2023

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

Example Code

typedef struct _PRTSTORAGEL {
  ULONG          cTotal;        /* Total number of storage media in the printer. */
  ULONG          cReturned;     /* Number of PRTSTORAGE data structures that follow. */
  PRTSTORAGE     prtStorage[1]; /* Contains a PRTSTORAGE data structure. */
} PRTSTORAGEL;

typedef PRTSTORAGEL *PPRTSTORAGEL;