Platforms to show: All Mac Windows Linux Cross-Platform

WIADeviceManager1MBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Image Capture MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The WIADeviceManager1MBS interface is used to create and manage image acquisition devices and to register to receive device events.

WIA 1.x is available on Windows 2000 and newer

Constants

Constant Value Description
kDeviceDialogSingleImage 2 One of the constants for the GetImageDialog method. Restrict image selection to a single image in the device image acquisition dialog box.
Only for WIA 2.x.
kDeviceDialogUseCommonUI 4 One of the constants for the GetImageDialog method. Use the system UI, if available, rather than the vendor-supplied UI. If the system UI is not available, the vendor UI is used. If neither UI is available, the function returns E_NOTIMPL.
kDeviceTypeDefault 0 One of the device type constants.
kDeviceTypeDigitalCamera 2 One of the device type constants.
kDeviceTypeScanner 1 One of the device type constants.
kDeviceTypeStreamingVideo 3 One of the device type constants.
kEnumAll 15 One of the constants for EnumDeviceInfo flags parameter. All devices are enumerated, both locally and remote, including inactive (disconnected) devices and legacy STI-only devices.
kEnumLocal 16 One of the constants for EnumDeviceInfo flags parameter. Only locally connected active scanner devices are enumerated.
kIntentBestPreview &h40000 One of the intent constants for GetImageDialog. Specifies the best quality preview.
kIntentImageTypeColor 1 One of the intent constants for GetImageDialog. Preset properties for color content.
kIntentImageTypeGrayscale 2 One of the intent constants for GetImageDialog. Preset properties for grayscale content.
kIntentImageTypeMask &hF One of the intent constants for GetImageDialog. Mask for all of the image type flags.
kIntentImageTypeText 4 One of the intent constants for GetImageDialog. Preset properties for text content.
kIntentMaximizeQuality &h20000 One of the intent constants for GetImageDialog. Preset properties to maximize image quality.
kIntentMinimizeSize &h10000 One of the intent constants for GetImageDialog. Preset properties to minimize image size.
kIntentNone 0 One of the intent constants for GetImageDialog. Default value. Do not preset any properties.
kIntentSizeMask &hF0000 One of the intent constants for GetImageDialog. Mask for all of the size/quality flags.
kSelectDeviceNoDefault 1 One of the constants for the GetImageDialog method. Force this method to display the Select Device dialog box.
Only for WIA 2.x.

This class has no sub classes.

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS Win Plugin.


WIADeviceInfoEnumeratorMBS   -   WIADeviceManager2MBS


The biggest plugin in space...