Hex Artifact Content

Not logged in

Artifact 50d169f239b9620b81e6ce28ec66a280b0275f9e:


0000: 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  /***************
0010: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0020: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0030: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0040: 2a 2a 2a 2a 2a 2a 2a 2a 5c 0a 2a 20 20 20 20 20  ********\.*     
0050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0060: 20 20 20 20 20 20 20 20 20 20 63 64 65 72 72 2e            cderr.
0070: 64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  d               
0080: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0090: 20 20 2a 0a 2a 20 20 20 20 20 20 20 20 20 20 20    *.*           
00a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00d0: 20 20 20 20 20 20 20 20 20 20 20 20 2a 0a 2a 20              *.* 
00e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00f0: 20 20 20 20 20 20 57 69 6e 64 6f 77 73 20 41 50        Windows AP
0100: 49 20 68 65 61 64 65 72 20 6d 6f 64 75 6c 65 20  I header module 
0110: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0120: 20 20 20 20 20 20 2a 0a 2a 20 20 20 20 20 20 20        *.*       
0130: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0150: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0160: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0170: 2a 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20  *.*             
0180: 20 20 20 20 54 72 61 6e 73 6c 61 74 65 64 20 66      Translated f
0190: 72 6f 6d 20 4d 69 6e 47 57 20 57 69 6e 64 6f 77  rom MinGW Window
01a0: 73 20 68 65 61 64 65 72 73 20 20 20 20 20 20 20  s headers       
01b0: 20 20 20 20 20 20 20 20 20 20 2a 0a 2a 20 20 20            *.*   
01c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
01d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
01e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
01f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0200: 20 20 20 20 2a 0a 2a 20 20 20 20 20 20 20 20 20      *.*         
0210: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c                Pl
0220: 61 63 65 64 20 69 6e 74 6f 20 70 75 62 6c 69 63  aced into public
0230: 20 64 6f 6d 61 69 6e 20 20 20 20 20 20 20 20 20   domain         
0240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 0a                *.
0250: 5c 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  \***************
0260: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0270: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0280: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0290: 2a 2a 2a 2a 2a 2a 2a 2a 2f 0a 6d 6f 64 75 6c 65  ********/.module
02a0: 20 77 69 6e 33 32 2e 63 64 65 72 72 3b 0a 0a 65   win32.cderr;..e
02b0: 6e 75 6d 20 7b 0a 09 43 44 45 52 52 5f 44 49 41  num {..CDERR_DIA
02c0: 4c 4f 47 46 41 49 4c 55 52 45 20 20 20 20 3d 20  LOGFAILURE    = 
02d0: 30 78 46 46 46 46 2c 0a 09 43 44 45 52 52 5f 47  0xFFFF,..CDERR_G
02e0: 45 4e 45 52 41 4c 43 4f 44 45 53 20 20 20 20 20  ENERALCODES     
02f0: 3d 20 30 78 30 30 30 30 2c 0a 09 43 44 45 52 52  = 0x0000,..CDERR
0300: 5f 53 54 52 55 43 54 53 49 5a 45 2c 0a 09 43 44  _STRUCTSIZE,..CD
0310: 45 52 52 5f 49 4e 49 54 49 41 4c 49 5a 41 54 49  ERR_INITIALIZATI
0320: 4f 4e 2c 0a 09 43 44 45 52 52 5f 4e 4f 54 45 4d  ON,..CDERR_NOTEM
0330: 50 4c 41 54 45 2c 0a 09 43 44 45 52 52 5f 4e 4f  PLATE,..CDERR_NO
0340: 48 49 4e 53 54 41 4e 43 45 2c 0a 09 43 44 45 52  HINSTANCE,..CDER
0350: 52 5f 4c 4f 41 44 53 54 52 46 41 49 4c 55 52 45  R_LOADSTRFAILURE
0360: 2c 0a 09 43 44 45 52 52 5f 46 49 4e 44 52 45 53  ,..CDERR_FINDRES
0370: 46 41 49 4c 55 52 45 2c 0a 09 43 44 45 52 52 5f  FAILURE,..CDERR_
0380: 4c 4f 41 44 52 45 53 46 41 49 4c 55 52 45 2c 0a  LOADRESFAILURE,.
0390: 09 43 44 45 52 52 5f 4c 4f 43 4b 52 45 53 46 41  .CDERR_LOCKRESFA
03a0: 49 4c 55 52 45 2c 0a 09 43 44 45 52 52 5f 4d 45  ILURE,..CDERR_ME
03b0: 4d 41 4c 4c 4f 43 46 41 49 4c 55 52 45 2c 0a 09  MALLOCFAILURE,..
03c0: 43 44 45 52 52 5f 4d 45 4d 4c 4f 43 4b 46 41 49  CDERR_MEMLOCKFAI
03d0: 4c 55 52 45 2c 0a 09 43 44 45 52 52 5f 4e 4f 48  LURE,..CDERR_NOH
03e0: 4f 4f 4b 2c 0a 09 43 44 45 52 52 5f 52 45 47 49  OOK,..CDERR_REGI
03f0: 53 54 45 52 4d 53 47 46 41 49 4c 2c 0a 09 50 44  STERMSGFAIL,..PD
0400: 45 52 52 5f 50 52 49 4e 54 45 52 43 4f 44 45 53  ERR_PRINTERCODES
0410: 20 20 20 20 20 3d 20 30 78 31 30 30 30 2c 0a 09       = 0x1000,..
0420: 50 44 45 52 52 5f 53 45 54 55 50 46 41 49 4c 55  PDERR_SETUPFAILU
0430: 52 45 2c 0a 09 50 44 45 52 52 5f 50 41 52 53 45  RE,..PDERR_PARSE
0440: 46 41 49 4c 55 52 45 2c 0a 09 50 44 45 52 52 5f  FAILURE,..PDERR_
0450: 52 45 54 44 45 46 46 41 49 4c 55 52 45 2c 0a 09  RETDEFFAILURE,..
0460: 50 44 45 52 52 5f 4c 4f 41 44 44 52 56 46 41 49  PDERR_LOADDRVFAI
0470: 4c 55 52 45 2c 0a 09 50 44 45 52 52 5f 47 45 54  LURE,..PDERR_GET
0480: 44 45 56 4d 4f 44 45 46 41 49 4c 2c 0a 09 50 44  DEVMODEFAIL,..PD
0490: 45 52 52 5f 49 4e 49 54 46 41 49 4c 55 52 45 2c  ERR_INITFAILURE,
04a0: 0a 09 50 44 45 52 52 5f 4e 4f 44 45 56 49 43 45  ..PDERR_NODEVICE
04b0: 53 2c 0a 09 50 44 45 52 52 5f 4e 4f 44 45 46 41  S,..PDERR_NODEFA
04c0: 55 4c 54 50 52 4e 2c 0a 09 50 44 45 52 52 5f 44  ULTPRN,..PDERR_D
04d0: 4e 44 4d 4d 49 53 4d 41 54 43 48 2c 0a 09 50 44  NDMMISMATCH,..PD
04e0: 45 52 52 5f 43 52 45 41 54 45 49 43 46 41 49 4c  ERR_CREATEICFAIL
04f0: 55 52 45 2c 0a 09 50 44 45 52 52 5f 50 52 49 4e  URE,..PDERR_PRIN
0500: 54 45 52 4e 4f 54 46 4f 55 4e 44 2c 0a 09 50 44  TERNOTFOUND,..PD
0510: 45 52 52 5f 44 45 46 41 55 4c 54 44 49 46 46 45  ERR_DEFAULTDIFFE
0520: 52 45 4e 54 2c 0a 09 43 46 45 52 52 5f 43 48 4f  RENT,..CFERR_CHO
0530: 4f 53 45 46 4f 4e 54 43 4f 44 45 53 20 20 3d 20  OSEFONTCODES  = 
0540: 30 78 32 30 30 30 2c 0a 09 43 46 45 52 52 5f 4e  0x2000,..CFERR_N
0550: 4f 46 4f 4e 54 53 2c 0a 09 43 46 45 52 52 5f 4d  OFONTS,..CFERR_M
0560: 41 58 4c 45 53 53 54 48 41 4e 4d 49 4e 2c 0a 09  AXLESSTHANMIN,..
0570: 46 4e 45 52 52 5f 46 49 4c 45 4e 41 4d 45 43 4f  FNERR_FILENAMECO
0580: 44 45 53 20 20 20 20 3d 20 30 78 33 30 30 30 2c  DES    = 0x3000,
0590: 0a 09 46 4e 45 52 52 5f 53 55 42 43 4c 41 53 53  ..FNERR_SUBCLASS
05a0: 46 41 49 4c 55 52 45 2c 0a 09 46 4e 45 52 52 5f  FAILURE,..FNERR_
05b0: 49 4e 56 41 4c 49 44 46 49 4c 45 4e 41 4d 45 2c  INVALIDFILENAME,
05c0: 0a 09 46 4e 45 52 52 5f 42 55 46 46 45 52 54 4f  ..FNERR_BUFFERTO
05d0: 4f 53 4d 41 4c 4c 2c 0a 09 46 52 45 52 52 5f 46  OSMALL,..FRERR_F
05e0: 49 4e 44 52 45 50 4c 41 43 45 43 4f 44 45 53 20  INDREPLACECODES 
05f0: 3d 20 30 78 34 30 30 30 2c 0a 09 46 52 45 52 52  = 0x4000,..FRERR
0600: 5f 42 55 46 46 45 52 4c 45 4e 47 54 48 5a 45 52  _BUFFERLENGTHZER
0610: 4f 2c 0a 09 43 43 45 52 52 5f 43 48 4f 4f 53 45  O,..CCERR_CHOOSE
0620: 43 4f 4c 4f 52 43 4f 44 45 53 20 3d 20 30 78 35  COLORCODES = 0x5
0630: 30 30 30 0a 7d 0a                                000.}.