|
|
Microsoft OS/2 SDK 2.0 05-30-1990
/*==============================================================*\ * * * Sem_xtrn.h - Sample external declarations * * Created 1990, Microsoft, IBM Corp. * * * *--------------------------------------------------------------* * * * This header file contains the application wide function * * declarations and global external variables. * * * \*==============================================================*/ /*--------------------------------------------------------------*\ * Global variables * \*--------------------------------------------------------------*/ /* from sem_main.c */ extern HWND hwndMainFrame; extern HWND hwndMain; extern HAB hab; extern HMQ hmq; extern CHAR szAppName[MAXAPPNAMELEN]; /*--------------------------------------------------------------*\ * Entry point declarations * \*--------------------------------------------------------------*/ /* from sem_main.c*/ VOID cdecl main(VOID); MRESULT EXPENTRY MainWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2); VOID MessageBox(HWND hwndOwner, SHORT nIdMsg, BOOL bBeep); VOID MainCommand(MPARAM mp1, MPARAM mp2); /* from sem_init.c*/ BOOL Init(VOID); VOID PASCAL ExitProc(USHORT usTermCode); /* from sem_file.c */ VOID FilePrint(MPARAM mp2); VOID FilePageSetup(MPARAM mp2); VOID FilePrintSetup(MPARAM mp2); VOID FileExit(MPARAM mp2); /* from sem_user.c */ VOID UserCommand(MPARAM mp1, MPARAM mp2); MRESULT UserWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2); /* from sem_pnt.c */ VOID MainPaint(HWND hwnd); VOID DrawResource(PRECTL, COLOR); VOID DrawRects( HPS); VOID DrawStats (USHORT); VOID SetRectPositions(SHORT xClient, SHORT yClient, SHORT yChar, SHORT yDesc); VOID InfoLine (HPS hps); /* from semaph.c */ VOID InitSemaphExample(VOID); VOID UpdateStats (VOID); VOID SemError(PSZ,USHORT); USHORT CreateAllSems(VOID); INT StartSemExample(VOID); VOID ThreadConsumer(USHORT); VOID SignalUserEvent(PUSHORT); USHORT SetAutoMode(VOID); VOID RunAuto(VOID); VOID StopSemaphore(PUSHORT); VOID BeginStop (PUSHORT); /* from sem_help.c */ VOID InitHelp(VOID); VOID HelpHelpForHelp(MPARAM mp2); VOID HelpAbout(MPARAM mp2); /* from sem_dlg.c */ MRESULT EXPENTRY AboutBoxWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2); MRESULT EXPENTRY TimeDlgProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.