Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
1.8 KiB

/* File: D:\WACKER\tdll\print.h (Created: 14-Jan-1994)
*
* Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
* All rights reserved
*
* $Revision: 1.18 $
* $Date: 1995/02/24 15:23:23 $
*/
#define _MAX_PATH 260
#define WM_PRINT_NEWPAGE WM_USER+0x100
#define PRNECHO_BY_JOB 0x0001 // Don't print until session closes.
#define PRNECHO_BY_PAGE 0x0002 // Print each page separately.
#define PRNECHO_CHARS 0x0010
#define PRNECHO_LINES 0x0020
#define PRNECHO_SCREENS 0x0040
#define PRNECHO_IS_ON 0x0100 /* capture is currently on */
#define PRNECHO_PAUSE 0x0200 /* capture is paused */
// From printhdl.c
HPRINT printCreateHdl(const HSESSION hSession);
void printDestroyHdl(const HPRINT hPrint);
void printSaveHdl(const HPRINT hPrint);
int printInitializeHdl(const HPRINT hPrint);
int printQueryStatus(const HPRINT hPrint);
void printSetStatus(const HPRINT hPrint, const int fSetting);
void printStatusToggle(const HPRINT hPrint);
void printQueryPrinterInfo(const HPRINT hPrint,
TCHAR *pszPrinter,
LPDEVNAMES pDevNames,
PDEVMODE pDevMode);
int printVerifyPrinter(const HPRINT hPrint);
// From print.c
void printTellError(const HSESSION hSession, const HPRINT hPrint, const int iStatus);
// From prnecho.c
int printEchoChar(const HPRINT hPrint, const ECHAR tChar);
void printEchoLine(const HPRINT hPrint, ECHAR *achLine, int iLen);
int printEchoClose(HPRINT hPrint);
int printEchoStart(HPRINT hPrint);
int printEchoString(HPRINT hPrint, ECHAR *achStr, int iLen);
int printEchoScreen(HPRINT hPrint, ECHAR *achStr, int iLen);
// From printset.c
void printsetSetup(const HPRINT hPrint, const HWND hwnd);
int printsetPageSetup(const HPRINT hPrint, const HWND hwnd);
void printsetPrint(const HPRINT hPrint);
BOOL CALLBACK printsetAbortProc(HDC hdcPrn, INT nCode);
LRESULT CALLBACK printsetDlgProc(HWND hwnd, UINT uMsg, WPARAM wPar, LPARAM lPar);