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.

33 lines
747 B

  1. #define BAIL_ON_WIN32_ERROR(dwError) \
  2. if (dwError) {\
  3. goto error; \
  4. }
  5. #define BAIL_ON_HRESULT_ERROR(hr) \
  6. if (FAILED(hr)) {\
  7. goto error; \
  8. }
  9. #define BAIL_ON_WMI_ERROR_WITH_WIN32(hr, dwError) \
  10. { \
  11. dwError = Win32FromWmiHresult(hr); \
  12. if (dwError) { \
  13. goto error; \
  14. } \
  15. }
  16. typedef struct _WIRELESS_POLICY_OBJECT{
  17. LPWSTR pszWirelessOwnersReference;
  18. LPWSTR pszOldWirelessOwnersReferenceName;
  19. LPWSTR pszWirelessName;
  20. LPWSTR pszWirelessID;
  21. DWORD dwWirelessDataType;
  22. LPBYTE pWirelessData;
  23. DWORD dwWirelessDataLen;
  24. DWORD dwWhenChanged;
  25. LPWSTR pszDescription;
  26. PRSOP_INFO pRsopInfo;
  27. }WIRELESS_POLICY_OBJECT, *PWIRELESS_POLICY_OBJECT;