GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
GetSchemaData
GetSchemaVersion
QueryNamedObject
QueryNamedObjectId
QueryNamedObjectLink
QueryNamedObjectMultiple
QueryStorage
UStorage
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup

UDomain::QueryNamedObject

Returns information about a named object.

Syntax

HRESULT QueryNamedObject(
[in] const GUID* p_aguidName,
[in] UINT32 p_ulLength,
[out] stcObjectLinkNamed** p_paObjectLinkNamed
);

Parameter

p_aguidName [in]
Type: const GUID*
Array of names (GUIDs) of named objects to retrieve the ObjectId from.
p_ulLength [in]
Type: UINT32
Number of elements in the p_aguidName array and the p_paObjectLinkNamed array.
p_paObjectLinkNamed [out]
Type: stcObjectLinkNamed**
Pointer to an array that receives the ObjectLinkNameds of the named objects. Caller must free the memory with MemFree.

Return value

S_OK if all the requested objects have been found.
S_FALSE if some objects have not been found. In this case, the corresponding element in p_paObjectLinkNamed is set to OBJECTID_NULL.
If the function fails, it returns an error from the Error Codes.
© 2022 Mobiland AG