GitHub
Download
Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Data interfaces
Schema interfaces
TSchema
Create
Destroy
AddDelta
FindClassInfo
GetSchemaVersion
LoadFromFile
LoadFromMemory
StoreToFile
StoreToMemory
USchemaEdit
Configuration interfaces
Structures
Error codes
DTDL
DADL
Setup
TSchema.FindClassInfo
Function to find the local classid from a global classid.
Syntax
int
FindClassInfo(
out
U
Int32
p_pulClassId,
out
U
Int16
p_pusAttributesCount,
Guid
p_guidGlobalId
);
Parameter
p_pulClassId
Type:
out UInt32
Variable that receives the local classid of the class.
p_pusAttributesCount
Type:
out UInt16
Variable that receives the count of attributes of the class.
p_guidGlobalId
Type:
Guid
The global classid.
Return value
S_OK or an error from the
Error Codes
.
Remarks
Classes and attributes are identified by their local classid and full attributeid.
A full attributeid is a UInt64 with the high 32 bits set to the local classid and the low 32 bits set to the attributeid (the index of the attribute in the class).
A full attributeid can be built using the FULLATTRIBUTEID macro.
© 2022 Mobiland AG