Share via


IVoIPCallLogDB::Capacity (Windows Embedded CE 6.0)

1/6/2010

This method sets or retrieves the maximum number of allowable records in each call log database.

Syntax

HRESULT put_Capacity( 
  int cRecords
);
HRESULT get_Capacity( 
  int* cRecords 
);

Parameters

  • cRecords
    [in],[out, retval] The number of records for the database.

Return Value

The following table shows the possible return value.

Value Description

VOIP_E_NOTINITIALIZED

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

Remarks

This method keeps a separate count of records for each call log database. If a record is committed to a database that has reached its capacity limit, the oldest entry in the database is automatically deleted.

Remarks

Note

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

Requirements

Header Voipstore.h, voipstore.idl
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IVoIPCallLogDB
VAIL Database Store Reference