vbscript: Fix memory leak in owned safearray iterator.
[wine.git] / dlls / mpr / auth.c
blobe2a28a3d83ebd9861c30e6512f51eb48c1cdd6ad
1 /*
2 * MPR Authentication and Logon functions
4 * Copyright 1999 Ulrich Weigand
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.
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.
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
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winnetwk.h"
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(mpr);
31 /*****************************************************************
32 * WNetLogoffA [MPR.@]
34 DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner )
36 FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner );
38 SetLastError(WN_NO_NETWORK);
39 return WN_NO_NETWORK;
42 /*****************************************************************
43 * WNetLogoffW [MPR.@]
45 DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner )
47 FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner );
49 SetLastError(WN_NO_NETWORK);
50 return WN_NO_NETWORK;
53 /*****************************************************************
54 * WNetLogonA [MPR.@]
56 DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner )
58 FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner );
60 SetLastError(WN_NO_NETWORK);
61 return WN_NO_NETWORK;
64 /*****************************************************************
65 * WNetLogonW [MPR.@]
67 DWORD WINAPI WNetLogonW( LPCWSTR lpProvider, HWND hwndOwner )
69 FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner );
71 SetLastError(WN_NO_NETWORK);
72 return WN_NO_NETWORK;
75 /*****************************************************************
76 * WNetVerifyPasswordA [MPR.@]
78 DWORD WINAPI WNetVerifyPasswordA( LPCSTR lpszPassword, BOOL *pfMatch )
80 FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
82 SetLastError(WN_NO_NETWORK);
83 return WN_NO_NETWORK;
86 /*****************************************************************
87 * WNetVerifyPasswordW [MPR.@]
89 DWORD WINAPI WNetVerifyPasswordW( LPCWSTR lpszPassword, BOOL *pfMatch )
91 FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
93 SetLastError(WN_NO_NETWORK);
94 return WN_NO_NETWORK;