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.

61 lines
1.8 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. #ifndef __CERTAUTH_H_
  5. #define __CERTAUTH_H_
  6. // Dispatch interfaces referenced by this interface
  7. class COleFont;
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CCertAuth wrapper class
  10. class CCertAuth : public CWnd
  11. {
  12. protected:
  13. DECLARE_DYNCREATE(CCertAuth)
  14. public:
  15. CLSID const& GetClsid()
  16. {
  17. static CLSID const clsid
  18. = { 0x996ff6f, 0xb6a1, 0x11d0, { 0x92, 0x92, 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. COleFont GetFont();
  36. void SetFont(LPDISPATCH);
  37. short GetBorderStyle();
  38. void SetBorderStyle(short);
  39. BOOL GetEnabled();
  40. void SetEnabled(BOOL);
  41. CString GetCaption();
  42. void SetCaption(LPCTSTR);
  43. // Operations
  44. public:
  45. void SetMachineName(LPCTSTR szMachineName);
  46. void SetServerInstance(LPCTSTR szServerInstance);
  47. void DoClick(long dwButtonNumber);
  48. void AboutBox();
  49. };
  50. #endif // __CERTAUTH_H_