SafeArrayReleaseDescriptor function

Note  You should only call SafeArrayReleaseDescriptor if you are implementing a scripting engine that needs to guard against running potentially malicious scripts.
 
Decreases the pinning reference count for the descriptor of the specified safe array by one. When that count reaches 0, the memory for that descriptor is no longer prevented from being freed.

Syntax

void SafeArrayReleaseDescriptor(
  SAFEARRAY *psa
);

Parameters

psa

The safe array for which the pinning reference count of the descriptor should decrease.

Return Value

This function does not return a value.

Remarks

A call to the SafeArrayReleaseDescriptor function should match every previous call to the SafeArrayAddRef function.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header oleauto.h
Library Mincore.lib
DLL Oleaut32.dll

See Also

SafeArrayAddRef

SafeArrayReleaseData