home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / errors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-13  |  1.0 KB  |  30 lines

  1. //==========================================================================;
  2. //
  3. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. //  PURPOSE.
  7. //
  8. //  Copyright (c) 1992 - 1996  Microsoft Corporation.  All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11.  
  12. // codes 0-01ff are reserved for OLE
  13. #define VFW_FIRST_CODE   0x200
  14. #define MAX_ERROR_TEXT_LEN 160
  15.  
  16. #include <VFWMSGS.H>                    // includes all message definitions
  17.  
  18.  
  19. #ifdef UNICODE
  20. #define AMGetErrorText  AMGetErrorTextW
  21. #else
  22. #define AMGetErrorText  AMGetErrorTextA
  23. #endif
  24.  
  25.  
  26. extern "C" DWORD AMGetErrorTextA( HRESULT hr , char *pbuffer , DWORD MaxLen);                                       
  27. extern "C" DWORD AMGetErrorTextW( HRESULT hr , WCHAR *pbuffer , DWORD MaxLen);                                       
  28.  
  29.  
  30.