IWMSPacketList::SetAttribute

banner art

Previous Next

IWMSPacketList::SetAttribute

The SetAttribute method specifies the value of a packet attribute defined by WMS_PACKET_LIST_ATTRIBUTES.

Syntax

  HRESULT SetAttribute(
  
  );

Parameters

ValueName

[in] Member of the WMS_PACKET_LIST_ATTRIBUTES enumeration type. This must be one of the following values.

Value Description
WMS_PACKET_LIST_FLAGS Sets any flags associated with the packet defined by WMS_PACKET_LIST_FLAG_TYPES.
WMS_PACKET_LIST_GENID Sets the number of times the packet list has been processed.
WMS_PACKET_LIST_PLAYLIST_GEN_ID Sets the number of times the playlist has been processed.
WMS_PACKET_SEND_TIME Sets the low-order DWORD send time of the packet list.
WMS_PACKET_SEND_TIME_HI Sets the high-order DWORD send time of the packet list.
WMS_STREAM_SIGNAL Sets stream signal attributes associated with the packet list.

dwValue

[in] Pointer to a DWORD containing the value to set.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Number Description
E_INVALIDARG 0x80070057 dwValueName is not a valid index location.

Requirements

Header: wmspacket.h.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Previous Next