SafeArrayDestroyDescriptor

psa)
SAFEARRAY FAR* psa

Destroys a descriptor of a safe array.

Parameters

psa

Pointer to a safe array descriptor.

Return Value

The SCODE obtained from the returned HRESULT is one of the following:

SCODE
Meaning
S_OK
Success.
DISP_E_ARRAYISLOCKED
The array is currently locked.
E_INVALIDARG
The item pointed to by psa is not a safe array descriptor.

Comments

This function is typically used to destroy the descriptor of a safe array that contains elements with data types other than variants. Destroying the array descriptor does not destroy the elements in the array. Call SafeArrayDestroyData to free the elements before destroying the array descriptor.

See Also

SafeArrayAllocData
, SafeArrayAllocDescriptor, SafeArrayDestroyData

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database