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.

77 lines
1.4 KiB

  1. HRESULT
  2. CreateWirelessChildPath(
  3. LPWSTR pszParentPath,
  4. LPWSTR pszChildComponent,
  5. BSTR * ppszChildPath
  6. );
  7. HRESULT
  8. RetrieveWirelessPolicyFromDS(
  9. PGROUP_POLICY_OBJECT pGPOInfo,
  10. LPWSTR *ppszWirelessPolicy,
  11. LPWSTR pszWirelessPolicyName,
  12. DWORD dwWirelessPolicyNameLen,
  13. LPWSTR pszWirelessPolicyDescription,
  14. DWORD dwWirelessPolicyDescLen,
  15. LPWSTR pszWirelessPolicyID,
  16. DWORD dwWirelessPolicyIDLen
  17. );
  18. DWORD
  19. DeleteWirelessPolicyFromRegistry(
  20. );
  21. DWORD
  22. WriteWirelessPolicyToRegistry(
  23. LPWSTR pszWirelessPolicyPath,
  24. LPWSTR pszWirelessPolicyName,
  25. LPWSTR pszWirelessPolicyDescription,
  26. LPWSTR pszWirelessPolicyID
  27. );
  28. HRESULT
  29. RegisterWireless(void);
  30. HRESULT
  31. UnregisterWireless(void);
  32. VOID
  33. PingWirelessPolicyAgent(
  34. );
  35. WCHAR *
  36. StripPrefixWireless(
  37. WCHAR *pwszPath
  38. );
  39. WCHAR *
  40. StripLinkPrefixWireless(
  41. WCHAR *pwszPath
  42. );
  43. HRESULT
  44. CreateWlstoreGPOInfo(
  45. PGROUP_POLICY_OBJECT pGPO,
  46. UINT32 uiPrecedence,
  47. UINT32 uiTotalGPOs,
  48. PGPO_INFO pGPOInfo
  49. );
  50. HRESULT
  51. FreeWlstoreGPOInfo(
  52. PGPO_INFO pGPOInfo
  53. );
  54. #define BAIL_ON_FAILURE(hr) \
  55. if (FAILED(hr)) { \
  56. goto error; \
  57. }
  58. #define BAIL_ON_WIN32_ERROR(dwError) \
  59. if (dwError) { \
  60. goto error; \
  61. }