Share via


IVoIPCallerInfoDB::CreateRecord (Windows Embedded CE 6.0)

1/6/2010

This method creates a new record associated with this database.

Syntax

HRESULT CreateRecord( 
  IVoIPCallerInfoRecord** ppiRecord 
);

Parameters

  • ppiRecord
    [out, retval] Pointer to the IVoIPCallerInfoRecord interface for the new information record. All the fields in the record are set to default empty or invalid values. 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 value.

Value Description

VOIP_E_NOTINITIALIZED

The database is not initialized.IVoIPCallerInfoDB::Init must be called before this method can complete successfully.

Remarks

Note

This documentation applies to functionality implemented in sample code for the VAIL Database Store. For more information, see VAIL Database Store Reference.

The record created is not immediately placed in the database. Instead, it is associated with the database. To add the record to the database, the application must call the IVoIPCallerInfoRecord::Commit method.

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