Platform SDK: Broadcast Architecture

IATVEFAnnouncement::SetMessageIDHash

Specifies the message ID hash in the SAP header.

HRESULT SetMessageIDHash(
  SHORT Hash
);

Parameters

Hash
Hash value of the SAP message ID for this announcement.

Return Value

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

Remarks

The SAP specification requires that each new or modified announcement use a different message ID, and this in turn requires a different message ID hash in the SAP header. This is not required of announcements that are being re-sent with no modifications.

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.