Annotation of os232sdk/toolkt20/c/samples/semaph/sem_xtrn.h, revision 1.1

1.1     ! root        1: /*==============================================================*\
        !             2:  *                                                             *
        !             3:  *  Sem_xtrn.h - Sample external declarations                  *
        !             4:  *      Created 1990, Microsoft, IBM 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: /* from sem_main.c */
        !            17: extern HWND hwndMainFrame;
        !            18: extern HWND hwndMain;
        !            19: extern HAB hab;
        !            20: extern HMQ hmq;
        !            21: extern CHAR szAppName[MAXAPPNAMELEN];
        !            22: /*--------------------------------------------------------------*\
        !            23:  *  Entry point declarations                                   *
        !            24: \*--------------------------------------------------------------*/
        !            25: 
        !            26: /* from sem_main.c*/
        !            27: VOID cdecl main(VOID);
        !            28: MRESULT EXPENTRY MainWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);
        !            29: VOID MessageBox(HWND hwndOwner, SHORT nIdMsg, BOOL bBeep);
        !            30: VOID MainCommand(MPARAM mp1, MPARAM mp2);
        !            31: 
        !            32: /* from sem_init.c*/
        !            33: BOOL Init(VOID);
        !            34: VOID PASCAL ExitProc(USHORT usTermCode);
        !            35: 
        !            36: /* from sem_file.c */
        !            37: VOID FilePrint(MPARAM mp2);
        !            38: VOID FilePageSetup(MPARAM mp2);
        !            39: VOID FilePrintSetup(MPARAM mp2);
        !            40: VOID FileExit(MPARAM mp2);
        !            41: 
        !            42: /* from sem_user.c */
        !            43: VOID UserCommand(MPARAM mp1, MPARAM mp2);
        !            44: MRESULT UserWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);
        !            45: 
        !            46: /* from sem_pnt.c */
        !            47: VOID MainPaint(HWND hwnd);
        !            48: VOID DrawResource(PRECTL, COLOR);
        !            49: VOID DrawRects( HPS);
        !            50: VOID DrawStats (USHORT);
        !            51: VOID SetRectPositions(SHORT xClient, SHORT yClient, SHORT yChar, SHORT yDesc);
        !            52: VOID InfoLine (HPS hps);
        !            53: 
        !            54: /* from semaph.c */
        !            55: VOID InitSemaphExample(VOID);
        !            56: VOID UpdateStats (VOID);
        !            57: VOID SemError(PSZ,USHORT);
        !            58: USHORT  CreateAllSems(VOID);
        !            59: INT StartSemExample(VOID);
        !            60: VOID ThreadConsumer(USHORT);
        !            61: VOID SignalUserEvent(PUSHORT);
        !            62: USHORT SetAutoMode(VOID);
        !            63: VOID RunAuto(VOID);
        !            64: VOID StopSemaphore(PUSHORT);
        !            65: VOID BeginStop (PUSHORT);
        !            66: 
        !            67: /* from sem_help.c */
        !            68: VOID InitHelp(VOID);
        !            69: VOID  HelpHelpForHelp(MPARAM mp2);
        !            70: VOID  HelpAbout(MPARAM mp2);
        !            71: 
        !            72: 
        !            73: /* from sem_dlg.c */
        !            74: MRESULT EXPENTRY AboutBoxWndProc(HWND hwnd, USHORT msg,
        !            75:                                  MPARAM mp1, MPARAM mp2);
        !            76: MRESULT EXPENTRY TimeDlgProc(HWND hwnd, USHORT msg,
        !            77:                                  MPARAM mp1, MPARAM mp2);
        !            78: 

unix.superglobalmegacorp.com

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