Sync with trunk r63174.
[reactos.git] / dll / win32 / rasdlg / rasdlg.c
1 /*
2 * RASDLG
3 *
4 * Copyright 2007 Dmitry Chapyshev
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 #define WIN32_NO_STATUS
22
23 #include <stdarg.h>
24
25 #include <windef.h>
26 #include <winbase.h>
27 //#include <ras.h>
28 #include <wine/debug.h>
29 #include <rasdlg.h>
30
31 WINE_DEFAULT_DEBUG_CHANNEL(ras);
32
33 BOOL WINAPI
34 RasDialDlgA(LPSTR lpszPhonebook, LPSTR lpszEntry, LPSTR lpszPhoneNumber, LPRASDIALDLG lpInfo)
35 {
36 FIXME("(%s,%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpszPhoneNumber,lpInfo);
37 return 0;
38 }
39
40 BOOL WINAPI
41 RasDialDlgW(LPWSTR lpszPhonebook, LPWSTR lpszEntry, LPWSTR lpszPhoneNumber, LPRASDIALDLG lpInfo)
42 {
43 FIXME("(%s,%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpszPhoneNumber,lpInfo);
44 return 0;
45 }
46
47 BOOL WINAPI
48 RasMonitorDlgA(LPSTR lpszDeviceName, LPRASMONITORDLG lpInfo)
49 {
50 FIXME("(%s,%p),stub!\n",lpszDeviceName,lpInfo);
51 return 0;
52 }
53
54 BOOL WINAPI
55 RasMonitorDlgW(LPWSTR lpszDeviceName, LPRASMONITORDLG lpInfo)
56 {
57 FIXME("(%s,%p),stub!\n",lpszDeviceName,lpInfo);
58 return 0;
59 }
60
61 BOOL WINAPI
62 RasEntryDlgA(LPSTR lpszPhonebook, LPSTR lpszEntry, LPRASENTRYDLGA lpInfo)
63 {
64 FIXME("(%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpInfo);
65 return 0;
66 }
67
68 BOOL WINAPI
69 RasEntryDlgW(LPWSTR lpszPhonebook, LPWSTR lpszEntry, LPRASENTRYDLGW lpInfo)
70 {
71 FIXME("(%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpInfo);
72 return 0;
73 }
74
75 BOOL WINAPI
76 RasPhonebookDlgA(LPSTR lpszPhonebook, LPSTR lpszEntry, LPRASPBDLGA lpInfo)
77 {
78 FIXME("(%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpInfo);
79 return 0;
80 }
81
82 BOOL WINAPI
83 RasPhonebookDlgW(LPWSTR lpszPhonebook, LPWSTR lpszEntry, LPRASPBDLGW lpInfo)
84 {
85 FIXME("(%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpInfo);
86 return 0;
87 }
88
89 static HINSTANCE hDllInstance;
90
91 BOOL WINAPI
92 DllMain(IN HINSTANCE hinstDLL,
93 IN DWORD dwReason,
94 IN LPVOID lpvReserved)
95 {
96 switch (dwReason)
97 {
98 case DLL_PROCESS_ATTACH:
99 hDllInstance = hinstDLL;
100 DisableThreadLibraryCalls(hinstDLL);
101 break;
102 }
103
104 return TRUE;
105 }
106