Platform SDK: Broadcast Architecture

IATVEFAnnouncement::SetMaxCacheSize

Specifies the maximum cache space required for the life of the announcement.

HRESULT SetMaxCacheSize(
  ULONG ulSize
);

Parameters

ulSize
Required size of cache in kilobytes.

Return Value

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

Remarks

This field is required by the ATVEF specification. It allows clients to determine whether they have the resources to play an enhancement from beginning to end.

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.