' ########################################################################################
' Microsoft Windows
' File: imapierror.inc
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
'/* Copyright (c) Microsoft Corporation. All rights reserved. */
#IF NOT %DEF(PBX_imapierror_PBI)
#DEFINE PBX_imapierror_PBI
%EQUATE `IMAPIERROR_INC = 1
#INCLUDE ONCE "Legacy/Platform/WinError.inc"
%EQUATE `IMAPI_S_PROPERTIESIGNORED = &H80040200& ' MAKE_HRESULT( SEVERITY_SUCCESS, FACILITY_ITF, 0x200 + 0 );
%EQUATE `IMAPI_S_BUFFER_TOO_SMALL = &H80040201& ' MAKE_HRESULT( SEVERITY_SUCCESS, FACILITY_ITF, 0x200 + 1 );
%EQUATE `IMAPI_E_NOTOPENED = &H8004020B& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 11 );
%EQUATE `IMAPI_E_NOTINITIALIZED = &H8004020C& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 12 );
%EQUATE `IMAPI_E_USERABORT = &H8004020D& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 13 );
%EQUATE `IMAPI_E_GENERIC = &H8004020E& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 14 );
%EQUATE `IMAPI_E_MEDIUM_NOTPRESENT = &H8004020F& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 15 );
%EQUATE `IMAPI_E_MEDIUM_INVALIDTYPE = &H80040210& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 16 );
%EQUATE `IMAPI_E_DEVICE_NOPROPERTIES = &H80040211& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 17 );
%EQUATE `IMAPI_E_DEVICE_NOTACCESSIBLE = &H80040212& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 18 );
%EQUATE `IMAPI_E_DEVICE_NOTPRESENT = &H80040213& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 19 );
%EQUATE `IMAPI_E_DEVICE_INVALIDTYPE = &H80040214& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 20 );
%EQUATE `IMAPI_E_INITIALIZE_WRITE = &H80040215& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 21 );
%EQUATE `IMAPI_E_INITIALIZE_ENDWRITE = &H80040216& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 22 );
%EQUATE `IMAPI_E_FILESYSTEM = &H80040217& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 23 );
%EQUATE `IMAPI_E_FILEACCESS = &H80040218& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 24 );
%EQUATE `IMAPI_E_DISCINFO = &H80040219& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 25 );
%EQUATE `IMAPI_E_TRACKNOTOPEN = &H8004021A& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 26 );
%EQUATE `IMAPI_E_TRACKOPEN = &H8004021B& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 27 );
%EQUATE `IMAPI_E_DISCFULL = &H8004021C& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 28 );
%EQUATE `IMAPI_E_BADJOLIETNAME = &H8004021D& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 29 );
%EQUATE `IMAPI_E_INVALIDIMAGE = &H8004021E& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 30 );
%EQUATE `IMAPI_E_NOACTIVEFORMAT = &H8004021F& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 31 );
%EQUATE `IMAPI_E_NOACTIVERECORDER = &H80040220& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 32 );
%EQUATE `IMAPI_E_WRONGFORMAT = &H80040221& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 33 );
%EQUATE `IMAPI_E_ALREADYOPEN = &H80040222& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 34 );
%EQUATE `IMAPI_E_WRONGDISC = &H80040223& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 35 );
%EQUATE `IMAPI_E_FILEEXISTS = &H80040224& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 36 );
%EQUATE `IMAPI_E_STASHINUSE = &H80040225& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 37 );
%EQUATE `IMAPI_E_DEVICE_STILL_IN_USE = &H80040226& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 38 );
%EQUATE `IMAPI_E_LOSS_OF_STREAMING = &H80040227& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 39 );
%EQUATE `IMAPI_E_COMPRESSEDSTASH = &H80040228& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 40 );
%EQUATE `IMAPI_E_ENCRYPTEDSTASH = &H80040229& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 41 );
%EQUATE `IMAPI_E_NOTENOUGHDISKFORSTASH = &H8004022A& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 42 );
%EQUATE `IMAPI_E_REMOVABLESTASH = &H8004022B& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 43 );
%EQUATE `IMAPI_E_CANNOT_WRITE_TO_MEDIA = &H8004022C& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 44 );
%EQUATE `IMAPI_E_TRACK_NOT_BIG_ENOUGH = &H8004022D& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 45 );
%EQUATE `IMAPI_E_BOOTIMAGE_AND_NONBLANK_DISC = &H8004022E& ' MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 46 );
#ENDIF
