SafeArrayReleaseData function
Note You should only call SafeArrayReleaseData if you are implementing a scripting engine that needs to guard against running potentially malicious scripts.
Decreases the pinning reference count for the specified safe array data by one. When that count reaches 0, the memory for that data is no longer prevented from being freed.
Syntax
void STDAPICALLTYPE SafeArrayReleaseData(
_In_ PVOID pData
);
Parameters
- pData [in]
-
The safe array data for which the pinning reference count should decrease.
Return value
This function does not return a value.
Remarks
A call to the SafeArrayReleaseData function should match every previous call to the SafeArrayAddRef function that returned a non-null value in the ppDataToRelease parameter.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Show: