GitHub
Download
Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Connection
Create
Destroy
Connect
Disconnect
QueryConfiguration
QueryControl
QueryDomain
QuerySchemaEdit
ISystemCallback
ObjectId
Thread
Data interfaces
Schema interfaces
Configuration interfaces
Structures
Error codes
DTDL
DADL
Setup
Connection.QueryDomain
This function retrieves an interface to a domain.
Syntax
int
QueryDomain(
ref
UDomain
p_ppDomain,
Guid
p_guidDomainId,
ISystemCallback
p_pCallback
);
Parameter
p_ppDomain
Type:
ref UDomain
Variable that receives the requested interface.
This variable must be set to null before calling this function. Otherwise, the call will fail.
The variable contains the interface on successful return. The variable is not modified on failure.
Call
Release
on the object when you no longer need it.
p_guidDomainId
Type:
Guid
Identifier of the requested domain.
p_pCallback
Type:
ISystemCallback
Callback interface that receives notifications about the domain.
Return value
S_OK or an error from the
Error Codes
.
Remarks
Call
Release
on the UDomain interface when you no longer need it.
© 2022 Mobiland AG