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.

46 lines
924 B

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
  2. <HEAD>
  3. <META http-equiv=Content-Type content="text/html; charset=unicode"><!-- // let's include the PC Health object here -->
  4. <OBJECT id=pchealth classid=CLSID:FC7D9E02-3F9E-11d3-93C0-00C04F72DAF7></OBJECT>
  5. <SCRIPT LANG="JScript" SRC="safbvt_utility.js">
  6. </SCRIPT>
  7. <META content="MSHTML 6.00.2410.0" name=GENERATOR>
  8. </HEAD>
  9. <BODY>
  10. <P><INPUT type=button value=Button onclick=Go()></P></BODY>
  11. <SCRIPT LANGUAGE="Javascript">
  12. function Go()
  13. {
  14. var myChannel;
  15. var NotificationString;
  16. try
  17. {
  18. myChannel = pchealth.CreateObject_channel("CN=Microsoft Corporation,L=Redmond,S=Washington,C=US", "Microsoft Remote Assistance");
  19. alert("Created Channel!");
  20. NotificationString = myChannel.Notification;
  21. alert(NotificationString);
  22. }
  23. catch (e)
  24. {
  25. alert(e);
  26. }
  27. return true;
  28. }
  29. </SCRIPT>
  30. </HTML>