3.1 Dump Function Syntax

The Dump function has the following syntax:

    short FAR PASCAL Dump(lpdv, lpptCursor, fMode)
    LPDV lpdv;          /* points to a Universal Printer Driver structure. */
    LPPOINT lpptCursor; /* points to the cursor position. */
    WORD fMode;         /* specifies the printer mode. */

Parameter    Description
---------------------------------------------------------------------------

lpdv         Points to a the Universal Printer Driver data structure with
             the following syntax:

                 typedef struct _DEV {
                         short iType;     /* identifies the printer type. */
                         short oBruteHdr; /* offset to bitmap header. */
                         HANDLE hMd;      /* minidriver handle. */
                         LPSTR lpMd;      /* minidriver pointer. */
                 }

lpptCursor   Points to a POINT structure that contains the current cursor
             coordinates; these coordinates are relative to the cursor
             origin.

fMode        Identifies the printer mode.