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.

36 lines
788 B

  1. #ifndef MCM_H
  2. #define MCM_H
  3. #ifndef TAPI_H
  4. //#define TAPI_CURRENT_VERSION 0x00010004
  5. #include <tapi.h>
  6. #endif
  7. #include <tchar.h>
  8. #define INVALID_PORTID 0xFFFFFFFF
  9. #define fTrue 1
  10. #define fFalse 0
  11. #define Try __try
  12. #define Leave __leave
  13. #define Finally __finally
  14. typedef enum _MODEMSTATUS
  15. {
  16. kMsModemOk,
  17. kMsModemNotFound,
  18. kMsModemTooSlow
  19. }MODEMSTATUS;
  20. #ifdef __cplusplus
  21. extern "C"
  22. {
  23. #endif
  24. MODEMSTATUS MSEnsureModemTAPI (HINSTANCE hInstance, HWND hwnd);
  25. BOOL FGetModemSpeed(HINSTANCE hInstance, DWORD dwDevice, PDWORD pdwSpeed);
  26. BOOL FGetDeviceID(HINSTANCE hInstance, HLINEAPP *phLineApp, PDWORD pdwAPI, PDWORD pdwDevice, DWORD dwIndex);
  27. MODEMSTATUS MSDetectModemTAPI(HINSTANCE hInstance);
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif // _TAPI