Share via


DeviceInfo.Connect method

Establishes a connection with a device.

Syntax

ppResult = .Connect( _
) As HRESULT

Parameters

This method has no parameters.

Return value

Type: Device**

Returns a Device object.

Remarks

For example code, see Implement a Web Camera ASP Page in Shared Samples.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Reference

ShowAcquisitionWizard

ShowDeviceProperties

ShowSelectDevice

ShowSelectItems

Device

DeviceInfo

Device (VideoPreview)