Moved most of the implementation of SetWindowPos and SetDrawable into
[wine/multimedia.git] / include / ras.h
blobc2edf74983eb1b4e6fbebfb1497616a2d4681603
1 #ifndef __WINE_RAS_H
2 #define __WINE_RAS_H
4 #include "windef.h"
5 #include "lmcons.h"
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #include "pshpack4.h"
12 #define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
13 #define RAS_MaxDeviceName 128
14 #define RAS_MaxDeviceType 16
15 #define RAS_MaxEntryName 256
16 #define RAS_MaxPhoneNumber 128
18 DECLARE_HANDLE(HRASCONN);
20 typedef struct tagRASCONNA {
21 DWORD dwSize;
22 HRASCONN hRasConn;
23 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
24 CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
25 CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
26 CHAR szPhonebook[ MAX_PATH ];
27 DWORD dwSubEntry;
28 } RASCONNA,*LPRASCONNA;
30 typedef struct tagRASCONNW {
31 DWORD dwSize;
32 HRASCONN hRasConn;
33 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
34 WCHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
35 WCHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
36 WCHAR szPhonebook[ MAX_PATH ];
37 DWORD dwSubEntry;
38 } RASCONNW,*LPRASCONNW;
40 DECL_WINELIB_TYPE_AW(RASCONN)
41 DECL_WINELIB_TYPE_AW(LPRASCONN)
43 typedef struct tagRASENTRYNAMEA {
44 DWORD dwSize;
45 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
46 } RASENTRYNAMEA, *LPRASENTRYNAMEA;
48 typedef struct tagRASENTRYNAMEW {
49 DWORD dwSize;
50 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
51 } RASENTRYNAMEW, *LPRASENTRYNAMEW;
53 DECL_WINELIB_TYPE_AW(RASENTRYNAME)
54 DECL_WINELIB_TYPE_AW(LPRASENTRYNAME)
56 typedef struct tagRASDIALPARAMSA {
57 DWORD dwSize;
58 CHAR szEntryName[ RAS_MaxEntryName + 1 ];
59 CHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
60 CHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
61 CHAR szUserName[ UNLEN + 1 ];
62 CHAR szPassword[ PWLEN + 1 ];
63 CHAR szDomain[ DNLEN + 1 ];
64 DWORD dwSubEntry;
65 DWORD dwCallbackId;
66 } RASDIALPARAMSA, *LPRASDIALPARAMSA;
68 typedef struct tagRASDIALPARAMSW {
69 DWORD dwSize;
70 WCHAR szEntryName[ RAS_MaxEntryName + 1 ];
71 WCHAR szPhoneNumber[ RAS_MaxPhoneNumber + 1 ];
72 WCHAR szCallbackNumber[ RAS_MaxCallbackNumber + 1 ];
73 WCHAR szUserName[ UNLEN + 1 ];
74 WCHAR szPassword[ PWLEN + 1 ];
75 WCHAR szDomain[ DNLEN + 1 ];
76 DWORD dwSubEntry;
77 DWORD dwCallbackId;
78 } RASDIALPARAMSW, *LPRASDIALPARAMSW;
80 DECL_WINELIB_TYPE_AW(RASDIALPARAMS)
81 DECL_WINELIB_TYPE_AW(LPRASDIALPARAMS)
84 DWORD WINAPI RasEnumConnectionsA(LPRASCONNA,LPDWORD,LPDWORD);
85 DWORD WINAPI RasEnumConnectionsW(LPRASCONNW,LPDWORD,LPDWORD);
86 #define RasEnumConnections WINELIB_NAME_AW(RasEnumConnections)
87 DWORD WINAPI RasEnumEntriesA(LPCSTR,LPCSTR,LPRASENTRYNAMEA,LPDWORD,LPDWORD);
88 DWORD WINAPI RasEnumEntriesW(LPCWSTR,LPCWSTR,LPRASENTRYNAMEW,LPDWORD,LPDWORD);
89 #define RasEnumEntries WINELIB_NAME_AW(RasEnumEntries)
90 DWORD WINAPI RasGetEntryDialParamsA(LPCSTR,LPRASDIALPARAMSA,LPBOOL);
91 DWORD WINAPI RasGetEntryDialParamsW(LPCWSTR,LPRASDIALPARAMSW,LPBOOL);
92 #define RasGetEntryDialParams WINELIB_NAME_AW(RasGetEntryDialParams)
93 DWORD WINAPI RasHangUpA(HRASCONN);
94 DWORD WINAPI RasHangUpW(HRASCONN);
95 #define RasHangUp WINELIB_NAME_AW(RasHangUp)
97 #include "poppack.h"
98 #ifdef __cplusplus
100 #endif
102 #endif