IFaxDeviceIds::get_Item method (faxcomex.h)

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

Syntax

HRESULT get_Item(
  long lIndex,
  long *plDeviceId
);

Parameters

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.

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

   
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