IVoIPCallLogDB::Capacity

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

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

Parameters

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

Return Values

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 the capacity limit, the oldest entry in the database is automatically deleted.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Voipstore.idl.
Link Library: Voipguid.lib.

See Also

VoIP Application Interface Layer Architecture | VoIP Application Interface Layer Reference

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.