multinet.c 2.4 KB
Newer Older
1 2
/*
 * MPR Multinet 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
 *     MultinetGetConnectionPerformanceA [MPR.@]
33 34 35 36 37
 *
 * RETURNS
 *    Success: NO_ERROR
 *    Failure: ERROR_NOT_SUPPORTED, ERROR_NOT_CONNECTED,
 *             ERROR_NO_NET_OR_BAD_PATH, ERROR_BAD_DEVICE,
38
 *             ERROR_BAD_NET_NAME, ERROR_INVALID_PARAMETER,
39 40 41 42 43 44 45 46 47 48 49 50 51
 *             ERROR_NO_NETWORK, ERROR_EXTENDED_ERROR
 */
DWORD WINAPI MultinetGetConnectionPerformanceA(
	LPNETRESOURCEA lpNetResource,
	LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct )
{
    FIXME( "(%p, %p): stub\n", lpNetResource, lpNetConnectInfoStruct );

    SetLastError(WN_NO_NETWORK);
    return WN_NO_NETWORK;
}

/*****************************************************************
52
 *     MultinetGetConnectionPerformanceW [MPR.@]
53 54 55 56 57 58 59 60 61 62 63 64
 */
DWORD WINAPI MultinetGetConnectionPerformanceW(
	LPNETRESOURCEW lpNetResource,
	LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct )
{
    FIXME( "(%p, %p): stub\n", lpNetResource, lpNetConnectInfoStruct );

    SetLastError(WN_NO_NETWORK);
    return WN_NO_NETWORK;
}

/*****************************************************************
65
 *  MultinetGetErrorTextA [MPR.@]
66 67 68
 */
DWORD WINAPI MultinetGetErrorTextA( DWORD x, DWORD y, DWORD z )
{
69
    FIXME( "(%x, %x, %x): stub\n", x, y, z );
70 71 72 73
    return 0;
}

/*****************************************************************
74
 *  MultinetGetErrorTextW [MPR.@]
75 76 77
 */
DWORD WINAPI MultinetGetErrorTextW( DWORD x, DWORD y, DWORD z )
{
78
    FIXME( "(%x, %x, %x ): stub\n", x, y, z );
79 80
    return 0;
}