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.

59 lines
1.9 KiB

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  3. // Microsoft Visual C++, your modifications will be overwritten.
  4. // Dispatch interfaces referenced by this interface
  5. class COleFont;
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CLogUI wrapper class
  8. #ifndef _LOGUI_H
  9. #define _LOGUI_H
  10. class CLogUI : public CWnd
  11. {
  12. protected:
  13. DECLARE_DYNCREATE(CLogUI)
  14. public:
  15. CLSID const& GetClsid()
  16. {
  17. static CLSID const clsid
  18. = { 0xba634603, 0xb771, 0x11d0, { 0x92, 0x96, 0x0, 0xc0, 0x4f, 0xb6, 0x67, 0x8b } };
  19. return clsid;
  20. }
  21. virtual BOOL Create(LPCTSTR lpszClassName,
  22. LPCTSTR lpszWindowName, DWORD dwStyle,
  23. const RECT& rect,
  24. CWnd* pParentWnd, UINT nID,
  25. CCreateContext* pContext = NULL)
  26. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  27. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  28. const RECT& rect, CWnd* pParentWnd, UINT nID,
  29. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  30. BSTR bstrLicKey = NULL)
  31. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  32. pPersist, bStorage, bstrLicKey); }
  33. // Attributes
  34. public:
  35. CString GetCaption();
  36. void SetCaption(LPCTSTR);
  37. COleFont GetFont();
  38. void SetFont(LPDISPATCH);
  39. BOOL GetEnabled();
  40. void SetEnabled(BOOL);
  41. short GetBorderStyle();
  42. void SetBorderStyle(short);
  43. // Operations
  44. public:
  45. void SetAdminTarget(LPCTSTR szMachineName, LPCTSTR szMetaTarget);
  46. void ApplyLogSelection();
  47. void SetComboBox(HWND hComboBox);
  48. void Terminate();
  49. void DoClick();
  50. void SetUserData(LPCTSTR szName, LPCTSTR szPassword);
  51. };
  52. #endif //_LOGUI_H