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.

43 lines
927 B

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