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.

49 lines
1.7 KiB

  1. #ifndef _PHBKEX
  2. #define _PHBKEX
  3. #define TYPE_SIGNUP_ANY 0x82
  4. #define TYPE_SIGNUP_TOLLFREE 0x83
  5. #define TYPE_SIGNUP_TOLL 0x82
  6. #define TYPE_REGULAR_USAGE 0x42
  7. #define MASK_SIGNUP_ANY 0xB2
  8. #define MASK_SIGNUP_TOLLFREE 0xB3
  9. #define MASK_SIGNUP_TOLL 0xB3
  10. #define MASK_REGULAR_USAGE 0x73
  11. #define cbAreaCode 6 // maximum number of characters in an area code, not including \0
  12. #define cbCity 19 // maximum number of chars in city name, not including \0
  13. #define cbAccessNumber 15 // maximum number of chars in phone number, not including \0
  14. #define cbStateName 31 // maximum number of chars in state name, not including \0
  15. // check this against state.pbk delivered by mktg
  16. #define cbBaudRate 6 // maximum number of chars in a baud rate, not including \0
  17. #define cbDataCenter 12 // max length of data center string
  18. typedef struct
  19. {
  20. DWORD dwIndex; // index number
  21. BYTE bFlipFactor; // for auto-pick
  22. BYTE fType; // phone number type
  23. WORD wStateID; // state ID
  24. DWORD dwCountryID; // TAPI country ID
  25. DWORD dwAreaCode; // area code or NO_AREA_CODE if none
  26. DWORD dwConnectSpeedMin; // minimum baud rate
  27. DWORD dwConnectSpeedMax; // maximum baud rate
  28. char szCity[cbCity + sizeof('\0')]; // city name
  29. char szAccessNumber[cbAccessNumber + sizeof('\0')]; // access number
  30. char szDataCenter[cbDataCenter + sizeof('\0')]; // data center access string
  31. char szAreaCode[cbAreaCode + sizeof('\0')]; //Keep the actual area code string around.
  32. } ACCESSENTRY, FAR *PACCESSENTRY; // ae
  33. typedef struct tagSUGGESTIONINFO
  34. {
  35. DWORD dwCountryID;
  36. DWORD wAreaCode;
  37. DWORD wExchange;
  38. WORD wNumber;
  39. BYTE fType;
  40. BYTE bMask;
  41. PACCESSENTRY *rgpAccessEntry;
  42. } SUGGESTINFO,FAR *PSUGGESTINFO;
  43. #endif _PHBKEX