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.

41 lines
808 B

  1. #include "stdinc.idl"
  2. cpp_quote("#if !defined(__cplusplus)")
  3. typedef struct CSxApwActCtxHandle CSxApwActCtxHandle;
  4. cpp_quote("#else")
  5. cpp_quote("class CSxApwActCtxHandle;")
  6. cpp_quote("#endif")
  7. [
  8. object,
  9. local,
  10. uuid(IID_ISxApwActCtxHandle_midl)
  11. ]
  12. interface ISxApwActCtxHandle : IUnknown
  13. {
  14. /* the 64bit porting guide informs us that the better design is
  15. HRESULT
  16. Activate(
  17. [out] IUnknown** cookie
  18. );
  19. so that server/client death is nicely handled by COM freeing all objects
  20. but this would force more heap allocation on us.
  21. */
  22. HRESULT
  23. Activate(
  24. [out] unsigned __int64* cookie
  25. );
  26. HRESULT
  27. Deactivate(
  28. [in] unsigned __int64 cookie
  29. );
  30. HANDLE
  31. GetHandle(
  32. );
  33. CSxApwActCtxHandle*
  34. GetCPlusPlusObject(
  35. );
  36. };