File:  [OS/2 SDKs] / os232sdk / toolkt20 / c / samples / vmm / vmm_xtrn.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:26:30 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1990, HEAD
Microsoft OS/2 SDK 2.0 05-30-1990

/*==============================================================*\
 *								*
 *  Vmm_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						*
\*--------------------------------------------------------------*/
extern HWND hwndMainFrame;
extern HWND hwndMain;
extern HAB hab;
extern HMQ hmq;
extern CHAR szAppName[MAXAPPNAMELEN];

/*--------------------------------------------------------------*\
 *  Entry point declarations					*
\*--------------------------------------------------------------*/

/* from sample.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 init.c */
BOOL Init(VOID);
VOID PASCAL ExitProc(USHORT usTermCode);

/* from filecmd.c */
VOID FilePrint(MPARAM mp2);
VOID FilePageSetup(MPARAM mp2);
VOID FilePrintSetup(MPARAM mp2);
VOID FileExit(MPARAM mp2);

/* from usercmd.c */
VOID UserCommand(MPARAM mp1, MPARAM mp2);
MRESULT UserWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);

/* from print.c */
VOID PageSetup(HWND hwndOwner);
VOID PrintSetup(HWND hwndOwner);
VOID Print(HWND hwndOwner);
VOID InitPrintingDialogs(VOID);

/* from paint.c */
VOID MainPaint(HWND hwnd);

/* from help.c */
VOID InitHelp(VOID);
VOID  HelpHelpForHelp(MPARAM mp2);
VOID  HelpAbout(MPARAM mp2);

unix.superglobalmegacorp.com

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