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.

49 lines
864 B

  1. #ifndef _ODBCLOGUI_H_
  2. #define _ODBCLOGUI_H_
  3. class CFacOdbcLogUI : COleObjectFactory
  4. {
  5. public:
  6. CFacOdbcLogUI();
  7. // virtual CCmdTarget* OnCreateObject( );
  8. virtual BOOL UpdateRegistry( BOOL bRegister );
  9. };
  10. class COdbcCreator : public CCmdTarget
  11. {
  12. DECLARE_DYNCREATE(COdbcCreator)
  13. virtual LPUNKNOWN GetInterfaceHook(const void* piid);
  14. };
  15. class CImpOdbcLogUI : public ILogUIPlugin
  16. {
  17. public:
  18. CImpOdbcLogUI();
  19. ~CImpOdbcLogUI();
  20. virtual HRESULT STDMETHODCALLTYPE OnProperties( IN OLECHAR* pocMachineName, IN OLECHAR* pocMetabasePath );
  21. HRESULT _stdcall
  22. QueryInterface(REFIID riid, void **ppObject);
  23. ULONG _stdcall
  24. AddRef();
  25. ULONG _stdcall
  26. Release();
  27. protected:
  28. private:
  29. ULONG m_dwRefCount;
  30. }; // CImpOdbcLogUI
  31. #endif // _ODBCLOGUI_H_