home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / customwz / customwz.h < prev    next >
C/C++ Source or Header  |  1998-03-05  |  1KB  |  35 lines

  1. // customwz.h : Declares the initialization routines for the DLL.
  2. //
  3. // Copyright (c) 1985-1998, Microsoft Corporation. All rights reserved.
  4. //
  5.  
  6. #ifndef __CUSTOMWZ_H__
  7. #define __CUSTOMWZ_H__
  8.  
  9. #include "resource.h"
  10.  
  11. #define APWZ_EXPORT __declspec(dllexport)
  12.  
  13. #define NUM_APWZ_EXE_STEPS      7
  14. #define NUM_APWZ_EXE_DOC_STEPS  6
  15. #define NUM_APWZ_EXE_DLG_STEPS  4
  16. #define NUM_APWZ_DLL_STEPS      1
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // Miscellaneous utility functions
  20.  
  21. void DefineMacro(LPCTSTR lpszKey, LPCTSTR lpszValue);
  22. void UndefMacro(LPCTSTR lpszKey);
  23.  
  24. void DefineIntMacro(LPCTSTR pszKey, int iValue);
  25. void DefineIntMacro(LPCTSTR pszKey, int iItem, int iValue);
  26. void DefineBoolMacro(LPCTSTR pszKey, BOOL bValue);
  27. void DefineBoolMacro(LPCTSTR pszKey, int iItem, BOOL bValue);
  28. void DefineStringMacro(LPCTSTR pszKey, LPCTSTR pszValue);
  29. void DefineStringMacro(LPCTSTR pszKey, int iItem, LPCTSTR pszValue);
  30.  
  31. BOOL ReportError(UINT nIDP, LPCTSTR szArg);
  32. void ReportAndThrow(UINT nIDP, LPCTSTR szArg);
  33.  
  34. #endif //__CUSTOMWZ_H__
  35.