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.

76 lines
2.2 KiB

  1. Copyright (c) 1999 Microsoft Corporation
  2. Phone TSP
  3. Overview:
  4. ~~~~~~~~~
  5. Hidphone is a TSP (telephony service provider) that implements support for
  6. USB phone devices that are HID (human interface device) compliant.
  7. The TSP communicates with the HID interface that provides abstraction for
  8. the phone devices. The TSP enumerates the HID phone devices available on the
  9. system and makes them available to TAPI applications. The TSP provides
  10. thread-safe access to these phone devices. TAPISRV communicates with this TSP
  11. when it needs access to these phone devices. The TSP provides
  12. the TSP API functions that TAPISRV uses to call the TSP.
  13. The following files implement the TSP
  14. hidphone.h - this file contains all the variables used by the TSP
  15. hidphone.c - this file contains the implementations of the TSPI functions
  16. The following declare the main DLL exports:
  17. hidphone.def
  18. The following files declare all the strings used throughout the TSP:
  19. hidphone.rc
  20. resource.h
  21. The following files provide functions to get the wave ids of the audio devices
  22. associated with the phones:
  23. audio.h
  24. audio.cpp
  25. The following file discovers the Hid phone devices on the system
  26. pnp.c
  27. The following file helps in sending and receiving reports from the HID device
  28. report.c
  29. The following define and implement the logging functionality:
  30. mylog.h
  31. mylog.c
  32. The following define and implement the heap trace inorder to detect memory leaks:
  33. mymem.h
  34. mymem.c
  35. How to use the TSP:
  36. ~~~~~~~~~~~~~~~~~~~~~~
  37. Copy hidphone.tsp to the %windir%\winnt\system32 directory
  38. Add the tsp in the control panel.
  39. The tsp can now be accessed by TAPI applications
  40. What functionality does this TSP show:
  41. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  42. * Enumerate the supported HID-compliant phone devices
  43. * Negotiates TAPI version 2.0 - 3.0
  44. * Discovers the capabilities of each phone device supported
  45. * Provides information about the phones when requested
  46. * Receive and send input, feature and output reports from and to the device.
  47. * Send Phone state and Phone Button events to TAPISRV
  48. * Plug and play capability