home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / shell / shellext / priv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-14  |  441 b   |  19 lines

  1. //--------------------------------------------------------------
  2. // common user interface routines
  3. //
  4. //
  5. //--------------------------------------------------------------
  6.  
  7. #ifndef STRICT
  8. #define STRICT
  9. #endif
  10.  
  11. #define INC_OLE2        // WIN32, get ole2 from windows.h
  12.  
  13. #include <windows.h>
  14. #include <windowsx.h>
  15. #include <shlobj.h>
  16.  
  17. #define ResultFromShort(i)  ResultFromScode(MAKE_SCODE(SEVERITY_SUCCESS, 0, (USHORT)(i)))
  18.  
  19.