Source code of Windows XP (NT5)
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.

66 lines
1.9 KiB

  1. // SAFSessionResolver.idl : IDL source for SAFSessionResolver.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (SAFSessionResolver.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. /**
  8. ** ISAFRemoteDesktopCallback Interface
  9. **/
  10. cpp_quote("")
  11. cpp_quote("#define DISPID_RDSCALLBACK_RESOLVEUSERSESSIONID 1")
  12. cpp_quote("#define DISPID_RDSCALLBACK_ONDISCONNECT 2")
  13. cpp_quote("")
  14. #define DISPID_RDSCALLBACK_RESOLVEUSERSESSIONID 1
  15. #define DISPID_RDSCALLBACK_ONDISCONNECT 2
  16. [
  17. object,
  18. uuid(A39442C2-10A5-4805-BE54-5E6BA334DC29),
  19. dual,
  20. helpstring("ISAFRemoteDesktopServer Interface"),
  21. pointer_default(unique)
  22. ]
  23. interface ISAFRemoteDesktopCallback : IDispatch
  24. {
  25. [id(DISPID_RDSCALLBACK_RESOLVEUSERSESSIONID), helpstring("method ResolveUserSessionID")]
  26. HRESULT ResolveUserSessionID(
  27. [in] BSTR connectParms,
  28. [in] BSTR userSID,
  29. [in] BSTR expertHelpBlob,
  30. [in] BSTR userHelpBlob,
  31. [out] long *sessionID,
  32. [in] DWORD dwPID,
  33. [out] ULONG_PTR* hHelpCtr,
  34. [out, retval] int* userResponse
  35. );
  36. [id(DISPID_RDSCALLBACK_ONDISCONNECT), helpstring("method OnDisconnect")]
  37. HRESULT OnDisconnect([in] BSTR connectParms, [in] BSTR userSID, [in] long sessionID);
  38. };
  39. [
  40. uuid(087EAABE-39BA-47C2-AB77-A93009A70F0A),
  41. version(1.0),
  42. helpstring("SAFSessionResolver 1.0 Type Library")
  43. ]
  44. library SAFSESSIONRESOLVERLib
  45. {
  46. importlib("stdole32.tlb");
  47. importlib("stdole2.tlb");
  48. [
  49. uuid(A55737AB-5B26-4A21-99B7-6D0C606F515E),
  50. helpstring("SessionResolver Class")
  51. ]
  52. coclass SessionResolver
  53. {
  54. [default] interface ISAFRemoteDesktopCallback;
  55. }
  56. };