次の方法で共有


INSSBuffer Interface

The INSSBuffer interface provides methods for supporting a memory buffer. You can use this interface when you are creating custom plug-ins. For example, memory buffers are typically used by logging, data source, playlist parser, and cache proxy plug-ins.

You can allocate a buffer by using the IWMSBufferAllocatorIWMSBufferAllocator Interface. The IWMSBufferAllocator interface contains methods that create page-aligned and non-aligned buffers, depending on your requirements.

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 INSSBuffer interface exposes the following methods.

Method

Description

GetBuffer

Retrieves an allocated buffer.

GetBufferAndLength

Retrieves a buffer object and the length of data segment that can be loaded into it.

GetLength

Retrieves the length of data segment that can be loaded into the buffer.

GetMaxLength

Retrieves the maximum length of data segment that can be loaded into the buffer.

SetLength

Specifies the length of data segment that can be loaded into the buffer.

See Also

Concepts

Custom Plug-in Interfaces (C++)

IWMSDataSourcePlugin Interface