Annotation of ntddk/src/print/pscript/halftone.h, revision 1.1.1.1

1.1       root        1: /*++
                      2: 
                      3: Copyright (c) 1990-1991  Microsoft Corporation
                      4: 
                      5: 
                      6: Module Name:
                      7: 
                      8:     halftone.h
                      9: 
                     10: 
                     11: Abstract:
                     12: 
                     13:     This module contains the header information for the halftone.c
                     14: 
                     15: 
                     16: Author:
                     17:     27-Mar-1992 Fri 11:43:48 updated  -by-  Daniel Chou (danielc)
                     18:         Remove all to printers\lib\htcall*.*
                     19: 
                     20:     29-May-1991 Wed 18:28:35 created  -by-  Daniel Chou (danielc)
                     21: 
                     22: 
                     23: 
                     24: [Environment:]
                     25: 
                     26:     Printer Driver.
                     27: 
                     28: 
                     29: [Notes:]
                     30: 
                     31: 
                     32: Revision History:
                     33: 
                     34: 
                     35: 
                     36: --*/
                     37: 
                     38: 
                     39: #define REGKEY_CUR_DEVHTINFO    L"CurDevHTInfo"
                     40: #define REGKEY_CUR_HTCLRADJ     L"CurHTClrAdj"
                     41: 
                     42: 
                     43: 
                     44: typedef struct _FOURBYTES {
                     45:     BYTE    b1st;
                     46:     BYTE    b2nd;
                     47:     BYTE    b3rd;
                     48:     BYTE    b4th;
                     49:     } FOURBYTES, *PFOURBYTES, FAR *LPFOURBYTES;
                     50: 
                     51: typedef union _HTXB {
                     52:     FOURBYTES   b4;
                     53:     DWORD       dw;
                     54:     } HTXB, *PHTXB, FAR *LPHTXB;
                     55: 
                     56: 
                     57: #define HTXB_H_NIBBLE_MAX   8
                     58: #define HTXB_L_NIBBLE_MAX   8
                     59: #define HTXB_H_NIBBLE_DUP   128
                     60: #define HTXB_L_NIBBLE_DUP   8
                     61: #define HTXB_COUNT          (HTXB_H_NIBBLE_DUP * 2)
                     62: #define HTXB_TABLE_SIZE     (HTXB_COUNT * sizeof(HTXB))
                     63: 
                     64: #define HTPAL_XLATE_COUNT   8
                     65: 
                     66: #define HTPALXOR_NOTSRCCOPY (DWORD)0xffffffff
                     67: #define HTPALXOR_SRCCOPY    (DWORD)0x0
                     68: 
                     69: 
                     70: 
                     71: 
                     72: #define DHIF_IN_STRETCHBLT  0x01
                     73: 
                     74: typedef struct _DRVHTINFO {
                     75:     BYTE            Flags;
                     76:     BYTE            HTPalCount;
                     77:     BYTE            HTBmpFormat;
                     78:     BYTE            AltBmpFormat;
                     79:     DWORD           HTPalXor;
                     80:     PHTXB           pHTXB;
                     81:     BYTE            PalXlate[HTPAL_XLATE_COUNT];
                     82:     COLORADJUSTMENT ca;
                     83:     } DRVHTINFO, *PDRVHTINFO;

unix.superglobalmegacorp.com

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