Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Connects to the Xbox Studio service on the target console.
public:
HRESULT Connect(
const wchar_t *address
)
address
Type: wchar_t *
[in] Name or IP address of the console to connect to.
Type: HRESULTÂ
S_OK if successful; an error code otherwise.
Applications running on the console should not, and need not, call Connect. Doing so returns E_XSTUDIO_INVALID_OPERATION.
Call Connect only from an application running on the development computer, in order to obtain a connection to the target console.
Header: Declared in xstudio.h.
Library: Use xstudioclient.lib (console) or xstudioservice.lib (desktop).