Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

121 lines
4.4 KiB

  1. typedef DWORD (WINAPI * RASENUMCONNECTIONS)
  2. (LPRASCONN lpRasConn, LPDWORD lpcb, LPDWORD lpcConnections);
  3. extern RASENUMCONNECTIONS lpfnRasEnumConnections;
  4. typedef DWORD (WINAPI * RASHANGUP)
  5. (HRASCONN hRasConn);
  6. extern RASHANGUP lpfnRasHangUp;
  7. typedef DWORD (WINAPI * RASGETENTRYDIALPARAMS)
  8. (LPTSTR, LPRASDIALPARAMS, LPBOOL );
  9. extern RASGETENTRYDIALPARAMS lpfnRasGetEntryDialParams;
  10. typedef DWORD (WINAPI * RASSETENTRYDIALPARAMS)
  11. (LPTSTR, LPRASDIALPARAMS, BOOL);
  12. extern RASSETENTRYDIALPARAMS lpfnRasSetEntryDialParams;
  13. typedef DWORD (WINAPI * RASDIAL)
  14. (LPRASDIALEXTENSIONS, LPTSTR, LPRASDIALPARAMS, DWORD, LPVOID, LPHRASCONN );
  15. extern RASDIAL lpfnRasDial;
  16. typedef DWORD (WINAPI * RASGETCONECTSTATUS)
  17. (HRASCONN, LPRASCONNSTATUS );
  18. extern RASGETCONECTSTATUS lpfnRasGetConnectStatus;
  19. typedef DWORD (WINAPI * RASGETERRORSTRING)
  20. ( UINT, LPTSTR, DWORD );
  21. extern RASGETERRORSTRING lpfnRasGetErrorString;
  22. typedef DWORD (WINAPI * RASVALIDATEENTRYNAME)
  23. (LPTSTR lpszPhonebook, LPTSTR szEntry);
  24. extern RASVALIDATEENTRYNAME lpfnRasValidateEntryName;
  25. typedef DWORD (WINAPI * RASRENAMEENTRY)
  26. (LPTSTR lpszPhonebook, LPTSTR szEntryOld, LPTSTR szEntryNew);
  27. extern RASRENAMEENTRY lpfnRasRenameEntry;
  28. typedef DWORD (WINAPI * RASDELETEENTRY)
  29. (LPTSTR lpszPhonebook, LPTSTR szEntry);
  30. extern RASDELETEENTRY lpfnRasDeleteEntry;
  31. typedef DWORD (WINAPI * RASGETENTRYPROPERTIES)
  32. (LPTSTR lpszPhonebook, LPTSTR szEntry, LPBYTE lpbEntry,
  33. LPDWORD lpdwEntrySize, LPBYTE lpb, LPDWORD lpdwSize);
  34. extern RASGETENTRYPROPERTIES lpfnRasGetEntryProperties;
  35. typedef DWORD (WINAPI * RASSETENTRYPROPERTIES)
  36. (LPTSTR lpszPhonebook, LPTSTR szEntry, LPBYTE lpbEntry,
  37. DWORD dwEntrySize, LPBYTE lpb, DWORD dwSize);
  38. extern RASSETENTRYPROPERTIES lpfnRasSetEntryProperties;
  39. typedef DWORD (WINAPI * RASGETCOUNTRYINFO)
  40. (LPRASCTRYINFO lpCtryInfo, LPDWORD lpdwSize);
  41. extern RASGETCOUNTRYINFO lpfnRasGetCountryInfo;
  42. typedef DWORD (WINAPI * RASENUMDEVICES)
  43. (LPRASDEVINFO lpBuff, LPDWORD lpcbSize, LPDWORD lpcDevices);
  44. extern RASENUMDEVICES lpfnRasEnumDevices;
  45. #if !defined(WIN16)
  46. typedef DWORD (WINAPI * RASSETAUTODIALENABLE)
  47. (DWORD dwDialingLocation, BOOL fEnabled);
  48. extern RASSETAUTODIALENABLE lpfnRasSetAutodialEnable;
  49. typedef DWORD (WINAPI * RASSETAUTODIALADDRESS)
  50. (LPTSTR lpszAddress,DWORD dwReserved,LPRASAUTODIALENTRY lpAutoDialEntries,
  51. DWORD dwcbAutoDialEntries,DWORD dwcAutoDialEntries);
  52. extern RASSETAUTODIALADDRESS lpfnRasSetAutodialAddress;
  53. #endif
  54. typedef DWORD (WINAPI *INETCONFIGSYSTEM)
  55. (HWND hwndParent, DWORD dwfOptions, LPBOOL lpfNeedsRestart);
  56. extern INETCONFIGSYSTEM lpfnInetConfigSystem;
  57. typedef DWORD (WINAPI *INETCONFIGCLIENT)
  58. (HWND hwndParent, LPCTSTR lpszPhoneBook,
  59. LPCTSTR lpszEntryName, LPRASENTRY lpRasEntry,
  60. LPCTSTR lpszUserName, LPCTSTR lpszPassword,
  61. LPCTSTR lpszProfile, LPINETCLIENTINFO lpClientInfo,
  62. DWORD dwfOptions, LPBOOL lpfNeedsRestart);
  63. extern INETCONFIGCLIENT lpfnInetConfigClient;
  64. typedef DWORD (WINAPI *INETGETAUTODIAL)
  65. (LPBOOL lpfEnable, LPCTSTR lpszEntryName, DWORD cbEntryNameSize);
  66. extern INETGETAUTODIAL lpfnInetGetAutodial;
  67. typedef DWORD (WINAPI *INETSETAUTODIAL)
  68. (BOOL fEnable, LPCTSTR lpszEntryName);
  69. extern INETSETAUTODIAL lpfnInetSetAutodial;
  70. typedef DWORD (WINAPI *INETGETCLIENTINFO)
  71. (LPCTSTR lpszProfile, LPINETCLIENTINFO lpClientInfo);
  72. extern INETGETCLIENTINFO lpfnInetGetClientInfo;
  73. typedef DWORD (WINAPI *INETSETCLIENTINFO)
  74. (LPCTSTR lpszProfile, LPINETCLIENTINFO lpClientInfo);
  75. extern INETSETCLIENTINFO lpfnInetSetClientInfo;
  76. typedef DWORD (WINAPI *INETGETPROXY)
  77. (LPBOOL lpfEnable, LPCTSTR lpszServer, DWORD cbServer,
  78. LPCTSTR lpszOverride, DWORD cbOverride);
  79. extern INETGETPROXY lpfnInetGetProxy;
  80. typedef DWORD (WINAPI *INETSETPROXY)
  81. (BOOL fEnable, LPCTSTR lpszServer, LPCTSTR lpszOverride);
  82. extern INETSETPROXY lpfnInetSetProxy;
  83. typedef BOOL (WINAPI *BRANDME)
  84. (LPCTSTR pszIns, LPCTSTR pszPath);
  85. extern BRANDME lpfnBrandMe;
  86. typedef BOOL (WINAPI *BRANDICW)
  87. (LPCSTR pszIns, LPCSTR pszPath, DWORD dwFlags, LPCSTR pszConnectoid);
  88. extern BRANDICW lpfnBrandICW;
  89. extern BOOL LoadRnaFunctions(HWND hwndParent);
  90. extern BOOL LoadInetFunctions(HWND hwndParent);
  91. extern BOOL LoadBrandingFunctions(void);
  92. extern void UnloadRnaFunctions(void);
  93. extern void UnloadInetFunctions(void);
  94. extern void UnloadBrandingFunctions(void);