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.

82 lines
1.7 KiB

  1. // Copyright (c) 1996, Microsoft Corporation, all rights reserved
  2. //
  3. // phonenum.h
  4. // Phone number building library
  5. // Public header
  6. //
  7. // 03/06/96 Steve Cobb
  8. //
  9. #ifndef _PHONENUM_H_
  10. #define _PHONENUM_H_
  11. #include <pbk.h>
  12. #include <tapi.h>
  13. //----------------------------------------------------------------------------
  14. // Prototypes
  15. //----------------------------------------------------------------------------
  16. TCHAR*
  17. LinkPhoneNumberFromParts(
  18. IN HINSTANCE hInst,
  19. IN OUT HLINEAPP* pHlineapp,
  20. IN PBUSER* pUser,
  21. IN PBENTRY* pEntry,
  22. IN PBLINK* pLink,
  23. IN DWORD iPhoneNumber,
  24. IN TCHAR* pszOverrideNumber,
  25. IN BOOL fDialable );
  26. TCHAR*
  27. PhoneNumberFromParts(
  28. IN HINSTANCE hInst,
  29. IN OUT HLINEAPP* pHlineapp,
  30. IN PBUSER* pUser,
  31. IN PBPHONE* pPhone,
  32. IN BOOL fDownLevelIsdn,
  33. IN BOOL fDialable );
  34. TCHAR*
  35. PhoneNumberFromPrefixSuffix(
  36. IN TCHAR* pszBaseNumber,
  37. IN TCHAR* pszPrefix,
  38. IN TCHAR* pszSuffix );
  39. TCHAR*
  40. PhoneNumberFromPrefixSuffixEx(
  41. IN TCHAR* pszBaseNumber,
  42. IN TCHAR* pszPrefix,
  43. IN TCHAR* pszSuffix,
  44. IN BOOL fDownLevelIsdn );
  45. TCHAR*
  46. PhoneNumberFromTapiParts(
  47. IN HINSTANCE hInst,
  48. IN TCHAR* pszBaseNumber,
  49. IN TCHAR* pszAreaCode,
  50. IN DWORD dwCountryCode,
  51. IN OUT HLINEAPP* pHlineapp,
  52. IN BOOL fDialable );
  53. TCHAR*
  54. PhoneNumberFromTapiPartsEx(
  55. IN HINSTANCE hInst,
  56. IN TCHAR* pszBaseNumber,
  57. IN TCHAR* pszAreaCode,
  58. IN DWORD dwCountryCode,
  59. IN BOOL fDownLevelIsdn,
  60. IN OUT HLINEAPP* pHlineapp,
  61. IN BOOL fDialable );
  62. VOID
  63. PrefixSuffixFromLocationId(
  64. IN PBUSER* pUser,
  65. IN DWORD dwLocationId,
  66. OUT TCHAR** ppszPrefix,
  67. OUT TCHAR** ppszSuffix );
  68. #endif // _PHONENUM_H_