home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / convclss.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  1KB  |  40 lines

  1. // --convclss.h-----------------------------------------------------------------
  2. //
  3. //  Defines CClassName - a C++ class that keeps track of conversion classes
  4. // 
  5. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  6. //
  7. // -----------------------------------------------------------------------------
  8.  
  9. #if !defined(_CONVCLSS_H)
  10. #define _CONVCLSS_H
  11.  
  12. //$$--CClassName---------------------------------------------------------------
  13. //
  14. //  DESCRIPTION: This class manages entry point name information.
  15. //
  16. // ---------------------------------------------------------------------------
  17. class CClassName
  18. {
  19. protected:
  20.     LPWSTR m_pszClassName ;                 // name of the class supported.
  21.     CDllEntryPoint * m_pEntryPoint ;        // entry point details.
  22.  
  23. public:
  24.     CClassName * m_pcnNext ;                // next pointer.
  25.     CClassName();
  26.     ~CClassName();
  27.  
  28.     void EDKDump() ;
  29.      
  30.     HRESULT HrEDKSet(LPCWSTR pszClassName, CDllEntryPoint * pEntryPoint) ;
  31.  
  32.     LPWSTR const pszClassName()  { return  m_pszClassName; } 
  33.     int const cNameLength()      { ASSERTERROR(m_pszClassName != NULL, "NULL m_pszClassName"); 
  34.                                    return lstrlenW(m_pszClassName); } 
  35.     CDllEntryPoint * pEntryPoint() 
  36.                                  { return (m_pEntryPoint); }
  37. };
  38.  
  39. #endif
  40.