summaryrefslogtreecommitdiffstats
path: root/private/nw/convert/nwconv/globals.h
blob: d641ed67ce16a587b1ec761100e7ecef961227e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*+-------------------------------------------------------------------------+
  | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved.    |
  +-------------------------------------------------------------------------+*/

#ifndef _HGLOBALS_
#define _HGLOBALS_

#ifdef __cplusplus
extern "C"{
#endif

#include "switches.h"
#include "constant.h"

#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
#include <windowsx.h>
#include <stdlib.h>
#include <ctype.h>
#include <winnetwk.h>
#include <lm.h>
#include <commdlg.h>

#include "resource.h"
#include "debug.h"
#include "nwlog.h"
#include "tab.h"
#include "mem.h"
#include "error.h"
#include "strings.h"
#include "utils.h"

extern HINSTANCE hInst;

#define XCHG(x)         MAKEWORD( HIBYTE(x), LOBYTE(x) )
#define DXCHG(x)        MAKELONG( XCHG(HIWORD(x)), XCHG(LOWORD(x)) )
#define SWAPBYTES(w)    ((w) = XCHG(w))
#define SWAPWORDS(d)    ((d) = DXCHG(d))

#define HELP_FILE TEXT("NWConv.HLP")

#ifdef __cplusplus
}
#endif

#endif