ITAttributeList::Add method
[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]
The Add method adds the attribute at the specified index.
Syntax
HRESULT Add(
[in] LONG Index,
[in] BSTR pAttribute
);
Parameters
-
Index [in]
-
Index of the attribute to add.
-
pAttribute [in]
-
Pointer to a BSTR containing the value of the attribute to add.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The Index or pAttribute parameter is not valid. |
|
Insufficient memory exists to perform the operation. |
|
Unspecified error. |
|
This method is not yet implemented. |
Remarks
The application must use SysAllocString to allocate memory for the pAttribute parameter and use SysFreeString to free the memory when the variable is no longer needed.
Requirements
Requirement | Value |
---|---|
TAPI version |
Requires TAPI 3.0 or later |
Header |
|
Library |
|
DLL |
|