Annotation of os232sdk/toolkt20/c/samples/template/xtrn.h, revision 1.1.1.1

1.1       root        1: /*==============================================================*\
                      2:  *                                                              *
                      3:  *  Xtrn.h - Sample external declarations                       *
                      4:  *      Created 1989, 1990 Microsoft Corp.                      *
                      5:  *                                                              *
                      6:  *--------------------------------------------------------------*
                      7:  *                                                              *
                      8:  *  This header file contains the application wide function     *
                      9:  *  declarations and global external variables.                 *
                     10:  *                                                              *
                     11: \*==============================================================*/
                     12: 
                     13: /*--------------------------------------------------------------*\
                     14:  *  Global variables                                            *
                     15: \*--------------------------------------------------------------*/
                     16: extern HWND hwndMainFrame;
                     17: extern HWND hwndMain;
                     18: extern HAB hab;
                     19: extern HMQ hmq;
                     20: extern HDC hdcMain;
                     21: extern CHAR szAppName[];
                     22: extern CHAR szUntitled[];
                     23: extern BOOL fPrintEnabled;
                     24: extern BOOL fHelpEnabled;
                     25: 
                     26: /*--------------------------------------------------------------*\
                     27:  *  Entry point declarations                                    *
                     28: \*--------------------------------------------------------------*/
                     29: 
                     30: /* from main.c */
                     31: BOOL cdecl main(VOID);
                     32: MRESULT EXPENTRY MainWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);
                     33: SHORT MessageBox(HWND hwndOwner, SHORT idMsg, SHORT fsStyle, BOOL fBeep);
                     34: VOID MainCommand(MPARAM mp1, MPARAM mp2);
                     35: 
                     36: /* from init.c */
                     37: BOOL Init(VOID);
                     38: MRESULT InitMainWindow(HWND hwnd, MPARAM mp1, MPARAM mp2);
                     39: VOID PASCAL ExitProc(USHORT usTermCode);
                     40: 
                     41: /* from file.c */
                     42: VOID FileNew(MPARAM mp2);
                     43: VOID FileOpen(MPARAM mp2);
                     44: VOID FileSave(MPARAM mp2);
                     45: VOID FileSaveAs(MPARAM mp2);
                     46: VOID FilePrint(MPARAM mp2);
                     47: VOID FilePageSetup(MPARAM mp2);
                     48: VOID FilePrintSetup(MPARAM mp2);
                     49: VOID FileExit(MPARAM mp2);
                     50: VOID WriteFileToDisk(HFILE hf);
                     51: BOOL GetFileName(VOID);
                     52: VOID UpdateTitleText(HWND hwnd);
                     53: 
                     54: /* from edit.c */
                     55: VOID EditUndo(MPARAM mp2);
                     56: VOID EditCut(MPARAM mp2);
                     57: VOID EditCopy(MPARAM mp2);
                     58: VOID EditPaste(MPARAM mp2);
                     59: VOID EditClear(MPARAM mp2);
                     60: 
                     61: /* from user.c */
                     62: VOID UserCommand(MPARAM mp1, MPARAM mp2);
                     63: MRESULT UserWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);
                     64: VOID InitMenu(MPARAM mp1, MPARAM mp2);
                     65: VOID EnableMenuItem(HWND hwndMenu, SHORT idItem, BOOL fEnable);
                     66: 
                     67: /* from prnt.c */
                     68: VOID PageSetup(HWND hwndOwner);
                     69: VOID PrintSetup(HWND hwndOwner);
                     70: VOID Print(HWND hwndOwner);
                     71: VOID InitPrintingDialogs(VOID);
                     72: 
                     73: /* from pnt.c */
                     74: VOID MainPaint(HWND hwnd);
                     75: 
                     76: /* from help.c */
                     77: VOID InitHelp(VOID);
                     78: VOID HelpHelpForHelp(MPARAM mp2);
                     79: VOID HelpExtended(MPARAM mp2);
                     80: VOID HelpKeys(MPARAM mp2);
                     81: VOID HelpIndex(MPARAM mp2);
                     82: VOID HelpTutorial(MPARAM mp2);
                     83: VOID HelpAbout(MPARAM mp2);
                     84: VOID DisplayHelpPanel(SHORT idPanel);
                     85: VOID DestroyHelpInstance(VOID);
                     86: 
                     87: /* from thrd.c */
                     88: BOOL CreateBackgroundThread(VOID);
                     89: VOID DestroyBackgroundThread(VOID);
                     90: BOOL PostBkThreadMsg(USHORT msg, MPARAM mp1, MPARAM mp2);
                     91: MRESULT SendBkThreadMsg(USHORT msg, MPARAM mp1, MPARAM mp2);

unix.superglobalmegacorp.com

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