Partager via


IWMSCommandContext Interface

Note

   This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.

A Command Context contains name-value pairs that describe a request issued by a client and the response issued by the server. The server creates a command context entry for each line in a request or response header, and the IWMSCommandContext interface provides methods for retrieving or deleting the request or response. In addition to the methods inherited from IUnknown, the IWMSCommandContext interface exposes the following methods.

Method

Description

EraseCommandRequest

Deletes a client request by erasing all of the name-value pairs in the command context.

EraseCommandResponse

Deletes a server response by erasing all of the name-value pairs in the command context.

GetCommandRequest

Retrieves a pointer to an IWMSContextIWMSContext Interface containing a command request context. You can use the pointer to retrieve name-value pairs that describe a client request.

GetCommandResponse

Retrieves a pointer to an IWMSContext interface containing a command context. You can use the pointer to retrieve name-value pairs that describe a server response.

GetPlaylistGenerationID

Reserved for internal use.

SetPlaylistGenerationID

Reserved for internal use.

See Also

Concepts

Custom Plug-in Interfaces (C++)