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.

55 lines
1.7 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. // CRat wrapper class
  8. class CRat : public CWnd
  9. {
  10. protected:
  11. DECLARE_DYNCREATE(CRat)
  12. public:
  13. CLSID const& GetClsid()
  14. {
  15. static CLSID const clsid
  16. = { 0xba634607, 0xb771, 0x11d0, { 0x92, 0x96, 0x0, 0xc0, 0x4f, 0xb6, 0x67, 0x8b } };
  17. return clsid;
  18. }
  19. virtual BOOL Create(LPCTSTR lpszClassName,
  20. LPCTSTR lpszWindowName, DWORD dwStyle,
  21. const RECT& rect,
  22. CWnd* pParentWnd, UINT nID,
  23. CCreateContext* pContext = NULL)
  24. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  25. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  26. const RECT& rect, CWnd* pParentWnd, UINT nID,
  27. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  28. BSTR bstrLicKey = NULL)
  29. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  30. pPersist, bStorage, bstrLicKey); }
  31. // Attributes
  32. public:
  33. short GetBorderStyle();
  34. void SetBorderStyle(short);
  35. BOOL GetEnabled();
  36. void SetEnabled(BOOL);
  37. COleFont GetFont();
  38. void SetFont(LPDISPATCH);
  39. CString GetCaption();
  40. void SetCaption(LPCTSTR);
  41. // Operations
  42. public:
  43. void SetAdminTarget(LPCTSTR szMachineName, LPCTSTR szMetaTarget);
  44. void SetUserData(LPCTSTR szUserName, LPCTSTR szUserPassword);
  45. void SetUrl(LPCTSTR szURL);
  46. void DoClick();
  47. };