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.

51 lines
936 B

  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. LPWSTR pszWirelessPolicyDescription,
  13. LPWSTR pszWirelessPolicyID
  14. );
  15. DWORD
  16. DeleteWirelessPolicyFromRegistry(
  17. );
  18. DWORD
  19. WriteWirelessPolicyToRegistry(
  20. LPWSTR pszWirelessPolicyPath,
  21. LPWSTR pszWirelessPolicyName,
  22. LPWSTR pszWirelessPolicyDescription,
  23. LPWSTR pszWirelessPolicyID
  24. );
  25. HRESULT
  26. RegisterWireless(void);
  27. HRESULT
  28. UnregisterWireless(void);
  29. VOID
  30. PingWirelessPolicyAgent(
  31. );
  32. #define BAIL_ON_FAILURE(hr) \
  33. if (FAILED(hr)) { \
  34. goto error; \
  35. }
  36. #define BAIL_ON_WIN32_ERROR(dwError) \
  37. if (dwError) { \
  38. goto error; \
  39. }