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.

42 lines
699 B

  1. /*++
  2. Copyright (C) 1996-2001 Microsoft Corporation
  3. Module Name:
  4. PROVINIT.H
  5. Abstract:
  6. This file implements the provider init sink
  7. History:
  8. --*/
  9. #ifndef __WBEM_PROVINIT__H_
  10. #define __WBEM_PROVINIT__H_
  11. class POLARITY CProviderInitSink : public IWbemProviderInitSink
  12. {
  13. protected:
  14. CCritSec m_cs;
  15. long m_lRef;
  16. long m_lStatus;
  17. HANDLE m_hEvent;
  18. public:
  19. ULONG STDMETHODCALLTYPE AddRef();
  20. ULONG STDMETHODCALLTYPE Release();
  21. HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppv);
  22. HRESULT STDMETHODCALLTYPE SetStatus(long lStatus, long lFlags);
  23. public:
  24. CProviderInitSink();
  25. ~CProviderInitSink();
  26. HRESULT WaitForCompletion();
  27. };
  28. #endif