Share via


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 IWMSCommandContextIWMSCommandContext 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 IWMSContextIWMSContext Interface contains methods that enable your plug-in to retrieve and specify general context values. For more information, see Contexts.

  • The IWMSDataContainerVersionIWMSDataContainerVersion 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 IWMSPacketIWMSPacket Interface contains methods that enable you to manage the buffers, attributes, and headers of a data packet.

  • The IWMSPacketListIWMSPacketList Interface contains methods that enable you to manage a data packet list. Typically, this is used by data source plug-ins.

  • The IWMSStreamHeaderIWMSStreamHeader Interface contains methods that enable your plug-in to specify and retrieve header information about a Windows Media stream.

  • The IWMSStreamHeaderListIWMSStreamHeaderList 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

Concepts

Custom Plug-in Interfaces (C++)