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.

56 lines
1.8 KiB

  1. cpp_quote("/*******************************************************************************/" )
  2. cpp_quote("/* */" )
  3. cpp_quote("/* Copyright � Microsoft Corporation. All rights reserved. */" )
  4. cpp_quote("/* */" )
  5. cpp_quote("/*******************************************************************************/" )
  6. import "objidl.idl";
  7. import "oleidl.idl";
  8. import "oaidl.idl";
  9. import "wbemcli.idl";
  10. // flags passed to IWbemDecoupledEventSink::Connect
  11. typedef [v1_enum] enum tag_WBEM_PSEUDO_PROVIDER_CONNECT_FLAGS
  12. {
  13. WBEM_FLAG_NOTIFY_START_STOP = 1,
  14. WBEM_FLAG_NOTIFY_QUERY_CHANGE = 2,
  15. WBEM_FLAG_CHECK_SECURITY = 4
  16. } WBEM_PSEUDO_PROVIDER_CONNECT_FLAGS;
  17. // flags passed to IWbemEventProvider::ProvideEvents
  18. typedef [v1_enum] enum tag_WBEM_PROVIDE_EVENTS_FLAGS
  19. {
  20. WBEM_FLAG_START_PROVIDING = 0,
  21. WBEM_FLAG_STOP_PROVIDING = 1
  22. } WBEM_PROVIDE_EVENTS_FLAGS;
  23. [object, local, uuid(CD94EBF2-E622-11d2-9CB3-00105A1F4801)]
  24. interface IWbemDecoupledEventSink : IUnknown
  25. {
  26. // "real provider ready to play"
  27. HRESULT Connect(
  28. [in, string] LPCWSTR wszNamespace,
  29. [in, string] LPCWSTR wszProviderName,
  30. [in] long lFlags,
  31. [out] IWbemObjectSink** ppSink,
  32. [out] IWbemServices** ppNamespace);
  33. // real provider wants notifications
  34. HRESULT SetProviderServices([in] IUnknown* pProviderServices, [in] long lFlags);
  35. // real provider doesn't want to play any more
  36. HRESULT Disconnect();
  37. };
  38. [uuid(E002EEEF-E6EA-11d2-9CB3-00105A1F4801)]
  39. library PassiveSink
  40. {
  41. [uuid(E002E4F0-E6EA-11d2-9CB3-00105A1F4801)]
  42. coclass PseudoSink
  43. {
  44. interface IWbemDecoupledEventSink;
  45. };
  46. };