10 #define WN_SUCCESS 0x0000
11 #define WN_NOT_SUPPORTED 0x0001
12 #define WN_NET_ERROR 0x0002
13 #define WN_MORE_DATA 0x0003
14 #define WN_BAD_POINTER 0x0004
15 #define WN_BAD_VALUE 0x0005
16 #define WN_BAD_PASSWORD 0x0006
17 #define WN_ACCESS_DENIED 0x0007
18 #define WN_FUNCTION_BUSY 0x0008
19 #define WN_WINDOWS_ERROR 0x0009
20 #define WN_BAD_USER 0x000A
21 #define WN_OUT_OF_MEMORY 0x000B
22 #define WN_CANCEL 0x000C
23 #define WN_CONTINUE 0x000D
24 #define WN_NOT_CONNECTED 0x0030
25 #define WN_OPEN_FILES 0x0031
26 #define WN_BAD_NETNAME 0x0032
27 #define WN_BAD_LOCALNAME 0x0033
28 #define WN_ALREADY_CONNECTED 0x0034
29 #define WN_DEVICE_ERROR 0x0035
30 #define WN_CONNECTION_CLOSED 0x0036
32 typedef LPSTR LPNETRESOURCE
;
34 /**************************************************************************
35 * WNetGetConnection [USER.512]
37 int WNetGetConnection(LPSTR lpLocalName
,
38 LPSTR lpRemoteName
, UINT FAR
*cbRemoteName
)
40 printf("EMPTY STUB !!! WNetGetConnection('%s', %p, %p);\n",
41 lpLocalName
, lpRemoteName
, cbRemoteName
);
45 /**************************************************************************
46 * WNetGetCaps [USER.513]
48 int WNetGetCaps(WORD capability
)
53 /**************************************************************************
54 * WNetGetUser [USER.516]
56 UINT
WNetGetUser(LPSTR lpLocalName
, LPSTR lpUserName
, DWORD
*lpSize
)
58 printf("EMPTY STUB !!! WNetGetUser('%s', %p, %p);\n",
59 lpLocalName
, lpUserName
, lpSize
);
63 /**************************************************************************
64 * WNetAddConnection [USER.517]
66 UINT
WNetAddConnection(LPSTR lpNetPath
, LPSTR lpPassWord
, LPSTR lpLocalName
)
68 printf("EMPTY STUB !!! WNetAddConnection('%s', %p, '%s');\n",
69 lpNetPath
, lpPassWord
, lpLocalName
);
74 /**************************************************************************
75 * WNetCancelConnection [USER.518]
77 UINT
WNetCancelConnection(LPSTR lpName
, BOOL bForce
)
79 printf("EMPTY STUB !!! WNetCancelConnection('%s', %04X);\n",
84 /**************************************************************************
85 * WNetAddConnection2 [USER.???]
87 UINT
WNetAddConnection2(LPSTR lpNetPath
, LPSTR lpPassWord
,
88 LPSTR lpLocalName
, LPSTR lpUserName
)
90 printf("EMPTY STUB !!! WNetAddConnection2('%s', %p, '%s', '%s');\n",
91 lpNetPath
, lpPassWord
, lpLocalName
, lpUserName
);
95 /**************************************************************************
96 * WNetCloseEnum [USER.???]
98 UINT
WNetCloseEnum(HANDLE hEnum
)
100 printf("EMPTY STUB !!! WNetCloseEnum(%04X);\n", hEnum
);
104 /**************************************************************************
105 * WNetEnumResource [USER.???]
107 UINT
WNetEnumResource(HANDLE hEnum
, DWORD cRequ
,
108 DWORD
*lpCount
, LPVOID lpBuf
)
110 printf("EMPTY STUB !!! WNetEnumResource(%04X, %08lX, %p, %p);\n",
111 hEnum
, cRequ
, lpCount
, lpBuf
);
115 /**************************************************************************
116 * WNetOpenEnum [USER.???]
118 UINT
WNetOpenEnum(DWORD dwScope
, DWORD dwType
,
119 LPNETRESOURCE lpNet
, HANDLE FAR
*lphEnum
)
121 printf("EMPTY STUB !!! WNetOpenEnum(%08lX, %08lX, %p, %p);\n",
122 dwScope
, dwType
, lpNet
, lphEnum
);