auth.c 2.65 KB
Newer Older
1 2
/*
 * MPR Authentication and Logon functions
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * Copyright 1999 Ulrich Weigand
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * 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 22 23
#include <stdarg.h>

#include "windef.h"
24 25
#include "winbase.h"
#include "winnetwk.h"
26
#include "wine/debug.h"
27

28
WINE_DEFAULT_DEBUG_CHANNEL(mpr);
29 30 31


/*****************************************************************
32
 *  WNetLogoffA [MPR.@]
33 34 35
 */
DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner )
{
36
    FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner );
37 38 39 40 41 42

    SetLastError(WN_NO_NETWORK);
    return WN_NO_NETWORK;
}

/*****************************************************************
43
 *  WNetLogoffW [MPR.@]
44 45 46
 */
DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner )
{
47
    FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner );
48 49 50 51 52 53

    SetLastError(WN_NO_NETWORK);
    return WN_NO_NETWORK;
}

/*****************************************************************
54
 *  WNetLogonA [MPR.@]
55 56 57
 */
DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner )
{
58
    FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner );
59 60 61 62 63 64

    SetLastError(WN_NO_NETWORK);
    return WN_NO_NETWORK;
}

/*****************************************************************
65
 *  WNetLogonW [MPR.@]
66 67 68
 */
DWORD WINAPI WNetLogonW( LPCWSTR lpProvider, HWND hwndOwner )
{
69
    FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner );
70 71 72 73 74 75

    SetLastError(WN_NO_NETWORK);
    return WN_NO_NETWORK;
}

/*****************************************************************
76
 *  WNetVerifyPasswordA [MPR.@]
77 78 79 80 81 82 83 84 85 86
 */
DWORD WINAPI WNetVerifyPasswordA( LPCSTR lpszPassword, BOOL *pfMatch )
{
    FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );

    SetLastError(WN_NO_NETWORK);
    return WN_NO_NETWORK;
}

/*****************************************************************
87
 *  WNetVerifyPasswordW [MPR.@]
88 89 90 91 92 93 94 95
 */
DWORD WINAPI WNetVerifyPasswordW( LPCWSTR lpszPassword, BOOL *pfMatch )
{
    FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );

    SetLastError(WN_NO_NETWORK);
    return WN_NO_NETWORK;
}