IWMSPacketList::GetAttribute

banner art

Previous Next

IWMSPacketList::GetAttribute

The GetAttribute method retrieves the value of a packet attribute defined by WMS_PACKET_LIST_ATTRIBUTES.

Syntax

  HRESULT GetAttribute(
  
  );

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 Retrieves any flags associated with the packet defined by WMS_PACKET_LIST_FLAG_TYPES.
WMS_PACKET_LIST_GENID Retrieves the number of times that the packet list has been processed.
WMS_PACKET_LIST_PLAYLIST_GEN_ID Retrieves the number of times that the playlist has been processed.
WMS_PACKET_SEND_TIME Retrieves the low-order DWORD send time of the packet list.
WMS_PACKET_SEND_TIME_HI Retrieves the high-order DWORD send time of the packet list.
WMS_STREAM_SIGNAL Retrieves stream-signal attributes associated with the packet list.

pdwValue

[out] Pointer to a DWORD containing the value retrieved.

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 pdwValue is null or 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