ITTimeCollection::Create method

[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The Create method creates a new ITTime component.

Syntax

HRESULT Create(
  [in]  LONG   Index,
  [out] ITTime **ppTime
);

Parameters

Index [in]

Index of the item to create. (The index array is one-based.)

ppTime [out]

Pointer to the b component created.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_POINTER
The ppTime parameter is not a valid pointer.
E_INVALIDARG
The Index parameter is not valid.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
E_FAIL
Unspecified error.
E_NOTIMPL
This method is not yet implemented.

Remarks

TAPI calls the AddRef method on the ITTime interface returned by ITTimeCollection::Create. The application must call Release on the v interface to free resources associated with it.

This function may send data over the wire in unencrypted form; therefore, someone eavesdropping on the network may be able to read the data. The security risk of sending the data in clear text should be considered before using this method.

Requirements

Requirement Value
TAPI version
Requires TAPI 3.0 or later
Header
Sdpblb.h
Library
Uuid.lib
DLL
Sdpblb.dll

See also

ITTimeCollection

ITTime