ReactOS 0.4.16-dev-297-gc569aee
udferr_usr.cpp
Go to the documentation of this file.
1
2// Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
3// All rights reserved
4// This file was released under the GPLv2 on June 2015.
6#include "udferr_usr.h"
7
9 {MKUDF_OK , "Format completed succesfully"},
10 #include "udferr_usr_cpp.h"
11 //{MKUDF_HW_READ_ONLY , "Read-only media"},
12 //{MKUDF_CANT_BLANK , "Can't erase disk"},
13 {MKUDF_INVALID_PARAM_MT , "Unknown media type specified"},
14 {MKUDF_INVALID_PARAM_PT , "Unknown partition type requested"},
15 {MKUDF_INVALID_PARAM , "Invalid comand line"},
16 {MKUDF_HW_CANT_READ_LAYOUT , "Can't read disk layout"},
17 {MKUDF_AUTO_BLOCKCOUNT_FAILED , "Can't obtain last available block address"},
18 {MKUDF_CANT_RECORD_BEA01 , "Write error: Can't record BEA01 descriptor"},
19 {MKUDF_CANT_RECORD_NSR02 , "Write error: Can't record NSR02 descriptor"},
20 {MKUDF_CANT_RECORD_TEA01 , "Write error: Can't record TEA01 descriptor"},
21 {MKUDF_CANT_RECORD_ANCHOR , "Write error: Can't record Anchor Point descriptor"},
22 {MKUDF_CANT_RECORD_PVD , "Write error: Can't record Primary Volume descriptor"},
23 {MKUDF_CANT_RECORD_LVD , "Write error: Can't record Logical Volume descriptor"},
24 {MKUDF_CANT_RECORD_LVID , "Write error: Can't record Logical Volume Integrity descriptor"},
25 {MKUDF_CANT_RECORD_PARTD , "Write error: Can't record Partition descriptor"},
26 {MKUDF_CANT_RECORD_USD , "Write error: Can't record Unallocated Space descriptor"},
27 {MKUDF_CANT_RECORD_IUVD , "Write error: Can't record Implementation Use Volume descriptor"},
28 {MKUDF_CANT_RECORD_TERMD , "Write error: Can't record Terminating descriptor"},
29 {MKUDF_CANT_RECORD_FSD , "Write error: Can't record Free Space descriptor"},
30 {MKUDF_CANT_RECORD_SPT , "Write error: Can't record File Set descriptor"},
31 {MKUDF_PARTITION_TOO_SHORT , "Requested partition size is too small."},
32 {MKUDF_CANT_RECORD_FSBM , "Write error: Can't record Free Space Bitmap"},
33 {MKUDF_CANT_RECORD_ROOT_FE , "Write error: Can't record Root File Entry"},
34 {MKUDF_CANT_RECORD_VAT_FE , "Write error: Can't record VAT File Entry"},
35 {MKUDF_CANT_OPEN_FILE , "Can't open device or image file"},
36 {MKUDF_CANT_RESERVE_TRACK , "Can't reserve track for UDF VAT partition"},
37 {MKUDF_VAT_MULTISESS_NOT_SUPP , "Can't add UDF VAT session.\n"
38 "Blank (empty) media required"},
39 {MKUDF_NOT_ENOUGH_PARAMS , "Too few command line parameters"},
40 {MKUDF_INVALID_PT_FOR_HDD , "Invalid partition type for HDD"},
41 {MKUDF_INVALID_PT_FOR_WORM , "Invalid partition type for CD-R"},
42 {MKUDF_CANT_FORMAT , "Can't format media"},
43 {MKUDF_MEDIA_TYPE_NOT_SUPP , "Unsupported media type"},
44 {MKUDF_INVALID_PARAM_BC_FOR_VAT , "Block Count should not be specified for VAT partitions"},
45 {MKUDF_HW_PARTITION_TOO_SHORT , "Not enough free space on media"},
46 {MKUDF_CANT_LOCK_VOL , "Can't open volume for exclusive use"},
47 {MKUDF_CANT_SET_WPARAMS , "Can't set Write Parameters to prepare for recording"},
48 {MKUDF_HW_WRITE_ERROR , "Device write error"},
49 {MKUDF_BLANK_MEDIA_REQUIRED , "Blank (empty) media required"},
50 {MKUDF_INVALID_PT_FOR_BLANK , "Partition Type should not be specified for Erase operation"},
51 {MKUDF_FINALIZE_TOO_MANY_PARAMS , "Extra parameters for VAT partition finalization"},
52 {MKUDF_NO_ANCHOR_FOUND , "Can't locate UDF VAT partition: No valid Anchor Point descriptor found"},
53 {MKUDF_HW_INVALID_NWA , "Invalid Next Writable Address returned"},
54 {MKUDF_NO_MEDIA_IN_DEVICE , "No media in device"},
55 {MKUDF_INVALID_BC , "Invalid Block Count"},
56 {MKUDF_INVALID_MT_FOR_BLANK , "Can't erase CD/DVD-R"},
57 {MKUDF_HW_CANT_SET_WRITE_PARAMS , "Can't set proper write mode"},
58 {MKUDF_CANT_ALLOW_DASD_IO , "Direct access to volume not permitted"},
59 {MKUDF_CANT_DISMOUNT_VOLUME , "Can't dismount volume"},
60 {MKUDF_FORMAT_REQUIRED , "Disc is not formatted (empty).\n"
61 "Physical format required."},
62 {MKUDF_FULL_BLANK_REQUIRED , "CD/DVD Drive requires Full Erase to proceed with format"},
63 {MKUDF_NO_SUITABLE_MODE_FOR_FMT , "Can't find suitable write mode to format media"},
64 {MKUDF_CANT_BLANK_DVDRAM , "DVD-RAM is not erasable"},
65 {MKUDF_CANT_RESERVE_ISO_SPACE , "Can't allocate space for ISO structures"},
66 {MKUDF_CANT_RECORD_NOTALLOC_FE , "Can't record Non-Allocated Space File Entry"},
67 {MKUDF_BAD_BLOCK_IN_SYSTEM_AREA , "System area of the disk is completely damaged.\n"
68 "Sectors between 0 and 2048 are unusable."},
69 {MKUDF_CANT_OPEN_ISO_IMAGE , "Can't open ISO image"},
70 {MKUDF_BAD_ISO_IMAGE_ALIGN , "ISO image must be aligned to sector size (2048 bytes)"},
71 {MKUDF_CANT_READ_ISO_IMAGE , "ISO image read error"},
72 {MKUDF_CANT_WRITE_ISO_IMAGE , "Can't write ISO image to CD"},
73 {MKUDF_INVALID_PARAM_SPEED , "Invalid speed value"},
74 {MKUDF_CANT_MAKE_WINUDF , "System area of the disk contains some bad blocks.\n"
75 "Can't allocate disk structres in Windows-compatible fashion"},
76 {MKUDF_FLUSH_ERROR , "Error during data flush. Disk may become unreadable or readonly"},
77 {MKUDF_FINAL_VERIFY_FAILED , "Final post-formatting Volume verification failed"},
78 {MKUDF_INSUFFICIENT_MEMORY , "Insufficient memory"},
79 {MKUDF_CANT_CREATE_THREAD , "Can't start formatting thread"},
80 {MKUDF_CANT_APPLY_R , "Can't use media as CD/DVD-R"},
81 {MKUDF_USER_BREAK , "Operation aborted by user request"},
82 {MKUDF_INVALID_USER_BUFFER , "Invalid user-supplied buffer"},
83 {MKUDF_INTERNAL_ERROR , "Internal error"},
84 {MKUDF_INVALID_PARAM_VFIN , "Invalid filename for input bad block list"},
85 {MKUDF_INVALID_PARAM_VFOUT , "Invalid filename for bad block list storage"},
86 {MKUDF_CANT_CREATE_BB_LOG , "Can't create file for bad block list"},
87 {MKUDF_CANT_OPEN_BB_LOG , "Can't open file with bad block list"},
88 {MKUDF_INSUFFICIENT_PRIVILIGES , "Insufficient privileges. Administrative rights required."},
89 {MKUDF_BLANK_FORMAT_REQUIRED , "Disc is not formatted (contains not Packet-formatted tracks).\n"
90 "Erase and Physical format required."},
91 {MKUDF_NO_DEVICE_NAME , "No device name specified."},
92 {MKUDF_CANT_FLUSH , "Can't flush volume."},
93 {MKUDF_INVALID_PARAM_ISO_MODE , "Invalid sector mode for ISO recording"},
94 {MKUDF_INVALID_PARAM_ISO_SES , "Invalid multisession mode for ISO recording"},
95 {MKUDF_SMART_BLANK_FORMAT_FAILED, "Disc is not empty.\n"
96 "Automatic erase+format failed."},
97 {MKUDF_SMART_FORMAT_FAILED, "Disc is empty.\n"
98 "Automatic format failed."},
99 {MKUDF_OTHER_PACKET_FS , "Disc is physically formatted, but contains other FS structures"},
100 {MKUDF_RAW_PACKET_FS , "Disc is physically formatted and doesn't contain FS structures"},
101 {MKUDF_CANT_ZERO , "Zero-filling failed after Erase-via-Format workaround."},
102
103 {MKUDF_NO_UNERASE_FOR_THIS_MEDIA, "Unerase is available for CD media only."},
104 {MKUDF_UNERASE_FAILED , "Can't start unerase process."},
105 {MKUDF_INVALID_PARAM_REVISION , "Invalid UDF FS Revision."},
106 {MKUDF_FORMAT_IN_PROGRESS , "Format or Erase is already started for this device."},
107
108 {MKUDF_CANT_CREATE_ISO_IMAGE , "Can't create ISO image"},
109
110 {MKUDF_ABORTED , "Aborted by user"},
111// {MKUDF_INVALID_MT_FOR_BLANK , "Can't blank WORM"},
112// {MKUDF_INVALID_MT_FOR_BLANK , "Can't blank WORM"},
113
114 {CHKUDF_CANT_MOUNT , "Can't mount volume for checking"},
115
116 {0xffffffff , "Unknown error"}
117};
118
struct err_msg_item mkudf_err_msg[]
Definition: udferr_usr.cpp:8
#define MKUDF_BLANK_FORMAT_REQUIRED
Definition: udferr_usr.h:88
#define MKUDF_INVALID_PT_FOR_HDD
Definition: udferr_usr.h:42
#define MKUDF_CANT_RECORD_PARTD
Definition: udferr_usr.h:28
#define MKUDF_CANT_RECORD_FSBM
Definition: udferr_usr.h:35
#define MKUDF_INVALID_USER_BUFFER
Definition: udferr_usr.h:81
#define MKUDF_CANT_RECORD_NSR02
Definition: udferr_usr.h:22
#define MKUDF_INVALID_PT_FOR_WORM
Definition: udferr_usr.h:43
#define MKUDF_INVALID_MT_FOR_BLANK
Definition: udferr_usr.h:58
#define MKUDF_CANT_RECORD_VAT_FE
Definition: udferr_usr.h:37
#define MKUDF_INSUFFICIENT_MEMORY
Definition: udferr_usr.h:77
#define MKUDF_HW_CANT_SET_WRITE_PARAMS
Definition: udferr_usr.h:59
#define MKUDF_HW_PARTITION_TOO_SHORT
Definition: udferr_usr.h:47
#define MKUDF_ABORTED
Definition: udferr_usr.h:103
#define MKUDF_INSUFFICIENT_PRIVILIGES
Definition: udferr_usr.h:87
#define MKUDF_FORMAT_IN_PROGRESS
Definition: udferr_usr.h:101
#define MKUDF_NO_SUITABLE_MODE_FOR_FMT
Definition: udferr_usr.h:64
#define MKUDF_CANT_OPEN_BB_LOG
Definition: udferr_usr.h:86
#define MKUDF_MEDIA_TYPE_NOT_SUPP
Definition: udferr_usr.h:45
#define MKUDF_BAD_BLOCK_IN_SYSTEM_AREA
Definition: udferr_usr.h:68
#define MKUDF_INVALID_PARAM_VFOUT
Definition: udferr_usr.h:84
#define MKUDF_HW_INVALID_NWA
Definition: udferr_usr.h:55
#define CHKUDF_CANT_MOUNT
Definition: udferr_usr.h:107
#define MKUDF_CANT_ALLOW_DASD_IO
Definition: udferr_usr.h:60
#define MKUDF_USER_BREAK
Definition: udferr_usr.h:80
#define MKUDF_CANT_CREATE_THREAD
Definition: udferr_usr.h:78
#define MKUDF_CANT_RECORD_LVID
Definition: udferr_usr.h:27
#define MKUDF_CANT_RECORD_TEA01
Definition: udferr_usr.h:23
#define MKUDF_FINAL_VERIFY_FAILED
Definition: udferr_usr.h:76
#define MKUDF_CANT_OPEN_ISO_IMAGE
Definition: udferr_usr.h:69
#define MKUDF_HW_WRITE_ERROR
Definition: udferr_usr.h:50
#define MKUDF_CANT_CREATE_BB_LOG
Definition: udferr_usr.h:85
#define MKUDF_CANT_RECORD_IUVD
Definition: udferr_usr.h:30
#define MKUDF_INTERNAL_ERROR
Definition: udferr_usr.h:82
#define MKUDF_OTHER_PACKET_FS
Definition: udferr_usr.h:95
#define MKUDF_CANT_RECORD_NOTALLOC_FE
Definition: udferr_usr.h:67
#define MKUDF_CANT_RECORD_PVD
Definition: udferr_usr.h:25
#define MKUDF_INVALID_PARAM_REVISION
Definition: udferr_usr.h:100
#define MKUDF_INVALID_PARAM_MT
Definition: udferr_usr.h:16
#define MKUDF_CANT_SET_WPARAMS
Definition: udferr_usr.h:49
#define MKUDF_SMART_FORMAT_FAILED
Definition: udferr_usr.h:94
#define MKUDF_CANT_READ_ISO_IMAGE
Definition: udferr_usr.h:71
#define MKUDF_INVALID_PARAM_BC_FOR_VAT
Definition: udferr_usr.h:46
#define MKUDF_UNERASE_FAILED
Definition: udferr_usr.h:99
#define MKUDF_CANT_RESERVE_TRACK
Definition: udferr_usr.h:39
#define MKUDF_CANT_MAKE_WINUDF
Definition: udferr_usr.h:74
#define MKUDF_FINALIZE_TOO_MANY_PARAMS
Definition: udferr_usr.h:53
#define MKUDF_INVALID_BC
Definition: udferr_usr.h:57
#define MKUDF_CANT_RECORD_FSD
Definition: udferr_usr.h:32
#define MKUDF_FLUSH_ERROR
Definition: udferr_usr.h:75
#define MKUDF_RAW_PACKET_FS
Definition: udferr_usr.h:96
#define MKUDF_CANT_FLUSH
Definition: udferr_usr.h:90
#define MKUDF_BAD_ISO_IMAGE_ALIGN
Definition: udferr_usr.h:70
#define MKUDF_INVALID_PARAM_SPEED
Definition: udferr_usr.h:73
#define MKUDF_VAT_MULTISESS_NOT_SUPP
Definition: udferr_usr.h:40
#define MKUDF_INVALID_PARAM_ISO_MODE
Definition: udferr_usr.h:91
#define MKUDF_CANT_APPLY_R
Definition: udferr_usr.h:79
#define MKUDF_CANT_RECORD_SPT
Definition: udferr_usr.h:33
#define MKUDF_CANT_BLANK_DVDRAM
Definition: udferr_usr.h:65
#define MKUDF_CANT_RECORD_BEA01
Definition: udferr_usr.h:21
#define MKUDF_CANT_RESERVE_ISO_SPACE
Definition: udferr_usr.h:66
#define MKUDF_BLANK_MEDIA_REQUIRED
Definition: udferr_usr.h:51
#define MKUDF_FORMAT_REQUIRED
Definition: udferr_usr.h:62
#define MKUDF_CANT_DISMOUNT_VOLUME
Definition: udferr_usr.h:61
#define MKUDF_NO_DEVICE_NAME
Definition: udferr_usr.h:89
#define MKUDF_SMART_BLANK_FORMAT_FAILED
Definition: udferr_usr.h:93
#define MKUDF_CANT_ZERO
Definition: udferr_usr.h:97
#define MKUDF_INVALID_PARAM
Definition: udferr_usr.h:18
#define MKUDF_FULL_BLANK_REQUIRED
Definition: udferr_usr.h:63
#define MKUDF_NO_ANCHOR_FOUND
Definition: udferr_usr.h:54
#define MKUDF_INVALID_PT_FOR_BLANK
Definition: udferr_usr.h:52
#define MKUDF_CANT_FORMAT
Definition: udferr_usr.h:44
#define MKUDF_CANT_OPEN_FILE
Definition: udferr_usr.h:38
#define MKUDF_INVALID_PARAM_ISO_SES
Definition: udferr_usr.h:92
#define MKUDF_NO_MEDIA_IN_DEVICE
Definition: udferr_usr.h:56
#define MKUDF_CANT_LOCK_VOL
Definition: udferr_usr.h:48
#define MKUDF_CANT_RECORD_USD
Definition: udferr_usr.h:29
#define MKUDF_NO_UNERASE_FOR_THIS_MEDIA
Definition: udferr_usr.h:98
#define MKUDF_CANT_RECORD_ANCHOR
Definition: udferr_usr.h:24
#define MKUDF_INVALID_PARAM_VFIN
Definition: udferr_usr.h:83
#define MKUDF_CANT_RECORD_LVD
Definition: udferr_usr.h:26
#define MKUDF_INVALID_PARAM_PT
Definition: udferr_usr.h:17
#define MKUDF_AUTO_BLOCKCOUNT_FAILED
Definition: udferr_usr.h:20
#define MKUDF_PARTITION_TOO_SHORT
Definition: udferr_usr.h:34
#define MKUDF_HW_CANT_READ_LAYOUT
Definition: udferr_usr.h:19
#define MKUDF_CANT_RECORD_ROOT_FE
Definition: udferr_usr.h:36
#define MKUDF_CANT_CREATE_ISO_IMAGE
Definition: udferr_usr.h:102
#define MKUDF_CANT_RECORD_TERMD
Definition: udferr_usr.h:31
#define MKUDF_NOT_ENOUGH_PARAMS
Definition: udferr_usr.h:41
#define MKUDF_CANT_WRITE_ISO_IMAGE
Definition: udferr_usr.h:72
#define MKUDF_OK
Definition: udferr_usr.h:12