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