home *** CD-ROM | disk | FTP | other *** search
- // MAINWND.H
- // Copyright (c) 1992 Microsoft Corporation. All rights reserved.
-
- // global variables
- short nCurrentDevice;
- HANDLE hDriver;
- int ixClient, iyClient, n, cxChar, cyChar, nCurrentInfo;
- char szAllDevices[4096], szDevice[32], szDriver[32], szDriverFile[16];
- char *szOutput, *szPtr ;
-
-
- // Function prototypes for external type checking.
-
- long FAR PASCAL MainWndProc(HWND hWnd, unsigned message, WORD wParam, LONG lParam);
-
- long DoCommands (HWND hWnd, unsigned message, WORD wParam, LONG lParam);
- BOOL DumpDriverInfo(HDC hDC);
- BOOL DumpDevmodeInfo(HWND hWnd, HDC hDC);
- BOOL DumpPaperInfo(HDC hDC);
- BOOL DumpBinInfo(HDC hDC);
- void DisplayTextHeader(HDC hDC, int ixPos, int iyPos, LPSTR lpstrHText);
- BOOL IsBadDRV(LPSTR lpstrDRVName);
-
- unsigned int GetFileDateTime (int hFile, unsigned int* uTime, unsigned int* uDate);
-