Please add this code in ras.h Thanks.
DECL_WINELIB_TYPE_AW(LPRASENTRY)
/* Enumerates intermediate states to a connection. (See RasDial) */ #define RASCS_PAUSED 0x1000 #define RASCS_DONE 0x2000
typedef enum tagRASCONNSTATE { RASCS_OpenPort = 0, RASCS_PortOpened, RASCS_ConnectDevice, RASCS_DeviceConnected, RASCS_AllDevicesConnected, RASCS_Authenticate, RASCS_AuthNotify, RASCS_AuthRetry, RASCS_AuthCallback, RASCS_AuthChangePassword, RASCS_AuthProject, RASCS_AuthLinkSpeed, RASCS_AuthAck, RASCS_ReAuthenticate, RASCS_Authenticated, RASCS_PrepareForCallback, RASCS_WaitForModemReset, RASCS_WaitForCallback, RASCS_Projected,
RASCS_StartAuthentication, RASCS_CallbackComplete, RASCS_LogonNetwork,
RASCS_SubEntryConnected, RASCS_SubEntryDisconnected,
RASCS_Interactive = RASCS_PAUSED, RASCS_RetryAuthentication, RASCS_CallbackSetByCaller, RASCS_PasswordExpired,
RASCS_InvokeEapUI,
RASCS_Connected = RASCS_DONE, RASCS_Disconnected } RASCONNSTATE, *LPRASCONNSTATE;
typedef struct tagRASCONNSTATUSW { DWORD dwSize; RASCONNSTATE rasconnstate; DWORD dwError; WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; WCHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ]; } RASCONNSTATUSW, *LPRASCONNSTATUSW;
typedef struct tagRASCONNSTATUSA { DWORD dwSize; RASCONNSTATE rasconnstate; DWORD dwError; CHAR szDeviceType[ RAS_MaxDeviceType + 1 ]; CHAR szDeviceName[ RAS_MaxDeviceName + 1 ]; CHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ]; } RASCONNSTATUSA, *LPRASCONNSTATUSA;
DECL_WINELIB_TYPE_AW(RASCONNSTATUS) DECL_WINELIB_TYPE_AW(LPRASCONNSTATUS)
typedef struct tagRASDIALEXTENSIONS { DWORD dwSize; DWORD dwfOptions; HWND hwndParent; DWORD reserved; DWORD reserved1; } RASDIALEXTENSIONS, *LPRASDIALEXTENSIONS;
#define LPHRASCONN HRASCONN*
flyker wrote:
Please add this code in ras.h Thanks.
Hi,
Its really best to send a diff to wine-patches if you want the code/patch to be reviewed for inclusion into the wine tree.
And include the licence as well..
Tom