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.

42 lines
729 B

  1. import "unknwn.idl";
  2. typedef enum _state
  3. {
  4. ST_CREATED,
  5. ST_OPENING,
  6. ST_OPEN,
  7. ST_CLOSING,
  8. ST_CLOSED,
  9. ST_ERROR
  10. }
  11. STATE, *PSTATE;
  12. [
  13. object,
  14. uuid(64896c1c-7757-4858-bd08-707cd34c1bc4),
  15. helpstring("IW3SpoofEvents"),
  16. pointer_default(unique)
  17. ]
  18. interface IW3SpoofEvents : IUnknown
  19. {
  20. HRESULT OnSessionOpen(
  21. [in] LPWSTR clientid
  22. );
  23. HRESULT OnSessionStateChange(
  24. [in] LPWSTR clientid,
  25. [in] STATE state
  26. );
  27. HRESULT OnSessionClose(
  28. [in] LPWSTR clientid
  29. );
  30. };
  31. [
  32. uuid(E119C2F3-2EBF-45fe-8F8B-AA90721B5E07),
  33. helpstring("w3scon typelib")
  34. ]
  35. library w3scon
  36. {
  37. interface IW3SpoofEvents;
  38. };