source: trunk/viewinfs.c@ 1216

Last change on this file since 1216 was 1216, checked in by John Small, 17 years ago

Ticket 187: Move data declarations/definitions out of fm3dll.h

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1
2/***********************************************************************
3
4 $Id: viewinfs.c 1216 2008-09-13 06:54:29Z jbs $
5
6 INF viewer applet
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2007 Steven H.Levine
10
11 03 Aug 07 SHL Minor cleanup
12
13***********************************************************************/
14
15#define INCL_DOS // DosSleep
16#define INCL_WIN
17
18#include "dll\fm3dll.h"
19#include "dll\notebook.h" // Data declaration(s)
20#include "dll\mainwnd.h" // Data declaration(s)
21#include "dll\fm3dlg.h"
22#include "dll\init.h" // InitFM3DLL
23#include "dll\viewinf.h" // ViewInfProc
24
25int main(int argc, char *argv[])
26{
27 HAB hab;
28 HMQ hmq;
29
30 hab = WinInitialize(0);
31 if (hab) {
32 hmq = WinCreateMsgQueue(hab, 256);
33 if (hmq) {
34 if (InitFM3DLL(hab, argc, argv)) {
35 WinDlgBox(HWND_DESKTOP,
36 HWND_DESKTOP,
37 ViewInfProc,
38 FM3ModHandle,
39 VINF_FRAME, ((argc > 1) ? MPFROMP("") : MPVOID));
40 }
41 DosSleep(250);
42 WinDestroyMsgQueue(hmq);
43 }
44 WinTerminate(hab);
45 }
46 return 0;
47}
Note: See TracBrowser for help on using the repository browser.