blob: c61a4fb407bfad8c8007158439f3ca6c7e066e91 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
/*****************************************************************/
/** Microsoft Windows 4.0 **/
/** Copyright (C) Microsoft Corp., 1992-1993 **/
/*****************************************************************/
/* INIT.C -- General code for MS/Netware network driver emulator.
*
* History:
* 09/22/93 vlads Created
*
*/
#include "netware.h"
#define Reference(x) ((void)(x))
extern BOOL far pascal GetLowRedirInfo(void);
int FAR PASCAL LibMain(
HANDLE hInst,
WORD wDataSeg,
WORD wcbHeapSize,
LPSTR lpstrCmdLine)
{
//
// get shared data segment address. Fail initialization if an error is
// returned
//
if (!GetLowRedirInfo()) {
return 0;
}
//
// return success
//
return 1;
}
/* WEP
* Windows Exit Procedure
*/
int FAR PASCAL _loadds WEP(int nParameter)
{
Reference(nParameter);
return 1;
}
WINAPI PNETWAREREQUEST(LPVOID x)
{
return(1);
}
//
// removed because nwcalls makes use of this function; removing it causes
// NWCALLS to use real INT 21
//
//WINAPI DOSREQUESTER(LPVOID x)
//{
// return(1);
//}
UINT WINAPI WNetAddConnection(LPSTR p1, LPSTR p2, LPSTR p3)
{
return(1);
}
UINT WINAPI WNetGetConnection(LPSTR p1, LPSTR p2, UINT FAR *p3)
{
return(1);
}
UINT WINAPI WNetCancelConnection(LPSTR p1, BOOL p2)
{
return(1);
}
|