GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
AbortActionGroup
AddClass
ClassAddRef
ClassAddRefById
ClassRelease
ClassReleaseById
Close
Create
CreateActionGroup
CreateWaitObject
DestroyActionGroup
DestroyWaitObject
Execute
ExecuteAsync
ExecuteResult
ExecuteWait
GetLastError
GetSchema
InsertExternLink
InsertNamedLink
InsertNamedObject
Load
Open
RegisterEventClient
RemoveExternLink
RemoveNamedLink
RemoveNamedObject
ResetActionGroup
SetLastError
SetSchema
Store
UnregisterEventClient
Update
WaitableHandle
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Callback interfaces
Structures
Error codes
DataAccess interfaces
C# API
WinRT API
DTDL
DADL
Setup

UStorage::Create

Creates a new UObject.

Syntax

void Create(
[out] UObject** p_ppObject,
[in] const ObjectId* p_poiParentId,
[in] const UINT32* p_aulClassId,
[in] UINT32 p_ulClassCount
);

Parameter

p_ppObject [out]
Type: UObject**
Pointer to a variable that receives the interface pointer of the new object.
The variable contains the interface pointer on successful return. The variable is not modified on failure.
Call UObject::Close on the pointer when you no longer need it.
p_poiParentId [in]
Type: const ObjectId*
ID of the parent object.
Remarks: A "parent" object is not really a parent. This information is only used by the system for load optimizations to determine which objects will likely be used at the same time.
p_aulClassId [in]
Type: const UINT32*
Array of classes the object contains.
p_ulClassCount [in]
Type: UINT32
Number of elements in the p_aulClassId array.

Return value

This function has no return value.

Remarks

This function only creates a temporary object. You need to call UObject::Store and UStorage::Execute to create the object in the database.
© 2025 Mobiland AG