IPeerToPeerEngine::GetPlaybackEndpoint method

Gets the endpoint address of a remote engine.

Syntax

HRESULT GetPlaybackEndpoint(
   BOOL              bUseAuthentication,
   BSTR *            pEndpoint,
   BSTR *            sessionKey,
   RemotingVersion * pRemoteVersion
);

Parameters

bUseAuthentication
true if the remote engine uses authentication; otherwise, false.

pEndpoint
On return, a COM string containing the endpoint address of the remote playback machine.

sessionKey
On return, a COM string containing the session key used for encryption.

pRemoteVersion
On return, the version of the remote engine.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

IPeerToPeerEngine