rpcrt4: Add tests for freeing non-NdrAllocate allocated memory blocks.
[wine] / dlls / mpr / multinet.c
1 /*
2  * MPR Multinet 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
28 WINE_DEFAULT_DEBUG_CHANNEL(mpr);
29
30
31 /*****************************************************************
32  *     MultinetGetConnectionPerformanceA [MPR.@]
33  *
34  * RETURNS
35  *    Success: NO_ERROR
36  *    Failure: ERROR_NOT_SUPPORTED, ERROR_NOT_CONNECTED,
37  *             ERROR_NO_NET_OR_BAD_PATH, ERROR_BAD_DEVICE,
38  *             ERROR_BAD_NET_NAME, ERROR_INVALID_PARAMETER,
39  *             ERROR_NO_NETWORK, ERROR_EXTENDED_ERROR
40  */
41 DWORD WINAPI MultinetGetConnectionPerformanceA(
42         LPNETRESOURCEA lpNetResource,
43         LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct )
44 {
45     FIXME( "(%p, %p): stub\n", lpNetResource, lpNetConnectInfoStruct );
46
47     SetLastError(WN_NO_NETWORK);
48     return WN_NO_NETWORK;
49 }
50
51 /*****************************************************************
52  *     MultinetGetConnectionPerformanceW [MPR.@]
53  */
54 DWORD WINAPI MultinetGetConnectionPerformanceW(
55         LPNETRESOURCEW lpNetResource,
56         LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct )
57 {
58     FIXME( "(%p, %p): stub\n", lpNetResource, lpNetConnectInfoStruct );
59
60     SetLastError(WN_NO_NETWORK);
61     return WN_NO_NETWORK;
62 }
63
64 /*****************************************************************
65  *  MultinetGetErrorTextA [MPR.@]
66  */
67 DWORD WINAPI MultinetGetErrorTextA( DWORD x, DWORD y, DWORD z )
68 {
69     FIXME( "(%x, %x, %x): stub\n", x, y, z );
70     return 0;
71 }
72
73 /*****************************************************************
74  *  MultinetGetErrorTextW [MPR.@]
75  */
76 DWORD WINAPI MultinetGetErrorTextW( DWORD x, DWORD y, DWORD z )
77 {
78     FIXME( "(%x, %x, %x ): stub\n", x, y, z );
79     return 0;
80 }