Platform SDK: Broadcast Architecture

IATVEFPackage::Close

Closes the package of enhancement files so that it can be sent.

HRESULT Close();

Return Value

Returns S_OK if the method succeeds; otherwise, an error code is returned.

Remarks

After a package has been closed, it cannot be reopened and no more files can be added to it. A package must be closed before it can be sent.

Once the package is closed, you can call IATVEFPackage::GetTransmitTime to determine how long it will take to transmit the package to clients.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 98.
  Header: Declared in atvefsnd.idl.
  Import Library: Included as a resource in atvefsnd.dll.

See Also

Sending Announcements, Packages, and Triggers, IATVEFSend::SendPackage, IATVEFPackage::GetTransmitTime