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.

57 lines
1.7 KiB

  1. /*
  2. - common.h
  3. -
  4. * Microsoft Internet Phone
  5. * Definitions that are common across the product
  6. *
  7. * Revision History:
  8. *
  9. * When Who What
  10. * -------- ------------------ ---------------------------------------
  11. * 11.20.95 Yoram Yaacovi Created
  12. */
  13. #ifndef _COMMON_H
  14. #define _COMMON_H
  15. #include <windows.h>
  16. #include <pshpack8.h> /* Assume 8 byte packing throughout */
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. //
  21. // H.221 identification codes used by call control and nonstandard capability exchange
  22. //
  23. #define USA_H221_COUNTRY_CODE 0xB5
  24. #define USA_H221_COUNTRY_EXTENSION 0x00
  25. #define MICROSOFT_H_221_MFG_CODE 0x534C //("first" byte 0x53, "second" byte 0x4C)
  26. //Common Bandwidth declarations
  27. // !!! The QoS will decrease these numbers by the LeaveUnused value.
  28. // This value is currently hardcoded to be 30%
  29. #define BW_144KBS_BITS 14400 // QoS 30% markdown leads to a max bw usage of 10080 bits/second
  30. #define BW_288KBS_BITS 28800 // QoS 30% markdown leads to a max bw usage of 20160 bits/second
  31. #define BW_ISDN_BITS 85000 // QoS 30% markdown leads to a max bw usage of 59500 bits/second
  32. // LAN BANDWIDTH for slow pentiums
  33. #define BW_SLOWLAN_BITS 621700 // QoS 30% markdown leads to a max bw usage of 435190 bits/second
  34. // Pentiums faster than 400mhz can have this LAN setting
  35. #define BW_FASTLAN_BITS 825000 // QoS 30% markdown leads to a max bw usage of 577500 bits/second
  36. // For use as dimension for variable size arrays
  37. #define VARIABLE_DIM 1
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41. #include <poppack.h> /* End byte packing */
  42. #endif //#ifndef _COMMON_H