IWMSPacket.AppendHeader (C#)

The AppendHeader method appends header data to the first buffer region associated with the packet.

void IWMSPacket.AppendHeader(
  IWMSBufferAllocator pAlloc,
  uint dwHeaderLen,
  ref byte pbHeader
);

Arguments

IWMSBufferAllocatorIWMSBufferAllocator Object (C#) containing the header buffer.

uint containing the size of the header.

Reference to a byte array containing the header.

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

IWMSPacket Object (C#)