Share via


IWMSPacket::AppendHeader

banner art

Previous Next

IWMSPacket::AppendHeader

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

Syntax

  HRESULT AppendHeader(
  
  IWMSBufferAllocator*
  
  pAlloc,

  
  );

Parameters

pAlloc

[in] Pointer to an IWMSBufferAllocator interface containing the header buffer.

cbHeader

[in] DWORD containing the size of the header.

pbHeader

[in] Pointer to a BYTE array containing the header.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Number Description
E_OUTOFMEMORY 0x8007000E There is insufficient memory to complete the function.

Requirements

Header: wmspacket.h.

Library: WMSServerTypeLib.dll.

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

See Also

Previous Next