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.

37 lines
1.0 KiB

  1. // BugRepSysInfo.h : Declaration of the CBugRepSysInfo
  2. #ifndef __BUGREPSYSINFO_H_
  3. #define __BUGREPSYSINFO_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CBugRepSysInfo
  7. class ATL_NO_VTABLE CBugRepSysInfo :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<CBugRepSysInfo, &CLSID_BugRepSysInfo>,
  10. public IDispatchImpl<IBugRepSysInfo, &IID_IBugRepSysInfo, &LIBID_BRP_SYSINFOLib>
  11. {
  12. public:
  13. CBugRepSysInfo()
  14. {
  15. }
  16. DECLARE_REGISTRY_RESOURCEID(IDR_BUGREPSYSINFO)
  17. DECLARE_PROTECT_FINAL_CONSTRUCT()
  18. BEGIN_COM_MAP(CBugRepSysInfo)
  19. COM_INTERFACE_ENTRY(IBugRepSysInfo)
  20. COM_INTERFACE_ENTRY(IDispatch)
  21. END_COM_MAP()
  22. // IBugRepSysInfo
  23. public:
  24. STDMETHOD(GetActiveCP)(/*[out,retval]*/ UINT *pnACP);
  25. STDMETHOD(GetUserDefaultLCID)(DWORD *pdwLCID);
  26. STDMETHOD(GetOSVersionString)(/*[out,retval]*/ BSTR* pbstrOSVersion);
  27. STDMETHOD(GetLanguageID)(/*[out,retval]*/ INT* pintLanguage);
  28. };
  29. #endif //__BUGREPSYSINFO_H_