PHInitCallerInfoDB (Windows Embedded CE 6.0)
1/6/2010
This function calls and initializes the Caller Info Database. The function retrieves a pointer to the shared Caller Info database for all PhCommon processes. It ensures that all processes initialize the shared database in the same way.
Syntax
HRESULT PHInitCallerInfoDB(
IVoIPCallerInfoDB** piCallerInfoDB
);
Parameters
- piCallerInfoDB
[out] A pointer to an IVoIPCallerInfoDB interface that will hold the information about the database.
Return Value
The function returns an HRESULT indicating if the call succeeded or failed. The following table shows additional possible return values.
Value | Description |
---|---|
E_FAIL |
Failure. |
E_INVALIDARG |
The passed pointer was invalid or NULL. |
Remarks
Note
This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.
This function calls CoCreateInstance on CLSID_VoIPCallerInfoDB. You must pass a valid pointer into the function.
Requirements
Header | databaseapi.hpp |
Library | PhCommon.dll |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
See Also
Reference
PhCommon Database APIs
PhCommon Reference
VAIL Database Store Reference
Other Resources
Using the VAIL Database Store and Call Logging
Changing How Call Log and Caller Information is Stored