GitHub
Download
Forum
Overview
Tutorial
C++ API
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
InsertNamedObject
Load
Open
RegisterEventClient
RemoveNamedObject
ResetActionGroup
SetLastError
SetSchema
Store
UnregisterEventClient
Update
WaitableHandle
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
DTDL
DADL
Setup
UStorage.Open
Open a UObject.
Syntax
void
Open(
out
UObject
p_ppObject,
ObjectId
p_poiObjectId,
IntPtr
p_hActionGroup,
U
Int32
p_ulOpenFlags
);
Parameter
p_ppObject
Type:
out UObject
Variable that receives the interface of the object.
A pointer is always returned. Call
UStorage.Execute
or
UStorage.ExecuteAsync
and, in case of a failure or partial failure, call
UObject.GetLastError
on the object to find out if the open operation succeeded.
p_poiObjectId
Type:
ObjectId
ID of the requested object.
p_hActionGroup
Type:
IntPtr
ActionGroup to use.
p_ulOpenFlags
Type:
UInt32
Flags. If 0, no action is inserted into the pending actions, and the object is opened without querying the server.
Value
Meaning
OPENFLAG_AVAILABLE
0x1
Loads the information about all available attributes.
OPENFLAG_LASTWRITE
0x2
Loads the information about the last write time.
OPENFLAG_SECURITYINFO
0x4
reserved for future use
OPENFLAG_GROUPINFO
0x8
reserved for future use
Return value
This function has no return value.
© 2022 Mobiland AG