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.

56 lines
1.8 KiB

  1. #if !defined(INCL_TELNETCK)
  2. #define INCL_TELNETCK
  3. /* File: D:\WACKER\tdll\telnetck.h (Created: 26-Nov-1996 by cab)
  4. *
  5. * Copyright 1996 by Hilgraeve Inc. -- Monroe, MI
  6. * All rights reserved
  7. *
  8. * Description:
  9. * Declares the functions used to implement "telnet checking".
  10. * This is HyperTerminal's way of assuring that it is the
  11. * default telnet app for Internet Explorer and Netscape Navigator.
  12. *
  13. * $Revision: 2 $
  14. * $Date: 5/09/01 4:38p $
  15. */
  16. // IsHyperTerminalDefaultTelnetApp
  17. //
  18. // Returns TRUE if HyperTerminal is the default telnet app
  19. // for Internet Explorer and Netscape Navigator.
  20. //
  21. BOOL IsHyperTerminalDefaultTelnetApp(void);
  22. // AskForDefaultTelnetApp
  23. //
  24. // Returns the value of the "telnet checking" flag. If this is TRUE,
  25. // the app should check whether it is the default telnet app for IE
  26. // and Netscape. If it isn't the default telnet app, then display
  27. // the "Default Telnet App" dialog. The user can disable "telnet
  28. // checking" by checking the "Stop asking me this question" box.
  29. //
  30. BOOL QueryTelnetCheckFlag(void);
  31. // DefaultTelnetAppDlgProc
  32. //
  33. // The dialog procedure for the "Default Telnet App" dialog.
  34. // This dialog asks the user if he/she wants HyperTerminal
  35. // to be the default telnet app for IE and NN. There also is
  36. // a check box to disable this potentially annoying feature.
  37. //
  38. INT_PTR CALLBACK DefaultTelnetAppDlgProc(HWND hDlg, UINT wMsg,
  39. WPARAM wPar, LPARAM lPar);
  40. // SetTelnetCheckFlag
  41. //
  42. // Sets the "telnet checking" flag which will either turn on or off
  43. // this feature the next time HyperTerminal starts.
  44. int SetTelnetCheckFlag(BOOL fCheck);
  45. // SetDefaultTelnetApp
  46. //
  47. // Sets the default telnet application for IE and Netscape to HyperTerminal.
  48. int SetDefaultTelnetApp(void);
  49. #endif