IVoIPCallerInfoDB::FindCallerInfoByURI (Windows Embedded CE 6.0)
1/6/2010
This method searches the caller information database for a caller information record that matches the specified URI*.*
Syntax
HRESULT FindCallerInfoByURI(
BSTR bstrURI,
IVoIPCallerInfoRecord** ppiRecord
);
Parameters
- bstrURI
[in] The URI of the record to find.
- ppiRecord
[out, retval] Pointer to the IVoIPCallerInfoRecord interface for the record that matches the supplied URI. If no record is found, this value is set to NULL. If the method succeeds, an object is created. The caller must free this object by using IUnknown::Release when the object is no longer being used.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
VOIP_E_NOTINITIALIZED |
The database is not initialized.IVoIPCallerInfoDB::Init must be called before this method can complete successfully. |
VOIP_E_RECORDNOTINDB |
Search failed. |
Remarks
Note
This documentation applies to functionality implemented in sample code for the VAIL Database Store. For more information, see VAIL Database Store Reference.
You can use the FindCallerInfoByURI method to populate an incoming or outgoing caller's current call record with the user-defined information from a caller information record.
Requirements
Header | Voipstore.h, voipstore.idl |
Windows Embedded CE | Windows CE .NET 4.2 and later |
See Also
Reference
IVoIPCallerInfoDB
VAIL Database Store Reference
IVoIPCallerInfoDB::Init
IVoIPCallerInfoRecord