Platform SDK: TAPI

ITTimeCollection::Create

Creates a new ITTime component.

HRESULT Create(
  LONG Index,
  ITTime **ppTime
);

Parameters

Index
[in] Index of the item to create. (The index array is one-based.)
ppTime
[out] Pointer to the ITTime component created.

Return 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.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Sdpblb.h.
  Library: Use Sdpblbid.lib.

See Also

ITTimeCollection, ITTime