Platform SDK: Broadcast Architecture |
Validates and configures the local host to send data to the VBI Inserter or the NIC depending on whether you are using a CSendATVEFMulticast or CSendATVEFInserter object.
HRESULT Connect();
Returns S_OK if the method succeeds; otherwise, an error code is returned.
You can call Connect at any time after initializing the object. Generally, however, you should call Connect as early as possible. This ensures that the method has time to complete the connection before your application needs to transmit data.
Modifying an announcement disconnects the trigger and package streams. You must therefore also call Connect whenever an announcement is modified and before attempting to send any triggers or packages.
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.
Making the Connections, Sending Announcements, Triggers, and Packages, IATVEFSend::SendAnnouncement, IATVEFSend::SendPackage. IATVEFSend::SendTrigger, IATVEFSend::Disconnect