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.

98 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. tapiutil.h
  5. Abstract:
  6. Functions for working with TAPI
  7. Environment:
  8. Fax configuration applet
  9. Revision History:
  10. 03/16/96 -davidx-
  11. Created it.
  12. dd-mm-yy -author-
  13. description
  14. --*/
  15. #ifndef _TAPIUTIL_H_
  16. #define _TAPIUTIL_H_
  17. //
  18. // Perform TAPI initialization if necessary
  19. //
  20. BOOL
  21. InitTapiService(
  22. VOID
  23. );
  24. //
  25. // Perform TAPI deinitialization if necessary
  26. //
  27. VOID
  28. DeinitTapiService(
  29. VOID
  30. );
  31. //
  32. // Return the default country ID for the current location
  33. //
  34. DWORD
  35. GetDefaultCountryID(
  36. VOID
  37. );
  38. //
  39. // Initialize the country list box
  40. //
  41. VOID
  42. InitCountryListBox(
  43. HWND hwndList,
  44. HWND hwndAreaCode,
  45. DWORD countryId
  46. );
  47. //
  48. // Handle dialog selection changes in the country list box
  49. //
  50. VOID
  51. SelChangeCountryListBox(
  52. HWND hwndList,
  53. HWND hwndAreaCode
  54. );
  55. //
  56. // Return the country ID of the currently selected country in the list box
  57. //
  58. DWORD
  59. GetCountryListBoxSel(
  60. HWND hwndList
  61. );
  62. //
  63. // Return a country code corresponding to the specified country ID
  64. //
  65. DWORD
  66. GetCountryCodeFromCountryID(
  67. DWORD countryId
  68. );
  69. #endif // !_TAPIUTIL_H_