ReactOS  0.4.15-dev-2703-g05fb0f1
rasdlg.h
Go to the documentation of this file.
1 #ifndef _RASDLG_H_
2 #define _RASDLG_H_
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 #include <ras.h>
8 
9 #define RASPBDEVENT_AddEntry 1
10 #define RASPBDEVENT_EditEntry 2
11 #define RASPBDEVENT_RemoveEntry 3
12 #define RASPBDEVENT_DialEntry 4
13 #define RASPBDEVENT_EditGlobals 5
14 #define RASPBDEVENT_NoUser 6
15 #define RASPBDEVENT_NoUserEdit 7
16 
17 #define RASPBDFLAG_PositionDlg 0x00000001
18 #define RASPBDFLAG_ForceCloseOnDial 0x00000002
19 #define RASPBDFLAG_NoUser 0x00000010
20 #define RASPBDFLAG_UpdateDefaults 0x80000000
21 
22 #define RASEDFLAG_PositionDlg 1
23 #define RASEDFLAG_NewEntry 2
24 #define RASEDFLAG_CloneEntry 4
25 
26 #define RASDDFLAG_PositionDlg 1
27 
28 #ifndef RC_INVOKED
29 #include <pshpack4.h>
30 
31 typedef struct tagRASENTRYDLGA
32 {
43 typedef struct tagRASENTRYDLGW
44 {
55 
56 typedef struct tagRASDIALDLG
57 {
68 
69 /* Application-defined callback functions */
72 
73 typedef struct tagRASPBDLGA
74 {
86 typedef struct tagRASPBDLGW
87 {
99 
100 typedef struct tagRASMONITORDLG
101 {
112 
113 typedef struct tagRASNOUSERA
114 {
122 typedef struct tagRASNOUSERW
123 {
131 
132 #include <poppack.h>
133 
140 #if (WINVER <= 0x500)
143 #endif /*(WINVER <= 0x500)*/
144 
145 #ifdef UNICODE
147 typedef RASPBDLGW RASPBDLG, *LPRASPBDLG;
149 #define RasDialDlg RasDialDlgW
150 #define RasEntryDlg RasEntryDlgW
151 #if (WINVER <= 0x500)
152 #define RasMonitorDlg RasMonitorDlgW
153 #endif /*(WINVER <= 0x500)*/
154 #define RasPhonebookDlg RasPhonebookDlgW
155 #else
159 #define RasDialDlg RasDialDlgA
160 #define RasEntryDlg RasEntryDlgA
161 #if (WINVER <= 0x500)
162 #define RasMonitorDlg RasMonitorDlgA
163 #endif /*(WINVER <= 0x500)*/
164 #define RasPhonebookDlg RasPhonebookDlgA
165 #endif /* UNICODE */
166 
167 #endif /* RC_INVOKED */
168 
169 #ifdef __cplusplus
170 }
171 #endif
172 #endif
ULONG_PTR reserved
Definition: rasdlg.h:52
CHAR szUserName[UNLEN+1]
Definition: rasdlg.h:118
struct tagRASNOUSERA * LPRASNOUSERA
struct tagRASDIALDLG * LPRASDIALDLG
DWORD dwSubEntry
Definition: rasdlg.h:63
DWORD dwError
Definition: rasdlg.h:39
#define PWLEN
Definition: lmcons.h:37
RASENTRYDLGA RASENTRYDLG
Definition: rasdlg.h:156
DWORD dwError
Definition: rasdlg.h:51
DWORD dwSize
Definition: rasdlg.h:45
ULONG_PTR reserved
Definition: rasdlg.h:109
char CHAR
Definition: xmlstorage.h:175
DWORD dwTimeoutMs
Definition: rasdlg.h:117
ULONG_PTR reserved2
Definition: rasdlg.h:41
struct tagRASENTRYDLGW * LPRASENTRYDLGW
LONG yDlg
Definition: rasdlg.h:92
struct tagRASPBDLGW RASPBDLGW
DWORD dwTimeoutMs
Definition: rasdlg.h:126
LONG yDlg
Definition: rasdlg.h:79
ULONG_PTR reserved
Definition: rasdlg.h:96
DWORD dwSize
Definition: rasdlg.h:33
BOOL APIENTRY RasDialDlgW(LPWSTR, LPWSTR, LPWSTR, LPRASDIALDLG)
Definition: rasdlg.c:41
char * LPSTR
Definition: xmlstorage.h:182
RASPBDLGA RASPBDLG
Definition: rasdlg.h:157
#define DWORD
Definition: nt_native.h:44
struct tagRASMONITORDLG RASMONITORDLG
ULONG_PTR reserved2
Definition: rasdlg.h:84
DWORD dwFlags
Definition: rasdlg.h:104
uint32_t ULONG_PTR
Definition: typedefs.h:65
ULONG_PTR reserved2
Definition: rasdlg.h:110
DWORD dwFlags
Definition: rasdlg.h:125
CHAR szDomain[DNLEN+1]
Definition: rasdlg.h:120
HWND hwndOwner
Definition: rasdlg.h:89
struct tagRASNOUSERW * LPRASNOUSERW
HWND hwndOwner
Definition: rasdlg.h:103
DWORD dwError
Definition: rasdlg.h:95
unsigned int BOOL
Definition: ntddk_ex.h:94
struct tagRASNOUSERW RASNOUSERW
long LONG
Definition: pedump.c:60
DWORD dwError
Definition: rasdlg.h:82
struct tagRASENTRYDLGA * LPRASENTRYDLGA
HWND hwndOwner
Definition: rasdlg.h:34
LONG yDlg
Definition: rasdlg.h:62
DWORD dwSize
Definition: rasdlg.h:75
LONG xDlg
Definition: rasdlg.h:91
ULONG_PTR reserved2
Definition: rasdlg.h:53
DWORD dwFlags
Definition: rasdlg.h:77
RASPBDLGFUNCW pCallback
Definition: rasdlg.h:94
VOID(WINAPI * RASPBDLGFUNCW)(DWORD, DWORD, LPWSTR, LPVOID)
Definition: rasdlg.h:70
struct tagRASPBDLGW * LPRASPBDLGW
RASPBDLGA * LPRASPBDLG
Definition: rasdlg.h:157
DWORD dwSize
Definition: rasdlg.h:115
DWORD dwSize
Definition: rasdlg.h:58
HWND hwndOwner
Definition: rasdlg.h:76
ULONG_PTR reserved2
Definition: rasdlg.h:97
DWORD dwFlags
Definition: rasdlg.h:116
__wchar_t WCHAR
Definition: xmlstorage.h:180
RASNOUSERA * LPRASNOUSER
Definition: rasdlg.h:158
WCHAR szDomain[DNLEN+1]
Definition: rasdlg.h:129
#define WINAPI
Definition: msvc.h:6
RASNOUSERA RASNOUSER
Definition: rasdlg.h:158
unsigned long DWORD
Definition: ntddk_ex.h:95
ULONG_PTR dwCallbackId
Definition: rasdlg.h:80
WCHAR szPassword[PWLEN+1]
Definition: rasdlg.h:128
DWORD dwError
Definition: rasdlg.h:64
#define LPVOID
Definition: nt_native.h:45
DWORD dwFlags
Definition: rasdlg.h:60
DWORD dwSize
Definition: rasdlg.h:124
BOOL APIENTRY RasEntryDlgW(LPWSTR, LPWSTR, LPRASENTRYDLGW)
Definition: rasdlg.c:69
#define VOID
Definition: acefi.h:82
WCHAR szEntry[RAS_MaxEntryName+1]
Definition: rasdlg.h:50
struct tagRASPBDLGA * LPRASPBDLGA
HWND hwndOwner
Definition: rasdlg.h:59
struct tagRASENTRYDLGW RASENTRYDLGW
HWND hwndOwner
Definition: rasdlg.h:46
LONG xDlg
Definition: rasdlg.h:61
#define RAS_MaxEntryName
Definition: ras.h:26
DWORD dwSize
Definition: rasdlg.h:88
BOOL APIENTRY RasMonitorDlgA(LPSTR, LPRASMONITORDLG)
Definition: rasdlg.c:48
DWORD dwFlags
Definition: rasdlg.h:90
DWORD dwFlags
Definition: rasdlg.h:47
#define UNLEN
Definition: sspi.c:28
struct tagRASPBDLGA RASPBDLGA
OUT DWORD dwError
Definition: rasdlg.h:108
struct tagRASNOUSERA RASNOUSERA
VOID(WINAPI * RASPBDLGFUNCA)(DWORD, DWORD, LPSTR, LPVOID)
Definition: rasdlg.h:71
BOOL APIENTRY RasPhonebookDlgA(LPSTR, LPSTR, LPRASPBDLGA)
Definition: rasdlg.c:76
RASPBDLGFUNCA pCallback
Definition: rasdlg.h:81
DWORD dwSize
Definition: rasdlg.h:102
DWORD dwFlags
Definition: rasdlg.h:35
LONG xDlg
Definition: rasdlg.h:78
#define DNLEN
Definition: lmcons.h:16
BOOL APIENTRY RasDialDlgA(LPSTR, LPSTR, LPSTR, LPRASDIALDLG)
Definition: rasdlg.c:34
BOOL APIENTRY RasEntryDlgA(LPSTR, LPSTR, LPRASENTRYDLGA)
Definition: rasdlg.c:62
DWORD dwStartPage
Definition: rasdlg.h:105
#define OUT
Definition: typedefs.h:40
ULONG_PTR reserved
Definition: rasdlg.h:65
struct tagRASENTRYDLGA RASENTRYDLGA
RASENTRYDLGA * LPRASENTRYDLG
Definition: rasdlg.h:156
CHAR szPassword[PWLEN+1]
Definition: rasdlg.h:119
struct tagRASMONITORDLG * LPRASMONITORDLG
WCHAR * LPWSTR
Definition: xmlstorage.h:184
ULONG_PTR reserved
Definition: rasdlg.h:40
ULONG_PTR dwCallbackId
Definition: rasdlg.h:93
CHAR szEntry[RAS_MaxEntryName+1]
Definition: rasdlg.h:38
ULONG_PTR reserved2
Definition: rasdlg.h:66
BOOL APIENTRY RasMonitorDlgW(LPWSTR, LPRASMONITORDLG)
Definition: rasdlg.c:55
struct tagRASDIALDLG RASDIALDLG
ULONG_PTR reserved
Definition: rasdlg.h:83
#define APIENTRY
Definition: api.h:79
BOOL APIENTRY RasPhonebookDlgW(LPWSTR, LPWSTR, LPRASPBDLGW)
Definition: rasdlg.c:83
WCHAR szUserName[UNLEN+1]
Definition: rasdlg.h:127