SafeArrayUnaccessData function (oleauto.h)

Decrements the lock count of an array, and invalidates the pointer retrieved by SafeArrayAccessData.

Syntax

HRESULT SafeArrayUnaccessData(
  SAFEARRAY *psa
);

Parameters

psa

An array descriptor created by SafeArrayCreate.

Return value

This function can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
The argument psa is not valid.
E_UNEXPECTED
The array could not be unlocked.

Requirements

   
Target Platform Windows
Header oleauto.h
Library OleAut32.lib
DLL OleAut32.dll