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.

46 lines
1.3 KiB

  1. #include "PrmDescr.h"
  2. #pragma once
  3. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. // MEMORY ALLOCATION UTILITIES (defines, structs, funcs)
  5. #define MemCAlloc(nBytes) Process_user_allocate(nBytes)
  6. #define MemFree(pMem) Process_user_free(pMem)
  7. PVOID
  8. Process_user_allocate(size_t NumBytes);
  9. VOID
  10. Process_user_free(LPVOID pMem);
  11. // global variables
  12. extern OSVERSIONINFOEX g_verInfoEx;
  13. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  14. // UTILITIES (defines, structs, funcs)
  15. //-----------------------------------------------------------
  16. // True if the utility runs on XP RTM (non svc pack, bld 2600)
  17. BOOL IsXPRTM();
  18. // Translates current WZC control flags to values from legacy OS versions
  19. // Returns the Os dependant flag value
  20. DWORD _Os(DWORD dwApiCtl);
  21. // WzcConfigHit: tells weather the WZC_WLAN_CONFIG matches the criteria in pPDData
  22. BOOL
  23. WzcConfigHit(
  24. PPARAM_DESCR_DATA pPDData,
  25. PWZC_WLAN_CONFIG pwzcConfig);
  26. // WzcFilterList: Filter the wzc list according to the settings in pPDData
  27. DWORD
  28. WzcFilterList(
  29. BOOL bInclude,
  30. PPARAM_DESCR_DATA pPDData,
  31. PWZC_802_11_CONFIG_LIST pwzcList);
  32. // WzcDisableOneX: Make sure 802.1x is disabled for the SSID in pPDData
  33. DWORD
  34. WzcSetOneX(
  35. PPARAM_DESCR_DATA pPDData,
  36. BOOL bEnableOneX);