Added RasEnumConnections stub.

This commit is contained in:
Marcus Meissner 1998-12-11 13:26:26 +00:00 committed by Alexandre Julliard
parent baae7c4950
commit 30ef8778e8
10 changed files with 107 additions and 50 deletions

View File

@ -34,6 +34,7 @@ LIBSUBDIRS = \
dlls/msacm32 \ dlls/msacm32 \
dlls/ntdll \ dlls/ntdll \
dlls/psapi \ dlls/psapi \
dlls/rasapi32 \
dlls/shell32 \ dlls/shell32 \
dlls/winaspi \ dlls/winaspi \
dlls/wnaspi32 \ dlls/wnaspi32 \
@ -98,6 +99,7 @@ LIBOBJS = \
dlls/msacm32/msacm32.o \ dlls/msacm32/msacm32.o \
dlls/ntdll/ntdll.o \ dlls/ntdll/ntdll.o \
dlls/psapi/psapi.o \ dlls/psapi/psapi.o \
dlls/rasapi32/rasapi32.o \
dlls/shell32/shell32.o \ dlls/shell32/shell32.o \
dlls/winaspi/winaspi.o \ dlls/winaspi/winaspi.o \
dlls/wnaspi32/wnaspi32.o \ dlls/wnaspi32/wnaspi32.o \

2
configure vendored
View File

@ -3752,6 +3752,7 @@ dlls/msacm/Makefile
dlls/msacm32/Makefile dlls/msacm32/Makefile
dlls/ntdll/Makefile dlls/ntdll/Makefile
dlls/psapi/Makefile dlls/psapi/Makefile
dlls/rasapi32/Makefile
dlls/shell32/Makefile dlls/shell32/Makefile
dlls/winaspi/Makefile dlls/winaspi/Makefile
dlls/wnaspi32/Makefile dlls/wnaspi32/Makefile
@ -3903,6 +3904,7 @@ dlls/msacm/Makefile
dlls/msacm32/Makefile dlls/msacm32/Makefile
dlls/ntdll/Makefile dlls/ntdll/Makefile
dlls/psapi/Makefile dlls/psapi/Makefile
dlls/rasapi32/Makefile
dlls/shell32/Makefile dlls/shell32/Makefile
dlls/winaspi/Makefile dlls/winaspi/Makefile
dlls/wnaspi32/Makefile dlls/wnaspi32/Makefile

View File

@ -517,6 +517,7 @@ dlls/msacm/Makefile
dlls/msacm32/Makefile dlls/msacm32/Makefile
dlls/ntdll/Makefile dlls/ntdll/Makefile
dlls/psapi/Makefile dlls/psapi/Makefile
dlls/rasapi32/Makefile
dlls/shell32/Makefile dlls/shell32/Makefile
dlls/winaspi/Makefile dlls/winaspi/Makefile
dlls/wnaspi32/Makefile dlls/wnaspi32/Makefile

15
dlls/rasapi32/Makefile.in Normal file
View File

@ -0,0 +1,15 @@
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = rasapi32
C_SRCS = rasapi.c
all: $(MODULE).o
@MAKE_RULES@
### Dependencies:

18
dlls/rasapi32/rasapi.c Normal file
View File

@ -0,0 +1,18 @@
/*
* RASAPI32
*
* Copyright 1998 Marcus Meissner
*/
#include "windows.h"
#include "ras.h"
#include "debug.h"
/**************************************************************************
* RasEnumConnections32A [RASAPI32.544]
*/
DWORD WINAPI RasEnumConnections32A( LPRASCONN32A rca, LPDWORD x, LPDWORD y) {
/* Remote Access Service stuff is done by underlying OS anyway */
FIXME(ras,"(%p,%p,%p),stub!\n",rca,x,y);
return 0;
}

View File

@ -109,54 +109,55 @@
#define dbch_prop 101 #define dbch_prop 101
#define dbch_psapi 102 #define dbch_psapi 102
#define dbch_psdrv 103 #define dbch_psdrv 103
#define dbch_rebar 104 #define dbch_ras 104
#define dbch_reg 105 #define dbch_rebar 105
#define dbch_region 106 #define dbch_reg 106
#define dbch_relay 107 #define dbch_region 107
#define dbch_resource 108 #define dbch_relay 108
#define dbch_s 109 #define dbch_resource 109
#define dbch_scroll 110 #define dbch_s 110
#define dbch_security 111 #define dbch_scroll 111
#define dbch_segment 112 #define dbch_security 112
#define dbch_selector 113 #define dbch_segment 113
#define dbch_sem 114 #define dbch_selector 114
#define dbch_sendmsg 115 #define dbch_sem 115
#define dbch_shell 116 #define dbch_sendmsg 116
#define dbch_shm 117 #define dbch_shell 117
#define dbch_snoop 118 #define dbch_shm 118
#define dbch_sound 119 #define dbch_snoop 119
#define dbch_static 120 #define dbch_sound 120
#define dbch_statusbar 121 #define dbch_static 121
#define dbch_stress 122 #define dbch_statusbar 122
#define dbch_string 123 #define dbch_stress 123
#define dbch_syscolor 124 #define dbch_string 124
#define dbch_system 125 #define dbch_syscolor 125
#define dbch_tab 126 #define dbch_system 126
#define dbch_task 127 #define dbch_tab 127
#define dbch_text 128 #define dbch_task 128
#define dbch_thread 129 #define dbch_text 129
#define dbch_thunk 130 #define dbch_thread 130
#define dbch_timer 131 #define dbch_thunk 131
#define dbch_toolbar 132 #define dbch_timer 132
#define dbch_toolhelp 133 #define dbch_toolbar 133
#define dbch_tooltips 134 #define dbch_toolhelp 134
#define dbch_trackbar 135 #define dbch_tooltips 135
#define dbch_treeview 136 #define dbch_trackbar 136
#define dbch_tweak 137 #define dbch_treeview 137
#define dbch_uitools 138 #define dbch_tweak 138
#define dbch_updown 139 #define dbch_uitools 139
#define dbch_ver 140 #define dbch_updown 140
#define dbch_virtual 141 #define dbch_ver 141
#define dbch_vxd 142 #define dbch_virtual 142
#define dbch_wave 143 #define dbch_vxd 143
#define dbch_win 144 #define dbch_wave 144
#define dbch_win16drv 145 #define dbch_win 145
#define dbch_win32 146 #define dbch_win16drv 146
#define dbch_wing 147 #define dbch_win32 147
#define dbch_winsock 148 #define dbch_wing 148
#define dbch_wnet 149 #define dbch_winsock 149
#define dbch_x11 150 #define dbch_wnet 150
#define dbch_x11drv 151 #define dbch_x11 151
#define dbch_x11drv 152
/* Definitions for classes identifiers */ /* Definitions for classes identifiers */
#define dbcl_fixme 0 #define dbcl_fixme 0
#define dbcl_err 1 #define dbcl_err 1

View File

@ -4,7 +4,7 @@
#include "debugtools.h" #include "debugtools.h"
#endif #endif
#define DEBUG_CHANNEL_COUNT 152 #define DEBUG_CHANNEL_COUNT 153
#ifdef DEBUG_RUNTIME #ifdef DEBUG_RUNTIME
short debug_msg_enabled[][DEBUG_CLASS_COUNT] = { short debug_msg_enabled[][DEBUG_CLASS_COUNT] = {
{1, 1, 0, 0}, {1, 1, 0, 0},
@ -159,6 +159,7 @@ short debug_msg_enabled[][DEBUG_CLASS_COUNT] = {
{1, 1, 0, 0}, {1, 1, 0, 0},
{1, 1, 0, 0}, {1, 1, 0, 0},
{1, 1, 0, 0}, {1, 1, 0, 0},
{1, 1, 0, 0},
}; };
const char* debug_ch_name[] = { const char* debug_ch_name[] = {
"1", "1",
@ -265,6 +266,7 @@ const char* debug_ch_name[] = {
"prop", "prop",
"psapi", "psapi",
"psdrv", "psdrv",
"ras",
"rebar", "rebar",
"reg", "reg",
"region", "region",

15
include/ras.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef __WINE_RAS_H
#define __WINE_RAS_H
#include "wintypes.h"
#define RAS_MaxEntryName 256
typedef struct tagRASCONN32A {
DWORD dwSize;
HRASCONN32 hRasConn;
CHAR szEntryName[RAS_MaxEntryName+1];
} RASCONN32A,*LPRASCONN32A;
DWORD WINAPI RasEnumConnections32A( LPRASCONN32A rc, LPDWORD x, LPDWORD y);
#endif

View File

@ -192,6 +192,7 @@ DECLARE_HANDLE(HDESK);
DECLARE_HANDLE(HWND); DECLARE_HANDLE(HWND);
DECLARE_HANDLE(HKL); DECLARE_HANDLE(HKL);
DECLARE_HANDLE(HIC); DECLARE_HANDLE(HIC);
DECLARE_HANDLE(HRASCONN);
#undef DECLARE_HANDLE #undef DECLARE_HANDLE
/* Callback function pointers types */ /* Callback function pointers types */

View File

@ -45,7 +45,7 @@ type win32
541 stub RasDialW 541 stub RasDialW
542 stub RasEditPhonebookEntryA 542 stub RasEditPhonebookEntryA
543 stub RasEditPhonebookEntryW 543 stub RasEditPhonebookEntryW
544 stub RasEnumConnectionsA 544 stdcall RasEnumConnectionsA(ptr ptr ptr) RasEnumConnections32A
545 stub RasEnumConnectionsW 545 stub RasEnumConnectionsW
546 stub RasEnumEntriesA 546 stub RasEnumEntriesA
547 stub RasEnumEntriesW 547 stub RasEnumEntriesW