IWMSClassObject Interface
Previous | Next |
IWMSClassObject Interface
- Note This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.
The server sends your plug-in a pointer to an IWMSClassObject interface when it calls the IWMSBasicPlugin::InitializePlugin method. You can use this pointer to create the following objects for internal use by your custom plug-in:
- The IWMSCommandContext interface contains methods that enable your plug-in to retrieve and specify name-value pairs that describe client requests and server responses. For more information, see Command Context.
- The IWMSContentDescriptionList interface contains methods that enable your plug-in to manage a content description context for each item in a playlist.
- The IWMSContext interface contains methods that enable your plug-in to retrieve and specify general context values. For more information, see Contexts.
- The IWMSDataContainerVersion interface contains methods that enable your plug-in to specify and retrieve information about cached content and to compare the content to that stored on an origin server.
- The IWMSPacket interface contains methods that enable you to manage the buffers, attributes, and headers of a data packet.
- The IWMSPacketList interface contains methods that enable you to manage a data packet list. Typically, this is used by data source plug-ins.
- The IWMSStreamHeader interface contains methods that enable your plug-in to specify and retrieve header information about a Windows Media stream.
- The IWMSStreamHeaderList interface contains a collection of IWMSStreamHeader interfaces.
In addition to the methods inherited from IUnknown, the IWMSClassObject interface exposes the following methods.
Method | Description |
AllocIWMSCommandContext | Allocates a command context that contains information about requests made by a client, and responses made by the server to those requests. |
AllocIWMSContext | Allocates a context identified by the WMS_CONTEXT_TYPE enumeration. |
AllocIWMSPacket | Allocates a data packet for use by a custom data source plug-in. |
AllocIWMSPacketList | Allocates a packet list for use by a custom data source plug-in. |
CreateInstance | Generic method for allocating objects. |
See Also
Previous | Next |