次の方法で共有


IPMConnection::CreateStream (Windows CE 5.0)

Send Feedback

This method creates a connection stream.

HRESULT CreateStream(BSTR bstrHostId,long dwPortId,IPMConnectionStream** ppiConnectionStream);

Parameters

  • bstrHostId
    [in] GUID of the host.
  • dwPortId
    [in] Identifier for the port.
  • ppiConnectionStream
    [out] Pointer to a pointer to the IPMConnectionStream interface.

Return Values

Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Connection.h, Cemgr.idl.

See Also

IPMConnectionStream

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.