source: trunk/viewinfs.c@ 1177

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

Ticket 187: Draft 2: Move remaining function declarations

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 994 bytes
Line 
1
2/***********************************************************************
3
4 $Id: viewinfs.c 1177 2008-09-10 21:53:13Z 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\fm3dlg.h"
20#include "dll\init.h" // InitFM3DLL
21#include "dll\viewinf.h" // ViewInfProc
22
23int main(int argc, char *argv[])
24{
25 HAB hab;
26 HMQ hmq;
27
28 hab = WinInitialize(0);
29 if (hab) {
30 hmq = WinCreateMsgQueue(hab, 256);
31 if (hmq) {
32 if (InitFM3DLL(hab, argc, argv)) {
33 WinDlgBox(HWND_DESKTOP,
34 HWND_DESKTOP,
35 ViewInfProc,
36 FM3ModHandle,
37 VINF_FRAME, ((argc > 1) ? MPFROMP("") : MPVOID));
38 }
39 DosSleep(250);
40 WinDestroyMsgQueue(hmq);
41 }
42 WinTerminate(hab);
43 }
44 return 0;
45}
Note: See TracBrowser for help on using the repository browser.