IWMSPacketList.GetAllPackets (Visual Basic .NET)

banner art

Previous Next

IWMSPacketList.GetAllPackets (Visual Basic .NET)

The GetAllPackets method retrieves an array containing all the packets in the packet list.





UInt32 containing the index of the first packet.


UInt32 containing the maximum number of packets to retrieve.


Reference to an array of WMSPACKETDESC structures describing the packet.


Reference to an IWMSPacket object containing the first returned packet.


Reference to a UInt32 containing the number of packet descriptors returned.


Member of the WMS_PACKET_LIST_EX_FLAGS enumeration type. This must be a bitwise OR of one or more of the following values.

Value Description
WMS_NO_ADDREF Reference counts should not be used with this packet.
WMS_PACKET_NO_ADDREF The reference count for the packet should not be incremented.
WMS_PACKET_NO_RELEASE The packet should not be released regardless of reference count.
WMS_PLIST_BUFFER_NO_ADDREF The reference count for the buffer should not be incremented.
WMS_PLIST_BUFFER_NO_RELEASE The buffer should not be released regardless of reference count.
WMS_PLIST_NO_ADDREF The reference count for the packet list should not be incremented.

Return Values

This method does not return a value.

If this method fails, it throws an exception.

Number Description
0x80070057 ppPacket is null.


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