Last change
on this file since 753 was 753, checked in by Steven Levine, 18 years ago |
Minor cleanup
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
925 bytes
|
Rev | Line | |
---|
[2] | 1 |
|
---|
[753] | 2 | /***********************************************************************
|
---|
| 3 |
|
---|
| 4 | $Id: viewinfs.c 753 2007-08-03 21:43:40Z stevenhl $
|
---|
| 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 |
|
---|
[2] | 15 | #include <stdarg.h>
|
---|
| 16 | #include <stdio.h>
|
---|
| 17 | #include <stdlib.h>
|
---|
| 18 | #include <string.h>
|
---|
| 19 | #include <ctype.h>
|
---|
[753] | 20 |
|
---|
| 21 | #define INCL_DOS // DosSleep
|
---|
| 22 | #define INCL_WIN
|
---|
| 23 | #include <os2.h>
|
---|
| 24 |
|
---|
[2] | 25 | #include "dll\fm3dll.h"
|
---|
| 26 | #include "dll\fm3dlg.h"
|
---|
| 27 |
|
---|
[551] | 28 | int main(int argc, char *argv[])
|
---|
| 29 | {
|
---|
| 30 | HAB hab;
|
---|
| 31 | HMQ hmq;
|
---|
[2] | 32 |
|
---|
| 33 | hab = WinInitialize(0);
|
---|
[551] | 34 | if (hab) {
|
---|
| 35 | hmq = WinCreateMsgQueue(hab, 256);
|
---|
| 36 | if (hmq) {
|
---|
| 37 | if (InitFM3DLL(hab, argc, argv)) {
|
---|
| 38 | WinDlgBox(HWND_DESKTOP,
|
---|
| 39 | HWND_DESKTOP,
|
---|
| 40 | ViewInfProc,
|
---|
| 41 | FM3ModHandle,
|
---|
| 42 | VINF_FRAME, ((argc > 1) ? MPFROMP("") : MPVOID));
|
---|
[2] | 43 | }
|
---|
[753] | 44 | DosSleep(250);
|
---|
[2] | 45 | WinDestroyMsgQueue(hmq);
|
---|
| 46 | }
|
---|
| 47 | WinTerminate(hab);
|
---|
| 48 | }
|
---|
| 49 | return 0;
|
---|
| 50 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.