IWMSPacket::SetInHeader

banner art

Previous Next

IWMSPacket::SetInHeader

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

Syntax

  HRESULT 
  

Parameters

cbOffset

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

pbData

[in] Pointer to a byte array containing the data to be copied into the header.

cbData

[in] DWORD containing the count of bytes to be copied into 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_FAIL 0x80004005 The data could not be copied.

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