SafeArrayGetLocks
(SafeArrayLocks)
f90VB Modules
f90VBDefs, f90VBSafeArrays
Summary
Returns the number of locks on a Safe Array. SafeArrayGetLocks and SafeArrayLocks are two aliases for the same function (i.e. they behave exactly the same), so only SafeArrayGetLocks is described below.
Syntax
| integer(LONG_KIND) function SafeArrayGetLocks | (SARef) |
| { | |
| integer(SAFEARRAY_KIND),intent(in):: | SARef | |
| type(FSafeArray),intent(in):: | SARef | |
| } | |
Arguments
SARef [Input]
A handle to, or a Fortran Safe Array structure containing a handle to, an allocated Safe Array descriptor.
Comments
Note that SARef must be a reference to an allocated Safe Array. Passing an invalid handle or a null handle will produce an unpredictable result.
Examples
See example for SafeArrayGetDim.
Related Topics
| For information about | See | |
| Creating a Safe Array | SafeArrayCreate | |
| Locking a Safe Array | SafeArrayLock | |
| Unlocking a Safe Array | SafeArrayUnlock | |
| Allocating a Safe Array descriptor | SafeArrayAllocDescriptor | |