4 #pragma GCC system_header
13 #define RASPBDEVENT_AddEntry 1
14 #define RASPBDEVENT_EditEntry 2
15 #define RASPBDEVENT_RemoveEntry 3
16 #define RASPBDEVENT_DialEntry 4
17 #define RASPBDEVENT_EditGlobals 5
18 #define RASPBDEVENT_NoUser 6
19 #define RASPBDEVENT_NoUserEdit 7
21 #define RASPBDFLAG_PositionDlg 1
22 #define RASPBDFLAG_ForceCloseOnDial 2
23 #define RASPBDFLAG_NoUser 16
25 #define RASEDFLAG_PositionDlg 1
26 #define RASEDFLAG_NewEntry 2
27 #define RASEDFLAG_CloneEntry 4
29 #define RASDDFLAG_PositionDlg 1
34 typedef struct tagRASENTRYDLGA
41 CHAR szEntry
[RAS_MaxEntryName
+ 1];
45 } RASENTRYDLGA
, *LPRASENTRYDLGA
;
46 typedef struct tagRASENTRYDLGW
53 WCHAR szEntry
[RAS_MaxEntryName
+ 1];
57 } RASENTRYDLGW
, *LPRASENTRYDLGW
;
59 typedef struct tagRASDIALDLG
70 } RASDIALDLG
, *LPRASDIALDLG
;
72 /* Application-defined callback functions */
73 typedef VOID (WINAPI
* RASPBDLGFUNCW
)(DWORD
, DWORD
, LPWSTR
, LPVOID
);
74 typedef VOID (WINAPI
* RASPBDLGFUNCA
)(DWORD
, DWORD
, LPSTR
, LPVOID
);
76 typedef struct tagRASPBDLGA
83 ULONG_PTR dwCallbackId
;
84 RASPBDLGFUNCA pCallback
;
88 } RASPBDLGA
, *LPRASPBDLGA
;
89 typedef struct tagRASPBDLGW
96 ULONG_PTR dwCallbackId
;
97 RASPBDLGFUNCW pCallback
;
101 } RASPBDLGW
, *LPRASPBDLGW
;
103 typedef struct tagRASNOUSERA
108 CHAR szUserName
[UNLEN
+ 1];
109 CHAR szPassword
[PWLEN
+ 1];
110 CHAR szDomain
[DNLEN
+ 1];
111 } RASNOUSERA
, *LPRASNOUSERA
;
112 typedef struct tagRASNOUSERW
117 WCHAR szUserName
[UNLEN
+ 1];
118 WCHAR szPassword
[PWLEN
+ 1];
119 WCHAR szDomain
[DNLEN
+ 1];
120 } RASNOUSERW
, *LPRASNOUSERW
;
124 BOOL APIENTRY
RasDialDlgA(LPSTR
,LPSTR
,LPSTR
,LPRASDIALDLG
);
125 BOOL APIENTRY
RasDialDlgW(LPWSTR
,LPWSTR
,LPWSTR
,LPRASDIALDLG
);
126 BOOL APIENTRY
RasEntryDlgA(LPSTR
,LPSTR
,LPRASENTRYDLGA
);
127 BOOL APIENTRY
RasEntryDlgW(LPWSTR
,LPWSTR
,LPRASENTRYDLGW
);
128 BOOL APIENTRY
RasPhonebookDlgA(LPSTR
,LPSTR
,LPRASPBDLGA
);
129 BOOL APIENTRY
RasPhonebookDlgW(LPWSTR
,LPWSTR
,LPRASPBDLGW
);
132 typedef RASENTRYDLGW RASENTRYDLG
, *LPRASENTRYDLG
;
133 typedef RASPBDLGW RASPBDLG
, *LPRASPBDLG
;
134 typedef RASNOUSERW RASNOUSER
, *LPRASNOUSER
;
135 #define RasDialDlg RasDialDlgW
136 #define RasEntryDlg RasEntryDlgW
137 #define RasPhonebookDlg RasPhonebookDlgW
139 typedef RASENTRYDLGA RASENTRYDLG
, *LPRASENTRYDLG
;
140 typedef RASPBDLGA RASPBDLG
, *LPRASPBDLG
;
141 typedef RASNOUSERA RASNOUSER
, *LPRASNOUSER
;
142 #define RasDialDlg RasDialDlgA
143 #define RasEntryDlg RasEntryDlgA
144 #define RasPhonebookDlg RasPhonebookDlgA
147 #endif /* RC_INVOKED */