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

  1. #ifndef _JAVAATTR_H_
  2. #define _JAVAATTR_H_
  3.  
  4. // -----------------------------------------------------------------------
  5. // JavaAttr.h  -- TypeLib Custom Properties for Java
  6. //
  7. // Copyright (c) 1996-1997 Microsoft Corporation.  All Rights Reserved.    
  8. // -----------------------------------------------------------------------  
  9. //
  10. // Usage:
  11. //  In IDL or ODL source,
  12. //  #include <JavaAttr.h>
  13. //
  14. //  Within the attributes section of a coclass, write
  15. //      JAVACLASS("class name")    and/or
  16. //      PROGID("progid name")
  17.  
  18. //======================================================================================
  19. // Attribute GUIDs
  20. //======================================================================================
  21. #define        TLBATTR_JAVACLASS    06f90aa0-3f00-11d0-987d-00a0c90aebd9
  22. #define        TLBATTR_PROGID        06f90aa1-3f00-11d0-987d-00a0c90aebd9
  23.  
  24. //======================================================================================
  25. // Attribute MACROs
  26. //======================================================================================
  27.  
  28. #define JAVACLASS(str)            custom(TLBATTR_JAVACLASS,str)
  29. #define PROGID(str)            custom(TLBATTR_PROGID,str)
  30.  
  31.  
  32. #endif _JAVAATTR_H_
  33.