Platform SDK: TAPI

ITAttributeList::get_Item

Returns the attribute specified by the index.

HRESULT get_Item(
  LONG Index,
  BSTR *pVal
);

Parameters

Index
[in] Index of item to get.
pVal
[out] Pointer to BSTR containing values of the item.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The pVal parameter is not a valid pointer.
E_INVALIDARG The Index parameter is not valid.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_FAIL Unspecified error.
E_NOTIMPL This method is not yet implemented.

Remarks

The application must use SysFreeString to free the memory allocated for the pVal parameter.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Sdpblb.h.
  Library: Use Sdpblbid.lib.

See Also

ITAttributeList