| | | DBPix Sample Source Code: WIAConstants Back to sample
Option Compare Database
Option Explicit
' Miscellaneous
Public Const wiaIDUnknown = "{00000000-0000-0000-0000-000000000000}"
Public Const wiaAnyDeviceID = "*"
' FormatID
Public Const wiaFormatBMP = "{B96B3CAB-0728-11D3-9D7B-0000F81EF32E}"
Public Const wiaFormatPNG = "{B96B3CAF-0728-11D3-9D7B-0000F81EF32E}"
Public Const wiaFormatGIF = "{B96B3CB0-0728-11D3-9D7B-0000F81EF32E}"
Public Const wiaFormatJPEG = "{B96B3CAE-0728-11D3-9D7B-0000F81EF32E}"
Public Const wiaFormatTIFF = "{B96B3CB1-0728-11D3-9D7B-0000F81EF32E}"
' EventID
Public Const wiaEventDeviceConnected = "{A28BBADE-64B6-11D2-A231-00C04FA31809}"
Public Const wiaEventDeviceDisconnected = "{143E4E83-6497-11D2-A231-00C04FA31809}"
Public Const wiaEventItemCreated = "{4C8F4EF5-E14F-11D2-B326-00C04F68CE61}"
Public Const wiaEventItemDeleted = "{1D22A559-E14F-11D2-B326-00C04F68CE61}"
Public Const wiaEventScanImage = "{A6C5A715-8C6E-11D2-977A-0000F87A926F}"
Public Const wiaEventScanPrintImage = "{B441F425-8C6E-11D2-977A-0000F87A926F}"
Public Const wiaEventScanFaxImage = "{C00EB793-8C6E-11D2-977A-0000F87A926F}"
Public Const wiaEventScanOCRImage = "{9D095B89-37D6-4877-AFED-62A297DC6DBE}"
Public Const wiaEventScanEmailImage = "{C686DCEE-54F2-419E-9A27-2FC7F2E98F9E}"
Public Const wiaEventScanFilmImage = "{9B2B662C-6185-438C-B68B-E39EE25E71CB}"
Public Const wiaEventScanImage2 = "{FC4767C1-C8B3-48A2-9CFA-2E90CB3D3590}"
Public Const wiaEventScanImage3 = "{154E27BE-B617-4653-ACC5-0FD7BD4C65CE}"
Public Const wiaEventScanImage4 = "{A65B704A-7F3C-4447-A75D-8A26DFCA1FDF}"
' CommandID
Public Const wiaCommandSynchronize = "{9B26B7B2-ACAD-11D2-A093-00C04F72DC3C}"
Public Const wiaCommandTakePicture = "{AF933CAC-ACAD-11D2-A093-00C04F72DC3C}"
Public Const wiaCommandDeleteAllItems = "{E208C170-ACAD-11D2-A093-00C04F72DC3C}"
Public Const wiaCommandChangeDocument = "{04E725B0-ACAE-11D2-A093-00C04F72DC3C}"
Public Const wiaCommandUnloadDocument = "{1F3B3D8E-ACAE-11D2-A093-00C04F72DC3C}"
' WiaSubType enumeration
Public Const UnspecifiedSubType = 0
Public Const RangeSubType = 1
Public Const ListSubType = 2
Public Const FlagSubType = 3
' WiaDeviceType enumeration
Public Const UnspecifiedDeviceType = 0
Public Const ScannerDeviceType = 1
Public Const CameraDeviceType = 2
Public Const VideoDeviceType = 3
' WiaItemFlag enumeration
Public Const FreeItemFlag = &H0
Public Const ImageItemFlag = &H1
Public Const FileItemFlag = &H2
Public Const FolderItemFlag = &H4
Public Const RootItemFlag = &H8
Public Const AnalyzeItemFlag = &H10
Public Const AudioItemFlag = &H20
Public Const DeviceItemFlag = &H40
Public Const DeletedItemFlag = &H80
Public Const DisconnectedItemFlag = &H100
Public Const HPanoramaItemFlag = &H200
Public Const VPanoramaItemFlag = &H400
Public Const BurstItemFlag = &H800
Public Const StorageItemFlag = &H1000
Public Const TransferItemFlag = &H2000
Public Const GeneratedItemFlag = &H4000
Public Const HasAttachmentsItemFlag = &H8000
Public Const VideoItemFlag = &H10000
Public Const RemovedItemFlag = &H80000000
' WiaPropertyType enumeration
Public Const UnsupportedPropertyType = 0
Public Const BooleanPropertyType = 1
Public Const BytePropertyType = 2
Public Const IntegerPropertyType = 3
Public Const UnsignedIntegerPropertyType = 4
Public Const LongPropertyType = 5
Public Const UnsignedLongPropertyType = 6
Public Const ErrorCodePropertyType = 7
Public Const LargeIntegerPropertyType = 8
Public Const UnsignedLargeIntegerPropertyType = 9
Public Const SinglePropertyType = 10
Public Const DoublePropertyType = 11
Public Const CurrencyPropertyType = 12
Public Const DatePropertyType = 13
Public Const FileTimePropertyType = 14
Public Const ClassIDPropertyType = 15
Public Const StringPropertyType = 16
Public Const ObjectPropertyType = 17
Public Const HandlePropertyType = 18
Public Const VariantPropertyType = 19
Public Const VectorOfBooleansPropertyType = 101
Public Const VectorOfBytesPropertyType = 102
Public Const VectorOfIntegersPropertyType = 103
Public Const VectorOfUnsignedIntegersPropertyType = 104
Public Const VectorOfLongsPropertyType = 105
Public Const VectorOfUnsignedLongsPropertyType = 106
Public Const VectorOfErrorCodesPropertyType = 107
Public Const VectorOfLargeIntegersPropertyType = 108
Public Const VectorOfUnsignedLargeIntegersPropertyType = 109
Public Const VectorOfSinglesPropertyType = 110
Public Const VectorOfDoublesPropertyType = 111
Public Const VectorOfCurrenciesPropertyType = 112
Public Const VectorOfDatesPropertyType = 113
Public Const VectorOfFileTimesPropertyType = 114
Public Const VectorOfClassIDsPropertyType = 115
Public Const VectorOfStringsPropertyType = 116
Public Const VectorOfVariantsPropertyType = 119
' WiaImagePropertyType enumeration
Public Const UndefinedImagePropertyType = 1000
Public Const ByteImagePropertyType = 1001
Public Const StringImagePropertyType = 1002
Public Const UnsignedIntegerImagePropertyType = 1003
Public Const LongImagePropertyType = 1004
Public Const UnsignedLongImagePropertyType = 1005
Public Const RationalImagePropertyType = 1006
Public Const UnsignedRationalImagePropertyType = 1007
Public Const VectorOfUndefinedImagePropertyType = 1100
Public Const VectorOfBytesImagePropertyType = 1101
Public Const VectorOfUnsignedIntegersImagePropertyType = 1102
Public Const VectorOfLongsImagePropertyType = 1103
Public Const VectorOfUnsignedLongsImagePropertyType = 1104
Public Const VectorOfRationalsImagePropertyType = 1105
Public Const VectorOfUnsignedRationalsImagePropertyType = 1106
' WiaEventFlag enumeration
Public Const NotificationEvent = 1
Public Const ActionEvent = 2
' WiaImageIntent enumeration
Public Const UnspecifiedIntent = 0
Public Const ColorIntent = 1
Public Const GrayscaleIntent = 2
Public Const TextIntent = 4
' WiaImageBias enumeration
Public Const MinimizeSize = 65536
Public Const MaximizeQuality = 131072
Back to sample
|
|
|