Platform SDK: RAS/Routing and RAS |
The RasCustomEntryDlg function is an application-defined function that is exported by a third-party custom-dialing DLL. This function allows third-party vendors to implement custom dialogs for managing phone-book entries.
BOOL (WINAPI * RasCustomEntryDlg) ( HINSTANCE hInstDll, // handle to DLL instance LPTSTR lpszPhonebook, // pointer to the full path and // file name of the phone-book file LPTSTR lpszEntry, // pointer to the name of the // phone-book entry to edit, // copy, or create LPRASENTRYDLG lpInfo // pointer to a structure that // contains additional parameters );
If you are editing or copying an entry, this parameter is the name of an existing phone-book entry. If you are copying an entry, set the RASEDFLAG_CloneEntry flag in the dwFlags member of the RASENTRYDLG structure.
If you are creating an entry, this parameter is a default new entry name that the user can change. If this parameter is NULL, the function provides a default name. If you are creating an entry, set the RASEDFLAG_NewEntry flag in the dwFlags member of the RASENTRYDLG structure.
If the user creates, copies, or edits a phone-book entry, the return value should be a nonzero value.
If an error occurs, or if the user cancels the operation, the return value should be zero. If an error occurs, the RasCustomEntryDlg should set the dwError member of the RASENTRYDLG structure to a nonzero system error code or a RAS error code from Raserror.h.
RAS will call this entry point from RasEntryDlg, if the szCustomDialDll member of the RASENTRY structure for the entry being dialed specifies a custom-dialing DLL.
If the custom-dial DLL does not support this entry point, RAS returns ERROR_NO_CUSTOMENTRYDLG to the caller of RasEntryDlg.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Rasdlg.h.
Unicode: Declared as Unicode and ANSI prototypes.
Remote Access Service (RAS) Overview, Remote Access Service Functions, RasCustomDial, RasCustomDialDlg, RasCustomHangUp, RasEntryDlg, RASENTRY