source: trunk/viewinfs.c@ 551

Last change on this file since 551 was 551, checked in by Gregg Young, 18 years ago

Indentation cleanup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 643 bytes
Line 
1#define INCL_DOS
2#define INCL_WIN
3
4#include <os2.h>
5#include <stdarg.h>
6#include <stdio.h>
7#include <stdlib.h>
8#include <string.h>
9#include <ctype.h>
10#include "dll\fm3dll.h"
11#include "dll\fm3dlg.h"
12
13int main(int argc, char *argv[])
14{
15
16 HAB hab;
17 HMQ hmq;
18
19 hab = WinInitialize(0);
20 if (hab) {
21 hmq = WinCreateMsgQueue(hab, 256);
22 if (hmq) {
23 if (InitFM3DLL(hab, argc, argv)) {
24 WinDlgBox(HWND_DESKTOP,
25 HWND_DESKTOP,
26 ViewInfProc,
27 FM3ModHandle,
28 VINF_FRAME, ((argc > 1) ? MPFROMP("") : MPVOID));
29 }
30 DosSleep(250L);
31 Abort:
32 WinDestroyMsgQueue(hmq);
33 }
34 WinTerminate(hab);
35 }
36 return 0;
37}
Note: See TracBrowser for help on using the repository browser.