windows-nt/Source/XPSP1/NT/net/config/shell/dun/dunimport.h
2020-09-26 16:20:57 +08:00

39 lines
1.1 KiB
C

#pragma once
#include "ncstring.h"
#include "ras.h"
HRESULT HrInvokeDunFile_Internal(IN LPWSTR szDunFile);
HRESULT HrGetPhoneBookFile(tstring& strPhoneBook);
HRESULT HrGetEntryName(IN LPWSTR szDunFile,
IN LPWSTR szEntryName,
tstring & strPhoneBook);
HRESULT HrImportPhoneBookInfo( IN LPWSTR szDunFile,
IN LPWSTR szEntryName,
tstring & strPhoneBook);
HRESULT HrImportPhoneInfo(RASENTRY * pRasEntry,
IN LPWSTR szDunFile);
VOID ImportDeviceInfo(RASENTRY * pRasEntry,
IN LPWSTR szDunFile);
VOID ImportServerInfo(RASENTRY * pRasEntry,
IN LPWSTR szDunFile);
VOID ImportIPInfo(RASENTRY * pRasEntry,
IN LPWSTR szDunFile);
VOID ImportScriptFileName(RASENTRY * pRasEntry,
IN LPWSTR szDunFile);
VOID SzToRasIpAddr(IN LPWSTR szIPAddr,
OUT RASIPADDR * pIpAddr);
HRESULT HrImportMLInfo( IN LPWSTR szDunFile,
IN LPWSTR szEntryName,
tstring & pRasIpAddr);