ICcTransport::SupportsNonUniqueStreamId (Compact 2013)

3/26/2014

Deprecated.

This method determines whether the transport supports non-unique stream IDs.

Syntax

HRESULT SupportsNonUniqueStreamId (
  VARIANT_BOOL* pbSupported 
);

Parameters

  • pbSupported
    [out, retval] VARIANT_TRUE if the transport supports non-unique stream IDs.

Return Value

The following table shows return values for this method.

Value

Description

S_OK

Indicates success.

E_INVALIDARG

Indicates invalid input arguments.

Remarks

This is used to determine whether ICcTransport::CreateStream can be called consecutively with non-unique stream identifiers.

If true, CreateStream can be called with a particular stream ID immediately after a different stream is returned with the same stream ID while the different stream is in use.

If false, the specified stream ID cannot be used until the previous stream with that stream ID is disposed.

Requirements

Header

cctransport.idl

See Also

Reference

ICcTransport
Core Connectivity Interfaces