Allow specifying multiple graphics drivers and use the first one that
[wine] / dlls / mpr / nps.c
1 /*
2  * MPR Network Provider Services 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include <stdarg.h>
22
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winnetwk.h"
26 #include "netspi.h"
27 #include "wine/debug.h"
28
29 WINE_DEFAULT_DEBUG_CHANNEL(mpr);
30
31
32 /*****************************************************************
33  *  NPSAuthenticationDialogA [MPR.@]
34  */
35 DWORD WINAPI NPSAuthenticationDialogA( LPAUTHDLGSTRUCTA lpAuthDlgStruct )
36 {
37     FIXME( "(%p): stub\n", lpAuthDlgStruct );
38     return WN_NOT_SUPPORTED;
39 }
40
41 /*****************************************************************
42  *  NPSGetProviderHandleA [MPR.@]
43  */
44 DWORD WINAPI NPSGetProviderHandleA( PHPROVIDER phProvider )
45 {
46     FIXME( "(%p): stub\n", phProvider );
47     return WN_NOT_SUPPORTED;
48 }
49
50 /*****************************************************************
51  *  NPSGetProviderNameA [MPR.@]
52  */
53 DWORD WINAPI NPSGetProviderNameA( HPROVIDER hProvider, LPCSTR *lpszProviderName )
54 {
55     FIXME( "(%p, %p): stub\n", hProvider, lpszProviderName );
56     return WN_NOT_SUPPORTED;
57 }
58
59 /*****************************************************************
60  *  NPSGetSectionNameA [MPR.@]
61  */
62 DWORD WINAPI NPSGetSectionNameA( HPROVIDER hProvider, LPCSTR *lpszSectionName )
63 {
64     FIXME( "(%p, %p): stub\n", hProvider, lpszSectionName );
65     return WN_NOT_SUPPORTED;
66 }
67
68 /*****************************************************************
69  *  NPSSetExtendedErrorA [MPR.@]
70  */
71 DWORD WINAPI NPSSetExtendedErrorA( DWORD NetSpecificError, LPSTR lpExtendedErrorText )
72 {
73     FIXME( "(%08lx, %s): stub\n", NetSpecificError, debugstr_a(lpExtendedErrorText) );
74     return WN_NOT_SUPPORTED;
75 }
76
77 /*****************************************************************
78  *  NPSSetCustomTextA [MPR.@]
79  */
80 VOID WINAPI NPSSetCustomTextA( LPSTR lpCustomErrorText )
81 {
82     FIXME( "(%s): stub\n", debugstr_a(lpCustomErrorText) );
83 }
84
85 /*****************************************************************
86  *  NPSCopyStringA [MPR.@]
87  */
88 DWORD WINAPI NPSCopyStringA( LPCSTR lpString, LPVOID lpBuffer, LPDWORD lpdwBufferSize )
89 {
90     FIXME( "(%s, %p, %p): stub\n", debugstr_a(lpString), lpBuffer, lpdwBufferSize );
91     return WN_NOT_SUPPORTED;
92 }
93
94 /*****************************************************************
95  *  NPSDeviceGetNumberA [MPR.@]
96  */
97 DWORD WINAPI NPSDeviceGetNumberA( LPSTR lpLocalName, LPDWORD lpdwNumber, LPDWORD lpdwType )
98 {
99     FIXME( "(%s, %p, %p): stub\n", debugstr_a(lpLocalName), lpdwNumber, lpdwType );
100     return WN_NOT_SUPPORTED;
101 }
102
103 /*****************************************************************
104  *  NPSDeviceGetStringA [MPR.@]
105  */
106 DWORD WINAPI NPSDeviceGetStringA( DWORD dwNumber, DWORD dwType, LPSTR lpLocalName, LPDWORD lpdwBufferSize )
107 {
108     FIXME( "(%ld, %ld, %p, %p): stub\n", dwNumber, dwType, lpLocalName, lpdwBufferSize );
109     return WN_NOT_SUPPORTED;
110 }
111
112 /*****************************************************************
113  *  NPSNotifyRegisterA [MPR.@]
114  */
115 DWORD WINAPI NPSNotifyRegisterA( enum NOTIFYTYPE NotifyType, NOTIFYCALLBACK pfNotifyCallBack )
116 {
117     FIXME( "(%d, %p): stub\n", NotifyType, pfNotifyCallBack );
118     return WN_NOT_SUPPORTED;
119 }
120
121 /*****************************************************************
122  *  NPSNotifyGetContextA [MPR.@]
123  */
124 LPVOID WINAPI NPSNotifyGetContextA( NOTIFYCALLBACK pfNotifyCallBack )
125 {
126     FIXME( "(%p): stub\n", pfNotifyCallBack );
127     return NULL;
128 }
129