ZelloWork Client SDK  2.51
Public Member Functions | Properties | List of all members
IHistory Interface Reference

Inherits IDispatch.

Public Member Functions

HRESULT Find ([in] BSTR bstrId, [out, retval] IMessage **ppMessage)
 
HRESULT DeleteAll ()
 

Properties

int Count [get]
 
IMessage Item ([in] int iIndex) [get]
 

Detailed Description

IHistory interface allows to enumerate and manage messages.

Member Function Documentation

§ Find()

HRESULT Find ( [in] BSTR  bstrId,
[out, retval] IMessage **  ppMessage 
)

Find message by ID. If result represents an audio message, it can be queried for IAudioMessage, IAudioInMessage or IAudioOutMessage.

Parameters
bstrIdMessage ID.
ppMessageReturn value. NULL is returned if message with given ID doesn't exist.

§ DeleteAll()

HRESULT DeleteAll ( )

Delete all messages contained in this history object.

Property Documentation

§ Count

int Count
getproperty

Get number of messages.

Parameters
piValReturn value.

§ Item

IMessage Item([in] int iIndex)
getproperty

Get message by index. If result represents an audio message, it can be queried for IAudioMessage, IAudioInMessage or IAudioOutMessage.

Parameters
iIndexMessage index.
ppMessageReturn value.