Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains the information necessary for printing documents.

Syntax

typedef struct { 
  int 
cbSize; 
  LPCTSTR 
lpszDocName; 
  LPCTSTR 
lpszOutput; 
  LPCTSTR 
lpszDatatype; 
  DWORD 
fwType;
} DOCINFO; 

Members

cbSize

Specifies the structure size, in bytes.

lpszDocName

Long pointer to a null-terminated string that specifies the name of the document.

lpszOutput

Long pointer to a null-terminated string that specifies the name of an output file. If this pointer is NULL, the output will be sent to the device identified by the device context handle that was passed to the StartDocfunction.

lpszDatatype

Unsupported; set to zero.

fwType

Unsupported; set to zero.

Requirements

Header wingdi.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

StartDoc