Annotation of mstools/samples/printer/common.h, revision 1.1.1.2

1.1.1.2 ! root        1: 
        !             2: /******************************************************************************\
        !             3: *       This is a part of the Microsoft Source Code Samples. 
        !             4: *       Copyright (C) 1993 Microsoft Corporation.
        !             5: *       All rights reserved. 
        !             6: *       This source code is only intended as a supplement to 
        !             7: *       Microsoft Development Tools and/or WinHelp documentation.
        !             8: *       See these sources for detailed information regarding the 
        !             9: *       Microsoft samples programs.
        !            10: \******************************************************************************/
        !            11: 
1.1       root       12: /******************************************************************************\
                     13: *
                     14: *                             COMMON.H
                     15: *
                     16: \******************************************************************************/
                     17: 
                     18: 
                     19: /******************************************************************************\
                     20: *                         SYMBOLIC CONSTANTS
                     21: \******************************************************************************/
                     22: 
                     23: #define ARC             0x00000001
                     24: #define ELLIPSE         0x00000002
                     25: #define LINETO          0x00000004
                     26: #define PIE             0x00000008
                     27: #define PLG_BLT         0x00000010
                     28: #define POLYBEZIER      0x00000020
                     29: #define POLYGON         0x00000040
                     30: #define POLYLINE        0x00000080
                     31: #define POLYPOLYGON     0x00000100
                     32: #define RECTANGLE       0x00000200
                     33: #define ROUNDRECT       0x00000400
                     34: #define STRETCH_BLT     0x00000800
                     35: 
                     36: #define ALLGRAPHICS     0x00000fff
                     37: 
                     38: #define ENUMFONTS       0x40000000
                     39: #define DRAWAXIS        0x80000000
                     40: 
                     41: #define MAX_GRAPHICS    12
                     42: 
                     43: #define BUFSIZE         256
                     44: 
                     45: #define DID_OK          501
                     46: #define DID_LISTBOX     502
                     47: #define DID_CANCEL      503
                     48: #define DID_EDITTEXT    504
                     49: 
                     50: 
                     51: 
                     52: /******************************************************************************\
                     53: *                            FUNCTION PROTOTYPES
                     54: \******************************************************************************/
                     55: 
                     56: #define ErrMsgBox(txt,title) MessageBox (ghwndMain, (LPCTSTR) txt,   \
                     57:                                          (LPCTSTR) title,            \
                     58:                                          MB_OK | MB_ICONEXCLAMATION);
                     59: 
                     60: 
                     61: 
                     62: /******************************************************************************\
                     63: *                            FUNCTION PROTOTYPES
                     64: \******************************************************************************/
                     65: 
                     66: BOOL Paint (HDC, LPRECT);
                     67: 
                     68: LRESULT CALLBACK DevCapsXDlgProc           (HWND, UINT, WPARAM, LPARAM);
                     69: LRESULT CALLBACK EnumPrintersDlgProc       (HWND, UINT, WPARAM, LPARAM);
                     70: LRESULT CALLBACK GetDeviceCapsDlgProc      (HWND, UINT, WPARAM, LPARAM);
                     71: LRESULT CALLBACK GetPrinterDriverDlgProc   (HWND, UINT, WPARAM, LPARAM);
                     72: LRESULT CALLBACK EnumPrinterDriversDlgProc (HWND, UINT, WPARAM, LPARAM);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.