Last change
on this file since 1189 was 1189, 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:
903 bytes
|
Line | |
---|
1 |
|
---|
2 | /***********************************************************************
|
---|
3 |
|
---|
4 | $Id: killproc.c 1189 2008-09-10 21:58:57Z jbs $
|
---|
5 |
|
---|
6 | Process killer 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\fm3dll.h"
|
---|
19 | #include "dll\fm3dlg.h"
|
---|
20 | #include "dll\init.h" // InitFM3DLL
|
---|
21 | #include "dll\killproc.h" // KillDlgProc
|
---|
22 |
|
---|
23 | int main(int argc, char *argv[])
|
---|
24 | {
|
---|
25 | HAB hab;
|
---|
26 | HMQ hmq;
|
---|
27 |
|
---|
28 | DosError(FERR_DISABLEHARDERR);
|
---|
29 | hab = WinInitialize(0);
|
---|
30 | if (hab) {
|
---|
31 | hmq = WinCreateMsgQueue(hab, 256);
|
---|
32 | if (hmq) {
|
---|
33 | if (InitFM3DLL(hab, argc, argv)) {
|
---|
34 | WinDlgBox(HWND_DESKTOP,
|
---|
35 | HWND_DESKTOP, KillDlgProc, FM3ModHandle, KILL_FRAME, NULL);
|
---|
36 | }
|
---|
37 | DosSleep(250L);
|
---|
38 | WinDestroyMsgQueue(hmq);
|
---|
39 | }
|
---|
40 | WinTerminate(hab);
|
---|
41 | }
|
---|
42 | return 0;
|
---|
43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.