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.

27 lines
561 B

  1. #ifndef __RESID_H_INCLUDED
  2. #define __RESID_H_INCLUDED
  3. #include <windows.h>
  4. class CResId
  5. {
  6. private:
  7. LPTSTR m_pszRes;
  8. int m_nRes;
  9. bool m_bIsString;
  10. public:
  11. CResId( LPTSTR pszRes = NULL );
  12. CResId( int nRes );
  13. CResId( const CResId &other );
  14. virtual ~CResId(void);
  15. const CResId &operator=( const CResId &other );
  16. LPCTSTR ResourceName(void) const;
  17. LPCTSTR StringRes(void) const;
  18. LPCTSTR StringRes( LPCTSTR pszRes );
  19. int NumberRes(void) const;
  20. int NumberRes( int nRes );
  21. bool IsString(void) const;
  22. };
  23. #endif