Share via


ISdpRecord::SetAttributeFromStream (Compact 2013)

3/26/2014

This method adds or replaces an attribute and its value from a raw SDP stream.

Syntax

HRESULT SetAttributeFromStream(
  USHORT attribute,
  UCHAR* pStream,
  ULONG size
);

Parameters

  • attribute
    [in] Attribute to add or replace.
  • pStream
    [in] Pointer to a stream that contains the desired attribute data.
  • size
    [in] Number of bytes of the stream specified by the pStream parameter.

Return Value

Returns S_OK on success; otherwise returns standard HRESULT values as appropriate.

See Also

Reference

ISdpRecord