source: trunk/viewinfs.c@ 1155

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

Ticket 187: Draft 1: Functions only

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