The RASPBDLG structure is used with the RasPhonebookDlg function to specify additional input and output parameters.
typedef struct tagRASPBDLG { IN DWORD dwSize; IN HWND hwndOwner; IN DWORD dwFlags; IN LONG xDlg; IN LONG yDlg; IN DWORD dwCallbackId; IN RASPBDLGFUNC pCallback; OUT DWORD dwError; IN DWORD reserved; IN DWORD reserved2; } RASPBDLG;
Value |
Meaning |
RASPBDFLAG_PositionDlg |
Causes RasPhonebookDlg to use the values specified by the xDlg and yDlg members to position the dialog box. If this flag is not set, the dialog box is centered on the owner window, unless hwndOwner is NULL, in which case, the dialog box is centered on the screen. |
RASPBDFLAG_ForceCloseOnDial |
Turns on the close-on-dial option, overriding the user’s preference. This option is appropriate with features such as RAS AutoDial where the user’s goal is to make a connection immediately. |
RASPBDFLAG_NoUser |
Causes the RasPBDlgFunc callback function specified by the pCallback member to receive a RASPBDEVENT_NoUser notification when the dialog box is starting up. This flag is for use in situations in which there is no logged-on user, as in the WinLogon application. Typically, applications should not use this flag. |
RASPBDFLAG_UpdateDefaults |
Causes the default window position to be saved on exit. This flag is used primarily by RASPHONE.EXE and should not be used by typical applications. |