Added regedit unit test, a couple minor changes to regedit.
[wine] / dlls / mpr / auth.c
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include "winbase.h"
22 #include "winnetwk.h"
23 #include "wine/debug.h"
24
25 WINE_DEFAULT_DEBUG_CHANNEL(mpr);
26
27
28 /*****************************************************************
29  *  WNetLogoffA [MPR.@]
30  */
31 DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner )
32 {
33     FIXME( "(%s, %04x): stub\n", debugstr_a(lpProvider), hwndOwner );
34
35     SetLastError(WN_NO_NETWORK);
36     return WN_NO_NETWORK;
37 }
38
39 /*****************************************************************
40  *  WNetLogoffW [MPR.@]
41  */
42 DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner )
43 {
44     FIXME( "(%s, %04x): stub\n", debugstr_w(lpProvider), hwndOwner );
45
46     SetLastError(WN_NO_NETWORK);
47     return WN_NO_NETWORK;
48 }
49
50 /*****************************************************************
51  *  WNetLogonA [MPR.@]
52  */
53 DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner )
54 {
55     FIXME( "(%s, %04x): stub\n", debugstr_a(lpProvider), hwndOwner );
56
57     SetLastError(WN_NO_NETWORK);
58     return WN_NO_NETWORK;
59 }
60
61 /*****************************************************************
62  *  WNetLogonW [MPR.@]
63  */
64 DWORD WINAPI WNetLogonW( LPCWSTR lpProvider, HWND hwndOwner )
65 {
66     FIXME( "(%s, %04x): stub\n", debugstr_w(lpProvider), hwndOwner );
67
68     SetLastError(WN_NO_NETWORK);
69     return WN_NO_NETWORK;
70 }
71
72 /*****************************************************************
73  *  WNetVerifyPasswordA [MPR.@]
74  */
75 DWORD WINAPI WNetVerifyPasswordA( LPCSTR lpszPassword, BOOL *pfMatch )
76 {
77     FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
78
79     SetLastError(WN_NO_NETWORK);
80     return WN_NO_NETWORK;
81 }
82
83 /*****************************************************************
84  *  WNetVerifyPasswordW [MPR.@]
85  */
86 DWORD WINAPI WNetVerifyPasswordW( LPCWSTR lpszPassword, BOOL *pfMatch )
87 {
88     FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
89
90     SetLastError(WN_NO_NETWORK);
91     return WN_NO_NETWORK;
92 }
93