RasEditPhonebookEntry

来源:互联网 发布:lnmp php日志 编辑:程序博客网 时间:2024/05/17 01:10
DWORD RasEditPhonebookEntry(  _In_ HWND    hwnd,  _In_ LPCTSTR lpszPhonebook,  _In_ LPCTSTR lpszEntryName);

说明

[该函数在Windows Vista及以后版本中不建议使用,相同的功能被RasEntryDlg函数取代。]该函数显示一个对话框让用户编辑电话簿数据。

参数

hwnd [in]

指定对话框的父窗口。

lpszPhonebook [in]

指向一个包含完整路径的电话簿文件(PBK)。如果参数为空,则该函数使用默认的电话簿文件。默认的电话簿文件由用户在拨号网络对话框的[user preferences]属性窗口中选择。

lpszEntryName [in]

指向一个电话簿中已存在的条目名称。

返回值

成功时返回ERROR_SUCCESS。
失败时返回下列表格中的错误码之或,或是来自Routing and Remote Access Error Codes或Winerror.h中定义的错误码。

注意事项

当调用RasEntryDlg函数时,请将lpinfo参数指向的RASENTRYDLG结构除以下列出的其它成员设置值为0。
  • dwSize = sizeof(RASENTRYDLG)。
  • hwndOwner = 以上hwnd参数。

系统支持

客户端最小支持 Windows 2000专业版 服务端最小支持 Windows 2000 Server 客户端最大支持 Windows XP 服务端最大支持 Windows Server 2003 Header Ras.h Library Rasapi32.lib DLL Rasapi32.dll Unicode和ANSI名称 RasEditPhonebookEntryW(Unicode)和RasEditPhonebookEntryA(ANSI)
0 0