IWMSPacketList.AllocatePageSizeBuffer (C#)

The AllocatePageSizeBuffer method allocates a page-aligned buffer that is a multiple of a page size.

void IWMSPacketList.AllocatePageSizeBuffer(
  uint dwMaxBufferSize,
  ref INSSBuffer ppBuffer
);

Arguments

uint containing the maximum size to allocate for the buffer.

Reference to an INSSBufferINSSBuffer Object (C#) containing the allocated buffer.

Return Value

This method does not return a value.

If this method fails, it throws an exception.

Number

Description

0x8007000E

There is insufficient memory to complete the function.

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Concepts

IWMSPacketList Object (C#)