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.

49 lines
1.4 KiB

  1. //+-------------------------------------------------------------------
  2. //
  3. // File: ctxtcall.idl
  4. //
  5. // Contents: Public Context interfaces
  6. //
  7. // History: 04-Dec-97 Created
  8. //
  9. //--------------------------------------------------------------------
  10. cpp_quote("//+-----------------------------------------------------------------")
  11. cpp_quote("//")
  12. cpp_quote("// Microsoft Windows")
  13. cpp_quote("// Copyright (c) Microsoft Corporation. All rights reserved.")
  14. cpp_quote("//")
  15. cpp_quote("//------------------------------------------------------------------")
  16. import "wtypes.idl";
  17. import "objidl.idl";
  18. import "unknwn.idl";
  19. // ComCallData used with IContextCallback::ContextCallback
  20. typedef struct tagComCallData {
  21. DWORD dwDispid;
  22. DWORD dwReserved;
  23. void *pUserDefined;
  24. } ComCallData;
  25. // IContextCallback interface
  26. [
  27. local,
  28. object,
  29. uuid(000001da-0000-0000-C000-000000000046),
  30. pointer_default(unique)
  31. ]
  32. interface IContextCallback : IUnknown
  33. {
  34. typedef [ref] HRESULT __stdcall (*PFNCONTEXTCALL)(ComCallData* pParam);
  35. HRESULT ContextCallback([in] PFNCONTEXTCALL pfnCallback,
  36. [in] ComCallData *pParam,
  37. [in] REFIID riid,
  38. [in] int iMethod,
  39. [in] IUnknown *pUnk);
  40. }