home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / numega / sc501.exe / data1.cab / Examples / APIERR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-25  |  2.8 KB  |  80 lines

  1. /*
  2.  * APIErr.h
  3.  * $Header: /BoundsChecker/Examples/BUGBNCHX/MAINERR/APIERR.H 3     2/03/97 7:13p Stevea $
  4.  *
  5.  * Description:
  6.  *  The declarations of the functions that do the API Check errors.
  7.  *
  8.  * Notes:
  9.  *  <implementation notes go here>
  10.  *
  11.  ***********************************************************************
  12.  *
  13.  * Nu-Mega Technologies, Inc.
  14.  * P.O. Box 7780
  15.  * Nashua, NH 03060
  16.  *
  17.  * (c) Copyright 1994, 1995 Nu-Mega Technologies, Inc.
  18.  * ALL RIGHTS RESERVED.
  19.  *
  20.  ***********************************************************************
  21.  *
  22.  **********************************************************************/
  23. #ifndef _APIERR_H
  24. #define _APIERR_H
  25.  
  26. // API Check - API failure: Windows function failed
  27. void API_Failure_LoadBitmap ( ) ;
  28. void API_Failure_Malloc     ( ) ;
  29. // API Check - API failure: Windows function not implemented
  30. void API_Failure_PaintDesktop ( ) ;
  31. void API_Failure_HeapValidate ( ) ;
  32. // API Check - Freed handle is still locked
  33. void API_FreedHandleStillLocked ( ) ;
  34. // API Check - Handle is already unlocked
  35. void API_HandleAlreadyUnlocked ( ) ;
  36. // API Check - Invalid argument: At least one format specifier is
  37. //             illegal
  38. void API_IllegalFormatSpec ( ) ;
  39. // API Check - Invalid argument: Bad destination pointer
  40. void API_BadDestPtr ( ) ;
  41. // API Check - Invalid argument: Bad handle
  42. void API_BadHandleFree      ( ) ;
  43. void API_BadHandleLocalFree ( ) ;
  44. void API_BadHandleRealloc   ( ) ;
  45. // API Check - Invalid argument: Bad source pointer
  46. void API_BadSourcePtr ( ) ;
  47. // API Check - Invalid argument: Conflicting combination of flags
  48. void API_ConflictFlags_GetStringTypeEx ( ) ;
  49. void API_ConflictFlags_VirtualFree     ( ) ;
  50. // API Check - Invalid argument: Format string is not followed by
  51. //             valid argument
  52. void API_FmtStrNotFollowed ( ) ;
  53. // API Check - Invalid argument: General
  54. void API_General_HMENU ( ) ;
  55. void API_General_file  ( ) ;
  56. void API_General_HDC   ( ) ;
  57. // API Check - Invalid argument: Invalid pointer to format string
  58. void API_InvPtrToFmtString ( ) ;
  59. // API Check - Invalid argument: not enough arguments for this format
  60. //             string
  61. void API_NotEnufArgsForFmtStr ( ) ;
  62. // API Check - Invalid argument: Out of range
  63. void API_ArgOutOfRange_GetKeyState( ) ;
  64. void API_ArgOutOfRange_CreateFont ( ) ;
  65. void API_ArgOutOfRange_CreateFile ( ) ;
  66. // API Check - Invalid argument: Structure size field is not initialized
  67. void API_StructSizeZero ( ) ;
  68. // API Check - Invalid argument: Too many arguments for this
  69. //             format string
  70. void API_TooManyArgsForFmtStr ( ) ;
  71. // API Check - Invalid Argument : Undefined or illegal flags
  72. void API_IllegalFlags_AppendMenu ( ) ;
  73. void API_IllegalFlags_FoldString ( ) ;
  74. // API Check - Questionable use of thead
  75. void API_QuestionableUseOfThread ( ) ;
  76.  
  77. #endif      // _APIERR_H
  78.  
  79.  
  80.