ReactOS  0.4.15-dev-1384-g878186b
auth.c
Go to the documentation of this file.
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 
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 
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 
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 
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 
72  return WN_NO_NETWORK;
73 }
74 
75 /*****************************************************************
76  * WNetVerifyPasswordA [MPR.@]
77  */
79 {
80  FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
81 
83  return WN_NO_NETWORK;
84 }
85 
86 /*****************************************************************
87  * WNetVerifyPasswordW [MPR.@]
88  */
90 {
91  FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
92 
94  return WN_NO_NETWORK;
95 }
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
_In_opt_ LPSTR _In_opt_ LPSTR lpszPassword
Definition: winbase.h:2674
DWORD WINAPI WNetLogoffW(LPCWSTR lpProvider, HWND hwndOwner)
Definition: auth.c:45
DWORD WINAPI WNetVerifyPasswordW(LPCWSTR lpszPassword, BOOL *pfMatch)
Definition: auth.c:89
DWORD WINAPI WNetLogoffA(LPCSTR lpProvider, HWND hwndOwner)
Definition: auth.c:34
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD WINAPI WNetLogonA(LPCSTR lpProvider, HWND hwndOwner)
Definition: auth.c:56
DWORD WINAPI WNetLogonW(LPCWSTR lpProvider, HWND hwndOwner)
Definition: auth.c:67
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
const char * LPCSTR
Definition: xmlstorage.h:183
#define debugstr_a
Definition: kernel32.h:31
WINE_DEFAULT_DEBUG_CHANNEL(mpr)
#define WN_NO_NETWORK
Definition: winnetwk.h:126
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
#define SetLastError(x)
Definition: compat.h:611
DWORD WINAPI WNetVerifyPasswordA(LPCSTR lpszPassword, BOOL *pfMatch)
Definition: auth.c:78