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.

43 lines
1.0 KiB

  1. #include <windows.h>
  2. #include "tapiclnt.h"
  3. #define SZTELEPHONYKEY L"\\Software\\Microsoft\\Windows\\CurrentVersion\\Telephony"
  4. #define SZINIFILE L"..\\TAPI\\TSEC.INI"
  5. #define SZLINES L"LINES"
  6. #define SZPHONES L"PHONES"
  7. #define SZEMPTYSTRING L""
  8. #define MAXDEVICESTRINGLEN 1000
  9. #define TSECCLIENT_KEY ((DWORD) 'ilCT')
  10. typedef struct _MYCLIENT
  11. {
  12. DWORD dwKey;
  13. LPWSTR pszUserName;
  14. LPWSTR pszDomainName;
  15. LPTAPIPERMANENTID pLineDeviceMap;
  16. DWORD dwNumLines;
  17. LPTAPIPERMANENTID pPhoneDeviceMap;
  18. DWORD dwNumPhones;
  19. HTAPICLIENT htClient;
  20. LIST_ENTRY ListEntry;
  21. } MYCLIENT, * PMYCLIENT;
  22. #if DBG
  23. DWORD gdwDebugLevel = 0;
  24. #define DBGOUT(arg) DbgPrt arg
  25. VOID
  26. DbgPrt(
  27. IN DWORD dwDbgLevel,
  28. IN PUCHAR DbgMessage,
  29. IN ...
  30. );
  31. #else
  32. #define DBGOUT(arg)
  33. #endif