mike_marquet
asked on
Creating phone book entry in RAS
Hi,
How can I create a new phone book entry without displaying the dialob box that
make this possible.
The function 'RasCreatePhonebookEntry' displays a dialog box in which the user types information
for the phone book entry. But I want to create one without this dialog box.
I samply want to create a default one.
It must works under win95 at WinNT4.
Thanks,
Mike
How can I create a new phone book entry without displaying the dialob box that
make this possible.
The function 'RasCreatePhonebookEntry' displays a dialog box in which the user types information
for the phone book entry. But I want to create one without this dialog box.
I samply want to create a default one.
It must works under win95 at WinNT4.
Thanks,
Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm soyyr, I can't help you, I've never used it myself..
ASKER
ERROR_INVALID_PARAMETER. Why ?
Source code :
------------------
void MyApp::OnMenu_SetDefaultEn
{
if (RasValidateEntryName(NULL
RASENTRY stRasEntry = {0};
DWORD dwSize, dwError;
dwSize = stRasEntry.dwSize = sizeof(RASENTRY);
dwError = RasSetEntryProperties(NULL
if (dwError)
AfxMessageBox("ERROR");
}