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::QueryDomain
This function retrieves an interface to a domain.
Syntax
HRESULT
QueryDomain(
[in, out]
UDomain**
p_ppDomain,
[in]
const
GUID
*
p_pguidDomainId,
[in]
ISystemCallback*
p_pCallback
);
Parameter
p_ppDomain
[in, out]
Type:
UDomain**
Pointer to a variable that receives the requested interface pointer.
This variable must be set to NULL before calling this function. Otherwise, the call will fail.
The variable contains the interface pointer on successful return. The variable is not modified on failure.
Call
Release
on the pointer when you no longer need it.
p_pguidDomainId
[in]
Type:
const GUID*
Identifier of the requested domain.
p_pCallback
[in]
Type:
ISystemCallback*
Pointer to a 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