DOC_INFO_1 struttura

La struttura DOC_INFO_1 descrive un documento che verrà stampato.

Sintassi

typedef struct _DOC_INFO_1 {
  LPTSTR pDocName;
  LPTSTR pOutputFile;
  LPTSTR pDatatype;
} DOC_INFO_1;

Members

pDocName

Puntatore a una stringa con terminazione null che specifica il nome del documento.

pOutputFile

Puntatore a una stringa con terminazione null che specifica il nome di un file di output. Per stampare su una stampante, impostare questa opzione su NULL.

pDatatype

Puntatore a una stringa con terminazione null che identifica il tipo di dati usati per registrare il documento.

Requisiti

Requisito Valore
Client minimo supportato
Windows 2000 Professional [solo app desktop]
Server minimo supportato
Windows 2000 Server [solo app desktop]
Intestazione
Winspool.h (include Windows.h)
Nomi Unicode e ANSI
_DOC_INFO_1W (Unicode) e _DOC_INFO_1A (ANSI)

Vedi anche

Stampa

Stampare strutture API Spooler

StartDocPrinter