IWMSPacket.SetInHeader (C#)

The SetInHeader method copies data to a specified location within a packet header.

void IWMSPacket.SetInHeader(
  uint cbOffset,
  ref byte pbData,
  uint cbData
);

Arguments

uint containing the offset into the packet header at which to begin copying the data. The offset is specified in bytes.

Reference to a byte array containing the data to be copied into the header.

uint containing the count of bytes to be copied into the header.

Return Value

This method does not return a value.

If this method fails, it throws an exception.

Number

Description

0x80004005

The data could not be copied.

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#)