IWMSPacketList.GetAttribute (C#)

banner art

Previous Next

IWMSPacketList.GetAttribute (C#)

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

Syntax

  

Parameters

dwValueName

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 the packet list has been processed.
WMS_PACKET_LIST_PLAYLIST_GEN_ID Retrieves the number of times 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

Reference to a uint containing the value retrieved.

Return Values

This method does not return a value.

If this method fails, it throws an exception.

Number Description
0x80070057 pdwValue is null or dwValueName is not a valid index location.

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

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

See Also

Previous Next