Share via


IWMSPacket.SetInHeader (Visual Basic .NET)

banner art

Previous Next

IWMSPacket.SetInHeader (Visual Basic .NET)

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

Syntax

  

Parameters

cbOffset

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

pbData

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

cbData

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

Return Values

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

Previous Next