Added stubs for RasEnumEntriesA and RasGetEntryDialParamsA.
This commit is contained in:
parent
64bc46c31c
commit
34a02f15d5
|
@ -18,3 +18,27 @@ DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD x, LPDWORD y) {
|
||||||
FIXME("(%p,%p,%p),stub!\n",rca,x,y);
|
FIXME("(%p,%p,%p),stub!\n",rca,x,y);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
* RasEnumEntriesA [RASAPI32.546]
|
||||||
|
*/
|
||||||
|
DWORD WINAPI RasEnumEntriesA( LPSTR Reserved, LPSTR lpszPhoneBook,
|
||||||
|
LPRASENTRYNAME lpRasEntryName,
|
||||||
|
LPDWORD lpcb, LPDWORD lpcEntries)
|
||||||
|
{
|
||||||
|
FIXME("(%p,%s,%p,%p,%p),stub!\n",Reserved,debugstr_a(lpszPhoneBook),
|
||||||
|
lpRasEntryName,lpcb,lpcEntries);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
* RasGetEntryDialParamsA [RASAPI32.550]
|
||||||
|
*/
|
||||||
|
DWORD WINAPI RasGetEntryDialParamsA( LPSTR lpszPhoneBook,
|
||||||
|
LPRASDIALPARAMS lpRasDialParams,
|
||||||
|
LPBOOL lpfPassword)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%p,%p),stub!\n",debugstr_a(lpszPhoneBook),
|
||||||
|
lpRasDialParams,lpfPassword);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#ifndef __WINE_LMCONS_H
|
||||||
|
#define __WINE_LMCONS_H
|
||||||
|
|
||||||
|
/* Lan manager API defines */
|
||||||
|
|
||||||
|
#define UNLEN 256 /* Maximum user name length */
|
||||||
|
#define PWLEN 256 /* Maximum password length */
|
||||||
|
#define CNLEN 15 /* Computer name length */
|
||||||
|
#define DNLEN CNLEN /* Maximum domain name length */
|
||||||
|
|
||||||
|
#endif
|
|
@ -2,8 +2,11 @@
|
||||||
#define __WINE_RAS_H
|
#define __WINE_RAS_H
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
#include "lmcons.h"
|
||||||
|
|
||||||
#define RAS_MaxEntryName 256
|
#define RAS_MaxEntryName 256
|
||||||
|
#define RAS_MaxPhoneNumber 128
|
||||||
|
#define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
|
||||||
|
|
||||||
typedef struct tagRASCONNA {
|
typedef struct tagRASCONNA {
|
||||||
DWORD dwSize;
|
DWORD dwSize;
|
||||||
|
@ -11,5 +14,31 @@ typedef struct tagRASCONNA {
|
||||||
CHAR szEntryName[RAS_MaxEntryName+1];
|
CHAR szEntryName[RAS_MaxEntryName+1];
|
||||||
} RASCONNA,*LPRASCONNA;
|
} RASCONNA,*LPRASCONNA;
|
||||||
|
|
||||||
|
typedef struct tagRASENTRYNAME {
|
||||||
|
DWORD dwSize;
|
||||||
|
CHAR szEntryName[ RAS_MaxEntryName + 1 ];
|
||||||
|
} RASENTRYNAME, *LPRASENTRYNAME;
|
||||||
|
|
||||||
|
typedef struct tagRASDIALPARAMS {
|
||||||
|
DWORD dwSize;
|
||||||
|
WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
|
||||||
|
WCHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
|
||||||
|
WCHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
|
||||||
|
WCHAR szUserName[ UNLEN + 1 ];
|
||||||
|
WCHAR szPassword[ PWLEN + 1 ];
|
||||||
|
WCHAR szDomain[ DNLEN + 1 ];
|
||||||
|
DWORD dwSubEntry;
|
||||||
|
DWORD dwCallbackId;
|
||||||
|
} RASDIALPARAMS, *LPRASDIALPARAMS;
|
||||||
|
|
||||||
|
|
||||||
DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rc, LPDWORD x, LPDWORD y);
|
DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rc, LPDWORD x, LPDWORD y);
|
||||||
|
DWORD WINAPI RasEnumEntriesA( LPSTR Reserved, LPSTR lpszPhoneBook,
|
||||||
|
LPRASENTRYNAME lpRasEntryName,
|
||||||
|
LPDWORD lpcb, LPDWORD lpcEntries);
|
||||||
|
DWORD WINAPI RasGetEntryDialParamsA( LPSTR lpszPhoneBook,
|
||||||
|
LPRASDIALPARAMS lpRasDialParams,
|
||||||
|
LPBOOL lpfPassword);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue