IFaxDeviceProviders::get_Item method (faxcomex.h)

The IFaxDeviceProviders::get_Item property returns a FaxDeviceProvider object from the FaxDeviceProviders collection.

Syntax

HRESULT get_Item(
  [in]  VARIANT            vIndex,
  [out] IFaxDeviceProvider **pFaxDeviceProvider
);

Parameters

[in] vIndex

Type: VARIANT

VARIANT that specifies the item to retrieve from the collection.

If this parameter is type VT_I2 or VT_I4, the parameter specifies the index of the item to retrieve from the collection. The index is 1-based. If this parameter is type VT_BSTR, the parameter is the unique name that identifies the FSP to retrieve. Other types are not supported.

[out] pFaxDeviceProvider

Type: IFaxDeviceProvider**

Address of a pointer to a IFaxDeviceProvider interface.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

FaxDeviceProvider

IFaxDeviceProvider

IFaxDeviceProviders

Visual Basic Example