Partager via


ISdpRecord::GetAttributeAsStream (Compact 2013)

3/26/2014

This method retrieves the value of an attribute as a raw SDP stream.

Syntax

HRESULT GetAttributeAsStream(
  USHORT attribute,
  CHAR** ppStream,
  ULONG* pSize
);

Parameters

  • attribute
    [in] Attribute to retrieve.
  • ppStream
    [out] Destination pointer for the raw SDP stream that contains the value of the attribute.
  • pSize
    [out] Number of bytes of the allocated stream at ppStream.

Return Value

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

See Also

Reference

ISdpRecord