Compartir a través de


INSSBuffer Object (C#)

The INSSBuffer object provides methods for supporting a memory buffer. You can use this object 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 Object (C#). The IWMSBufferAllocator object contains methods that create page-aligned and non-aligned buffers, depending on your requirements.

Note

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

The INSSBuffer object exposes the following properties and 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 Objects (C#)