Source code of Windows XP (NT5)
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.

46 lines
942 B

  1. #define BREAK_ON_DWERR(_e) if ((_e)) break;
  2. #define RutlDispTokenErrMsg(hModule, dwMsgId, pwszTag, pwszValue) \
  3. DisplayMessage( hModule, dwMsgId, pwszValue, pwszTag)
  4. extern WCHAR pszRemoteAccessParamStub[];
  5. extern WCHAR pszEnableIn[];
  6. extern WCHAR pszAllowNetworkAccess[];
  7. typedef
  8. DWORD
  9. (*RAS_REGKEY_ENUM_FUNC_CB)(
  10. IN LPCWSTR pszName, // sub key name
  11. IN HKEY hKey, // sub key
  12. IN HANDLE hData);
  13. DWORD
  14. RutlRegEnumKeys(
  15. IN HKEY hKey,
  16. IN RAS_REGKEY_ENUM_FUNC_CB pEnum,
  17. IN HANDLE hData);
  18. DWORD
  19. RutlRegReadDword(
  20. IN HKEY hKey,
  21. IN LPCWSTR pszValName,
  22. OUT LPDWORD lpdwValue);
  23. DWORD
  24. RutlRegReadString(
  25. IN HKEY hKey,
  26. IN LPCWSTR pszValName,
  27. OUT LPWSTR* ppszValue);
  28. DWORD
  29. RutlRegWriteDword(
  30. IN HKEY hKey,
  31. IN LPCWSTR pszValName,
  32. IN DWORD dwValue);
  33. DWORD
  34. RutlRegWriteString(
  35. IN HKEY hKey,
  36. IN LPCWSTR pszValName,
  37. IN LPCWSTR pszValue);