|
Last change
on this file since 1168 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:
819 bytes
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | /***********************************************************************
|
|---|
| 3 |
|
|---|
| 4 | $Id: sysinfo.c 1155 2008-09-05 21:38:38Z jbs $
|
|---|
| 5 |
|
|---|
| 6 | System information applet
|
|---|
| 7 |
|
|---|
| 8 | Copyright (c) 1993-98 M. Kimes
|
|---|
| 9 | Copyright (c) 2008 Steven H.Levine
|
|---|
| 10 |
|
|---|
| 11 | 05 Jan 08 SHL Sync
|
|---|
| 12 |
|
|---|
| 13 | ***********************************************************************/
|
|---|
| 14 |
|
|---|
| 15 | #define INCL_DOS
|
|---|
| 16 | #define INCL_WIN
|
|---|
| 17 |
|
|---|
| 18 | #include "dll\fm3dlg.h"
|
|---|
| 19 | #include "dll\fm3dll.h"
|
|---|
| 20 | #include "dll\sysinfo.h" // SysInfoDlgProc
|
|---|
| 21 |
|
|---|
| 22 | int 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, HWND_DESKTOP,
|
|---|
| 33 | SysInfoDlgProc, FM3ModHandle, SYS_FRAME, NULL);
|
|---|
| 34 | }
|
|---|
| 35 | WinDestroyMsgQueue(hmq);
|
|---|
| 36 | }
|
|---|
| 37 | WinTerminate(hab);
|
|---|
| 38 | }
|
|---|
| 39 | return 0;
|
|---|
| 40 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.