RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarUtils.SafeArrayAccessData Function

Returns a pointer to the actual safe array data and locks the safe array.

Pascal
function SafeArrayAccessData(VarArray: PVarArray; out Data: Pointer): HRESULT; stdcall;
C++
__stdcall HRESULT SafeArrayAccessData(PVarArray VarArray, void * Data);

Use SafeArrayAccessData to obtain a pointer to the actual safe array data and also to lock the safe array. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!