xref: /reactos/dll/win32/mpr/auth.c (revision cc439606)
1 /*
2  * MPR Authentication and Logon functions
3  *
4  * Copyright 1999 Ulrich Weigand
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 
21 #include <stdarg.h>
22 
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winnetwk.h"
26 #include "wine/debug.h"
27 
28 WINE_DEFAULT_DEBUG_CHANNEL(mpr);
29 
30 
31 /*****************************************************************
32  *  WNetLogoffA [MPR.@]
33  */
34 DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner )
35 {
36     FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner );
37 
38     SetLastError(WN_NO_NETWORK);
39     return WN_NO_NETWORK;
40 }
41 
42 /*****************************************************************
43  *  WNetLogoffW [MPR.@]
44  */
45 DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner )
46 {
47     FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner );
48 
49     SetLastError(WN_NO_NETWORK);
50     return WN_NO_NETWORK;
51 }
52 
53 /*****************************************************************
54  *  WNetLogonA [MPR.@]
55  */
56 DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner )
57 {
58     FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner );
59 
60     SetLastError(WN_NO_NETWORK);
61     return WN_NO_NETWORK;
62 }
63 
64 /*****************************************************************
65  *  WNetLogonW [MPR.@]
66  */
67 DWORD WINAPI WNetLogonW( LPCWSTR lpProvider, HWND hwndOwner )
68 {
69     FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner );
70 
71     SetLastError(WN_NO_NETWORK);
72     return WN_NO_NETWORK;
73 }
74 
75 /*****************************************************************
76  *  WNetVerifyPasswordA [MPR.@]
77  */
78 DWORD WINAPI WNetVerifyPasswordA( LPCSTR lpszPassword, BOOL *pfMatch )
79 {
80     FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
81 
82     SetLastError(WN_NO_NETWORK);
83     return WN_NO_NETWORK;
84 }
85 
86 /*****************************************************************
87  *  WNetVerifyPasswordW [MPR.@]
88  */
89 DWORD WINAPI WNetVerifyPasswordW( LPCWSTR lpszPassword, BOOL *pfMatch )
90 {
91     FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
92 
93     SetLastError(WN_NO_NETWORK);
94     return WN_NO_NETWORK;
95 }
96