| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# winsprn.htm
Constants
Structures
DOCINFO

This file can be included to program for Windows written in EuroAssembler.

It declares the most often used constant symbols and structures used for
print functions of MS Windows Application Programming Interface (WinAPI),
as they were derived from header files in [WindowsSDK].

    winsprn HEAD

↑ DOCINFO
  The DOCINFO structure contains the input and output filenames and other information used by the StartDoc function.

    %IF %^WIDTH = 32
    DOCINFO STRUC
    .cbSize            D DWORD
    .lpszDocName       D DWORD
    .lpszOutput        D DWORD
    .lpszDatatype      D DWORD
    .fwType            D DWORD
     ENDSTRUC DOCINFO
    %ENDIF
    %IF %^WIDTH = 64
    DOCINFO STRUC
    .cbSize            D DWORD
                       D DWORD ; Alignment.
    .lpszDocName       D QWORD
    .lpszOutput        D QWORD
    .lpszDatatype      D QWORD
    .fwType            D DWORD
                       D DWORD ; Alignment.
     ENDSTRUC DOCINFO
    %ENDIF

↑ Constants
  Encoding of constant symbols used in WinAPI.

     ENDHEAD winsprn

▲Back to the top▲