GitHub
Download
Forum
Overview
Tutorial
C++ API
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
DTDL
DADL
Setup
UDomain.QueryStorage
Provides an interface to a storage instance.
Syntax
int
QueryStorage(
ref
UStorage
p_ppStorage,
out
U
Int32
p_pulSchemaVersion,
U
Int32
p_ulStorageId,
ISystemCallback
p_pCallback
);
Parameter
p_ppStorage
Type:
ref UStorage
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_pulSchemaVersion
Type:
out UInt32
p_pulSchemaVersion contains the current version of the schema on successful return.
See
TSchema
functions for further information.
p_ulStorageId
Type:
UInt32
ID of the storage that the interface is requested of.
p_pCallback
Type:
ISystemCallback
Callback interface that receives notifications about the storage.
Return value
S_OK or an error from the
Error Codes
.
Remarks
Call
Release
on the UStorage interface when you no longer need it.
© 2022 Mobiland AG