IWMSPacket Interface
The IWMSPacket interface provides methods for managing the buffers, attributes, and headers associated with a packet.
Note
This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.
In addition to the methods inherited from IUnknown, the IWMSPacket interface exposes the following methods.
Method |
Description |
---|---|
AppendHeader |
Appends header data to the first buffer region associated with the packet. |
CopyAttributes |
Copies the specified attributes to another packet. |
GetAllBuffers |
Retrieves an array of WMSBUFFERDESC structures. Each WMSBUFFERDESC structure contains the location and size of a specific buffer region that contains the packet's data. |
GetAttribute |
Retrieves the value of a packet attribute. |
GetBuffer |
Retrieves the location of a specific buffer region that contains the packet's data. |
GetExtendedAttribute |
Retrieves the value of an extended packet attribute that is defined by a plug-in. |
GetExtendedAttributeByIndex |
Retrieves the name and value of an extended packet attribute that is defined by a plug-in. |
GetExtendedAttributeCount |
Retrieves the number of extended packet attributes. |
InsertBuffer |
Adds a new region to the collection of buffer regions associated with the packet. |
RemoveAllBuffers |
Removes all of the buffer regions associated with the packet. |
RemoveBuffer |
Removes the specified region from the collection of buffer regions associated with the packet. |
SetAttribute |
Specifies the value of a packet attribute. |
SetExtendedAttribute |
Specifies the name and value of an extended packet attribute that is defined by a plug-in. |
SetInHeader |
Copies data to a specified location within a packet header. |