IWiaDevMgr

IWiaDevMgr interface

Applications use the IWiaDevMgr interface to create and manage image acquisition devices. They also use it to register to receive device events.

Note  For Windows Vista applications, use IWiaDevMgr2 instead of IWiaDevMgr.
 

Members

The IWiaDevMgr interface inherits from the IUnknown interface. IWiaDevMgr also has these types of members:

Methods

The IWiaDevMgr interface has these methods.

MethodDescription
AddDeviceDlg

Not implemented.

CreateDevice

The IWiaDevMgr::CreateDevice creates a hierarchical tree of IWiaItem objects for a WIA device.

EnumDeviceInfo

Applications use the IWiaDevMgr::EnumDeviceInfo method to enumerate property information for each available WIA device.

GetImageDlg

The IWiaDevMgr::GetImageDlg method displays one or more dialog boxes that enable a user to acquire an image from a WIA device and write the image to a specified file. This method combines the functionality of IWiaDevMgr::SelectDeviceDlg to completely encapsulate image acquisition within a single API call.

RegisterEventCallbackCLSID

The IWiaDevMgr::RegisterEventCallbackCLSID method registers an application to receive events even if the application may not be running.

RegisterEventCallbackInterface

The IWiaDevMgr::RegisterEventCallbackInterface method registers a running application WIA event notification.

RegisterEventCallbackProgram

The IWiaDevMgr::RegisterEventCallbackProgram method registers an application to receive device events. It is primarily provided for backward compatibility with applications that were not written for WIA.

SelectDeviceDlg

The IWiaDevMgr::SelectDeviceDlg displays a dialog box that enables the user to select a hardware device for image acquisition.

SelectDeviceDlgID

The IWiaDevMgr::SelectDeviceDlgID method displays a dialog box that enables the user to select a hardware device for image acquisition.

 

Remarks

The IWiaDevMgr interface, like all Component Object Model (COM) interfaces, inherits the IUnknown interface methods.

IUnknown MethodsDescription
IUnknown::QueryInterface Returns pointers to supported interfaces.
IUnknown::AddRef Increments reference count.
IUnknown::Release Decrements reference count.

 

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wia.h

Library

Wiaguid.lib

DLL

Wiaservc.dll

 

 

Show:
© 2016 Microsoft