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 / bandobjs / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-12-11  |  947 b   |  25 lines

  1. /**************************************************************************
  2.    THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  3.    ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  4.    THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  5.    PARTICULAR PURPOSE.
  6.  
  7.    Copyright 1997 - 1998 Microsoft Corporation.  All Rights Reserved.
  8. **************************************************************************/
  9.  
  10. /**************************************************************************
  11.  
  12.    File:          Globals.h
  13.    
  14. **************************************************************************/
  15.  
  16. /**************************************************************************
  17.    global variables
  18. **************************************************************************/
  19.  
  20. extern HINSTANCE  g_hInst;
  21. extern UINT       g_DllRefCount;
  22.  
  23. #define ARRAYSIZE(a)    (sizeof(a)/sizeof(a[0]))
  24.  
  25.