GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Connection
Connection_Create
Connection_Destroy
Connect
Disconnect
QueryConfiguration
QueryControl
QueryDomain
QuerySchemaEdit
IInstance
ISystemCallback
Memory
ObjectId
Thread
Data interfaces
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup

Connection_Create

Creates a new connection object.

Syntax

HRESULT Connection_Create(
[out] Connection** p_ppConnection
);

Parameter

p_ppConnection [out]
Type: Connection**
Pointer to a variable that receives the requested pointer to the new connection object.
The variable contains the Connection* on successful return. The variable is not modified on failure.
Call Connection_Destroy when you no longer need it.

Return value

S_OK or an error from the Error Codes.

Remarks

Destroy the connection with Connection_Destroy when you no longer need it.
© 2022 Mobiland AG