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
|
Rev | Line | |
---|
[2] | 1 |
|
---|
[753] | 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 |
|
---|
[1155] | 15 | #define INCL_DOS // DosSleep
|
---|
[753] | 16 | #define INCL_WIN
|
---|
| 17 |
|
---|
[1177] | 18 | #include "dll\fm3dll.h"
|
---|
[907] | 19 | #include "dll\fm3dlg.h"
|
---|
[1177] | 20 | #include "dll\init.h" // InitFM3DLL
|
---|
[1155] | 21 | #include "dll\viewinf.h" // ViewInfProc
|
---|
[2] | 22 |
|
---|
[551] | 23 | int main(int argc, char *argv[])
|
---|
| 24 | {
|
---|
| 25 | HAB hab;
|
---|
| 26 | HMQ hmq;
|
---|
[2] | 27 |
|
---|
| 28 | hab = WinInitialize(0);
|
---|
[551] | 29 | if (hab) {
|
---|
| 30 | hmq = WinCreateMsgQueue(hab, 256);
|
---|
| 31 | if (hmq) {
|
---|
| 32 | if (InitFM3DLL(hab, argc, argv)) {
|
---|
[1155] | 33 | WinDlgBox(HWND_DESKTOP,
|
---|
| 34 | HWND_DESKTOP,
|
---|
| 35 | ViewInfProc,
|
---|
| 36 | FM3ModHandle,
|
---|
| 37 | VINF_FRAME, ((argc > 1) ? MPFROMP("") : MPVOID));
|
---|
[2] | 38 | }
|
---|
[753] | 39 | DosSleep(250);
|
---|
[2] | 40 | WinDestroyMsgQueue(hmq);
|
---|
| 41 | }
|
---|
| 42 | WinTerminate(hab);
|
---|
| 43 | }
|
---|
| 44 | return 0;
|
---|
| 45 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.