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.

155 lines
2.5 KiB

  1. #ifdef __cplusplus
  2. extern "C" {
  3. #endif
  4. enum STORAGE_LOCATION {
  5. LOCATION_LOCAL=0,
  6. LOCATION_REMOTE,
  7. LOCATION_GLOBAL,
  8. LOCATION_CACHE,
  9. LOCATION_FILE,
  10. LOCATION_WMI,
  11. };
  12. #include <wbemidl.h>
  13. #include <wlrsop.h>
  14. #include <wldefs.h>
  15. #include <wlstructs.h>
  16. DWORD
  17. WirelessEnumPolicyData(
  18. HANDLE hPolicyStore,
  19. PWIRELESS_POLICY_DATA ** pppWirelessPolicyData,
  20. PDWORD pdwNumPolicyObjects
  21. );
  22. DWORD
  23. WirelessSetPolicyData(
  24. HANDLE hPolicyStore,
  25. PWIRELESS_POLICY_DATA pWirelessPolicyData
  26. );
  27. DWORD
  28. WirelessCreatePolicyData(
  29. HANDLE hPolicyStore,
  30. PWIRELESS_POLICY_DATA pWirelessPolicyData
  31. );
  32. DWORD
  33. WirelessDeletePolicyData(
  34. HANDLE hPolicyStore,
  35. PWIRELESS_POLICY_DATA pWirelessPolicyData
  36. );
  37. DWORD
  38. WirelessOpenPolicyStore(
  39. LPWSTR pszMachineName,
  40. DWORD dwTypeOfStore,
  41. LPWSTR pszFileName,
  42. HANDLE * phPolicyStore
  43. );
  44. DWORD
  45. WirelessGPOOpenPolicyStore(
  46. LPWSTR pszMachineName,
  47. DWORD dwTypeOfStore,
  48. LPWSTR pszDSGPOName,
  49. LPWSTR pszFileName,
  50. HANDLE * phPolicyStore
  51. );
  52. DWORD
  53. WMIOpenPolicyStore(
  54. LPWSTR pszMachineName,
  55. HANDLE * phPolicyStore
  56. );
  57. DWORD
  58. DirOpenPolicyStore(
  59. LPWSTR pszMachineName,
  60. HANDLE * phPolicyStore
  61. );
  62. DWORD
  63. DirGPOOpenPolicyStore(
  64. LPWSTR pszMachineName,
  65. LPWSTR pszGPOName,
  66. HANDLE * phPolicyStore
  67. );
  68. DWORD
  69. WirelessClosePolicyStore(
  70. HANDLE hPolicyStore
  71. );
  72. DWORD
  73. ComputeGPODirLocationName(
  74. LPWSTR pszDirDomainName,
  75. LPWSTR * ppszDirFQPathName
  76. );
  77. DWORD
  78. WirelessRemovePSFromPolicy(
  79. PWIRELESS_POLICY_DATA pWirelessPolicyData,
  80. LPCWSTR pszSSID
  81. );
  82. DWORD
  83. WirelessRemovePSFromPolicyId(
  84. PWIRELESS_POLICY_DATA pWirelessPolicyData,
  85. DWORD dwId
  86. );
  87. DWORD
  88. WirelessAddPSToPolicy(
  89. PWIRELESS_POLICY_DATA pWirelessPolicyData,
  90. PWIRELESS_PS_DATA pWirelessPSData
  91. );
  92. DWORD
  93. WirelessSetPSDataInPolicy(
  94. PWIRELESS_POLICY_DATA pWirelessPolicyData,
  95. PWIRELESS_PS_DATA pWirelessPSData
  96. );
  97. void
  98. WirelessPolicyPSId(
  99. PWIRELESS_POLICY_DATA pWirelessPolicyData,
  100. LPCWSTR pszSSID,
  101. DWORD *dwId
  102. );
  103. void
  104. UpdateWirelessPSData(
  105. PWIRELESS_PS_DATA pWirelessPSData
  106. );
  107. DWORD
  108. WirelessSetPSDataInPolicyId(
  109. PWIRELESS_POLICY_DATA pWirelessPolicyData,
  110. PWIRELESS_PS_DATA pWirelessPSData
  111. );
  112. #ifdef __cplusplus
  113. }
  114. #endif