' ########################################################################################
' Microsoft Windows
' File: cderr.inc
' Contents: Common dialog error return codes
' 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.
' ########################################################################################
#IF NOT %DEF(PBX_CdErr_PBI)
#DEFINE PBX_CdErr_PBI
%EQUATE `CDERR_INC = 1
%EQUATE `CDERR_DIALOGFAILURE = &HFFFF
%EQUATE `CDERR_GENERALCODES = &H0000
%EQUATE `CDERR_STRUCTSIZE = &H0001
%EQUATE `CDERR_INITIALIZATION = &H0002
%EQUATE `CDERR_NOTEMPLATE = &H0003
%EQUATE `CDERR_NOHINSTANCE = &H0004
%EQUATE `CDERR_LOADSTRFAILURE = &H0005
%EQUATE `CDERR_FINDRESFAILURE = &H0006
%EQUATE `CDERR_LOADRESFAILURE = &H0007
%EQUATE `CDERR_LOCKRESFAILURE = &H0008
%EQUATE `CDERR_MEMALLOCFAILURE = &H0009
%EQUATE `CDERR_MEMLOCKFAILURE = &H000A
%EQUATE `CDERR_NOHOOK = &H000B
%EQUATE `CDERR_REGISTERMSGFAIL = &H000C
' // Note: The remed equates are predefined in the compiler.
'%PDERR_PRINTERCODES = &H1000
'%PDERR_SETUPFAILURE = &H1001
'%PDERR_PARSEFAILURE = &H1002
'%PDERR_RETDEFFAILURE = &H1003
'%PDERR_LOADDRVFAILURE = &H1004
'%PDERR_GETDEVMODEFAIL = &H1005
'%PDERR_INITFAILURE = &H1006
'%PDERR_NODEVICES = &H1007
'%PDERR_NODEFAULTPRN = &H1008
'%PDERR_DNDMMISMATCH = &H1009
'%PDERR_CREATEICFAILURE = &H100A
'%PDERR_PRINTERNOTFOUND = &H100B
'%PDERR_DEFAULTDIFFERENT = &H100C
%EQUATE `CFERR_CHOOSEFONTCODES = &H2000
%EQUATE `CFERR_NOFONTS = &H2001
%EQUATE `CFERR_MAXLESSTHANMIN = &H2002
%EQUATE `FNERR_FILENAMECODES = &H3000
%EQUATE `FNERR_SUBCLASSFAILURE = &H3001
%EQUATE `FNERR_INVALIDFILENAME = &H3002
%EQUATE `FNERR_BUFFERTOOSMALL = &H3003
%EQUATE `FRERR_FINDREPLACECODES = &H4000
%EQUATE `FRERR_BUFFERLENGTHZERO = &H4001
%EQUATE `CCERR_CHOOSECOLORCODES = &H5000
#ENDIF
