IPeerToPeerEngine::SetPlaybackEndpoint method
Sets the endpoint address used to connect to a remote engine.
Syntax
HRESULT SetPlaybackEndpoint(
BOOL bUseAuthentication,
BSTR endpoint,
BSTR sessionKey,
RemotingVersion remoteVersion
);
Parameters
bUseAuthentication
true to use authentication; otherwise, false.
endpoint
A COM string containing the endpoint address.
sessionKey
A COM string containing the session key used for encryption.
remoteVersion
Specifies the version of the remote engine to use.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Header | Vspixengine.h |
See also