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.

58 lines
1.8 KiB

  1. #ifndef __CERTMAP_H__
  2. #define __CERTMAP_H__
  3. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  4. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  5. // Microsoft Visual C++, your modifications will be overwritten.
  6. // Dispatch interfaces referenced by this interface
  7. class COleFont;
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CCertmap wrapper class
  10. class CCertmap : public CWnd
  11. {
  12. protected:
  13. DECLARE_DYNCREATE(CCertmap)
  14. public:
  15. CLSID const& GetClsid()
  16. {
  17. static CLSID const clsid
  18. = { 0xbbd8f29b, 0x6f61, 0x11d0, { 0xa2, 0x6e, 0x8, 0x0, 0x2b, 0x2c, 0x6f, 0x32 } };
  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. BOOL GetEnabled();
  38. void SetEnabled(BOOL);
  39. short GetBorderStyle();
  40. void SetBorderStyle(short);
  41. CString GetCaption();
  42. void SetCaption(LPCTSTR);
  43. // Operations
  44. public:
  45. void SetServerInstance(LPCTSTR szServerInstance);
  46. void SetMachineName(LPCTSTR szMachineName);
  47. };
  48. #endif // __CERTMAP_H__