Share via


ISdpRecord::WriteToStream (Compact 2013)

3/26/2014

This method creates a raw SDP stream based on the contents of an SDP record.

Syntax

HRESULT WriteToStream(
  UCHAR** ppStream,
  ULONG* pStreamSize,
  ULONG preSize,
  ULONG postSize
);

Parameters

  • ppStream
    [out] Destination pointer for the destination stream.
  • pStreamSize
    [out] Destination pointer for the stream size.
  • preSize
    [out] Number of bytes allocated to the stream at ppStream before it is written.
  • postSize
    [out] Number of bytes allocated to the stream at ppStream after it is written.

Return Value

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

See Also

Reference

ISdpRecord