source: trunk/killproc.c@ 1164

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