Share via


IWMSPacket.GetAttribute (Visual Basic .NET)

banner art

Previous Next

IWMSPacket.GetAttribute (Visual Basic .NET)

The GetAttribute method retrieves the value of a packet attribute that is defined by WMS_PACKET_ATTRIBUTES.

Syntax

  

Parameters

dwValueName

Member of the WMS_PACKET_ATTRIBUTES enumeration type. This must be one of the following values.

Value Description
WMS_PACKET_DURATION Retrieves the duration of the packet.
WMS_PACKET_ERASURES_DETECTED Retrieves a value indicating whether the packet was dropped.
WMS_PACKET_FLAGS Retrieves any flags associated with the packet defined by WMS_PACKET_LIST_ATTRIBUTES.
WMS_PACKET_LENGTH Retrieves the length of the packet.
WMS_PACKET_NET_SEQUENCE_NUMBER Retrieves the number of the packet in the sequence.
WMS_PACKET_NUM_BUFFERS Retrieves the count of buffers in the packet.
WMS_PACKET_NUM_NACKS Retrieves the number of times the packet has been resent.
WMS_PACKET_PACKET_NUM Retrieves the number of the packet.
WMS_PACKET_PACKETIZED_HDRLEN Retrieves the header length of the packet.
WMS_PACKET_PRESENT_TIME Retrieves the low-order DWORD presentation time of the packet.
WMS_PACKET_PRESENT_TIME_HI Retrieves the high-order DWORD presentation time of the packet.
WMS_PACKET_RECV_TIME Retrieves the receive time of the packet.
WMS_PACKET_SEND_TIME Retrieves the low-order DWORD send time of the packet.
WMS_PACKET_SEND_TIME_ADJUSTMENT Retrieves the send-time adjustment of the packet.
WMS_PACKET_SEND_TIME_HI Retrieves the high-order DWORD send time of the packet.
WMS_PACKET_STREAM_NUM Retrieves the stream number associated with this packet.

pdwValue

Reference to a UInt32 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