Platform SDK: Fax Services |
The FAX_CONTEXT_INFO structure contains information about a fax printer device context. The SizeOfStruct member is required. Information for the other members is supplied by a call to the FaxStartPrintJob function.
typedef struct _FAX_CONTEXT_INFO { DWORD SizeOfStruct; // structure size, in bytes HDC hDC; // handle to a device context TCHAR ServerName[MAX_COMPUTERNAME_LENGTH+1]; // server name } FAX_CONTEXT_INFO, *PFAX_CONTEXT_INFO;
A fax client application can call the FaxStartPrintJob function to retrieve the handle to a fax printer device context. The function returns the handle in a FAX_CONTEXT_INFO structure. The application must call the DeleteDC function to deallocate the handle to the printer device context. For more information, see Printing a Fax to a Device Context.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable with BackOffice Small Business Server.
Header: Declared in Winfax.h.
Unicode: Declared as Unicode and ANSI structures.
Fax Service Client Application Programming Interface Overview, Fax Service Client API Structures, FaxStartPrintJob, FaxPrintCoverpage, EndDoc, DeleteDC