ReactOS 0.4.15-dev-8145-ga541a46
rasdlg.h
Go to the documentation of this file.
1#ifndef _RASDLG_H_
2#define _RASDLG_H_
3#ifdef __cplusplus
4extern "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
31typedef struct tagRASENTRYDLGA
32{
43typedef struct tagRASENTRYDLGW
44{
55
56typedef struct tagRASDIALDLG
57{
68
69/* Application-defined callback functions */
72
73typedef struct tagRASPBDLGA
74{
86typedef struct tagRASPBDLGW
87{
99
100typedef struct tagRASMONITORDLG
101{
112
113typedef struct tagRASNOUSERA
114{
122typedef struct tagRASNOUSERW
123{
131
132#include <poppack.h>
133
140#if (WINVER <= 0x500)
143#endif /*(WINVER <= 0x500)*/
144
145#ifdef UNICODE
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
#define VOID
Definition: acefi.h:82
#define APIENTRY
Definition: api.h:79
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DNLEN
Definition: lmcons.h:16
#define PWLEN
Definition: lmcons.h:37
#define DWORD
Definition: nt_native.h:44
#define LPVOID
Definition: nt_native.h:45
long LONG
Definition: pedump.c:60
#define RAS_MaxEntryName
Definition: ras.h:26
struct tagRASNOUSERW RASNOUSERW
BOOL APIENTRY RasEntryDlgA(LPSTR, LPSTR, LPRASENTRYDLGA)
Definition: rasdlg.c:62
struct tagRASENTRYDLGA * LPRASENTRYDLGA
struct tagRASDIALDLG * LPRASDIALDLG
struct tagRASNOUSERW * LPRASNOUSERW
RASENTRYDLGA RASENTRYDLG
Definition: rasdlg.h:156
RASPBDLGA * LPRASPBDLG
Definition: rasdlg.h:157
struct tagRASPBDLGW * LPRASPBDLGW
struct tagRASENTRYDLGW RASENTRYDLGW
struct tagRASNOUSERA RASNOUSERA
struct tagRASENTRYDLGA RASENTRYDLGA
struct tagRASPBDLGW RASPBDLGW
struct tagRASNOUSERA * LPRASNOUSERA
BOOL APIENTRY RasPhonebookDlgA(LPSTR, LPSTR, LPRASPBDLGA)
Definition: rasdlg.c:76
struct tagRASPBDLGA * LPRASPBDLGA
VOID(WINAPI * RASPBDLGFUNCA)(DWORD, DWORD, LPSTR, LPVOID)
Definition: rasdlg.h:71
BOOL APIENTRY RasDialDlgW(LPWSTR, LPWSTR, LPWSTR, LPRASDIALDLG)
Definition: rasdlg.c:41
BOOL APIENTRY RasPhonebookDlgW(LPWSTR, LPWSTR, LPRASPBDLGW)
Definition: rasdlg.c:83
struct tagRASMONITORDLG RASMONITORDLG
RASNOUSERA RASNOUSER
Definition: rasdlg.h:158
struct tagRASENTRYDLGW * LPRASENTRYDLGW
RASNOUSERA * LPRASNOUSER
Definition: rasdlg.h:158
BOOL APIENTRY RasEntryDlgW(LPWSTR, LPWSTR, LPRASENTRYDLGW)
Definition: rasdlg.c:69
struct tagRASDIALDLG RASDIALDLG
RASENTRYDLGA * LPRASENTRYDLG
Definition: rasdlg.h:156
VOID(WINAPI * RASPBDLGFUNCW)(DWORD, DWORD, LPWSTR, LPVOID)
Definition: rasdlg.h:70
struct tagRASMONITORDLG * LPRASMONITORDLG
struct tagRASPBDLGA RASPBDLGA
RASPBDLGA RASPBDLG
Definition: rasdlg.h:157
BOOL APIENTRY RasDialDlgA(LPSTR, LPSTR, LPSTR, LPRASDIALDLG)
Definition: rasdlg.c:34
BOOL APIENTRY RasMonitorDlgW(LPWSTR, LPRASMONITORDLG)
Definition: rasdlg.c:55
BOOL APIENTRY RasMonitorDlgA(LPSTR, LPRASMONITORDLG)
Definition: rasdlg.c:48
#define UNLEN
Definition: sspi.c:28
LONG xDlg
Definition: rasdlg.h:61
DWORD dwSize
Definition: rasdlg.h:58
ULONG_PTR reserved
Definition: rasdlg.h:65
HWND hwndOwner
Definition: rasdlg.h:59
ULONG_PTR reserved2
Definition: rasdlg.h:66
LONG yDlg
Definition: rasdlg.h:62
DWORD dwSubEntry
Definition: rasdlg.h:63
DWORD dwError
Definition: rasdlg.h:64
DWORD dwFlags
Definition: rasdlg.h:60
DWORD dwFlags
Definition: rasdlg.h:35
DWORD dwSize
Definition: rasdlg.h:33
CHAR szEntry[RAS_MaxEntryName+1]
Definition: rasdlg.h:38
ULONG_PTR reserved2
Definition: rasdlg.h:41
ULONG_PTR reserved
Definition: rasdlg.h:40
HWND hwndOwner
Definition: rasdlg.h:34
DWORD dwError
Definition: rasdlg.h:39
DWORD dwFlags
Definition: rasdlg.h:47
DWORD dwSize
Definition: rasdlg.h:45
HWND hwndOwner
Definition: rasdlg.h:46
DWORD dwError
Definition: rasdlg.h:51
ULONG_PTR reserved2
Definition: rasdlg.h:53
WCHAR szEntry[RAS_MaxEntryName+1]
Definition: rasdlg.h:50
ULONG_PTR reserved
Definition: rasdlg.h:52
ULONG_PTR reserved2
Definition: rasdlg.h:110
ULONG_PTR reserved
Definition: rasdlg.h:109
DWORD dwSize
Definition: rasdlg.h:102
DWORD dwFlags
Definition: rasdlg.h:104
HWND hwndOwner
Definition: rasdlg.h:103
DWORD dwStartPage
Definition: rasdlg.h:105
OUT DWORD dwError
Definition: rasdlg.h:108
DWORD dwSize
Definition: rasdlg.h:115
CHAR szUserName[UNLEN+1]
Definition: rasdlg.h:118
DWORD dwTimeoutMs
Definition: rasdlg.h:117
CHAR szPassword[PWLEN+1]
Definition: rasdlg.h:119
CHAR szDomain[DNLEN+1]
Definition: rasdlg.h:120
DWORD dwFlags
Definition: rasdlg.h:116
DWORD dwTimeoutMs
Definition: rasdlg.h:126
WCHAR szPassword[PWLEN+1]
Definition: rasdlg.h:128
DWORD dwSize
Definition: rasdlg.h:124
DWORD dwFlags
Definition: rasdlg.h:125
WCHAR szDomain[DNLEN+1]
Definition: rasdlg.h:129
WCHAR szUserName[UNLEN+1]
Definition: rasdlg.h:127
ULONG_PTR reserved2
Definition: rasdlg.h:84
RASPBDLGFUNCA pCallback
Definition: rasdlg.h:81
DWORD dwFlags
Definition: rasdlg.h:77
ULONG_PTR reserved
Definition: rasdlg.h:83
LONG yDlg
Definition: rasdlg.h:79
ULONG_PTR dwCallbackId
Definition: rasdlg.h:80
DWORD dwError
Definition: rasdlg.h:82
LONG xDlg
Definition: rasdlg.h:78
HWND hwndOwner
Definition: rasdlg.h:76
DWORD dwSize
Definition: rasdlg.h:75
DWORD dwFlags
Definition: rasdlg.h:90
DWORD dwError
Definition: rasdlg.h:95
HWND hwndOwner
Definition: rasdlg.h:89
DWORD dwSize
Definition: rasdlg.h:88
LONG xDlg
Definition: rasdlg.h:91
ULONG_PTR reserved2
Definition: rasdlg.h:97
RASPBDLGFUNCW pCallback
Definition: rasdlg.h:94
ULONG_PTR reserved
Definition: rasdlg.h:96
ULONG_PTR dwCallbackId
Definition: rasdlg.h:93
LONG yDlg
Definition: rasdlg.h:92
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define OUT
Definition: typedefs.h:40
#define WINAPI
Definition: msvc.h:6
char * LPSTR
Definition: xmlstorage.h:182
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
char CHAR
Definition: xmlstorage.h:175