IFaxDeviceIds::get_Item method (faxcomex.h)

The IFaxDeviceIds::get_Item method represents a device ID from the FaxDeviceIds collection.

Syntax

HRESULT get_Item(
  [in]          long lIndex,
  [out, retval] long *plDeviceId
);

Parameters

[in] lIndex

Type: long

A value specifying the item to retrieve from the collection. Valid values for this parameter are in the range from 1 to n, where n is the number of devices returned by a call to the IFaxDeviceIds::get_Count method.

[out, retval] plDeviceId

Type: long*

Pointer to a value that receives the item requested.

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

FaxDeviceIds

IFaxDeviceIds

Visual Basic Example