Partager via


ICcTransport::SupportsNonUniqueStreamId (Windows Embedded CE 6.0)

1/5/2010

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ICcTransport
Core Connectivity Interfaces