SafeArrayUnaccessData

HRESULT SafeArrayUnaccessData( 
  SAFEARRAY FAR*  psa  
);
 

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

Parameter

psa
Pointer to an array descriptor created by SafeArrayCreate.

Return Value

The return value obtained from the returned HRESULT is one of the following.

Return value Meaning
S_OK Success.
E_INVALIDARG The argument psa was not a valid safe array descriptor.
E_UNEXPECTED The array could not be unlocked.

QuickInfo

  Windows NT: Use version 3.1 and later.
  Windows: Use Windows 95 and later.
  Header: Declared in oleauto.h.
  Import Library: Link with oleaut32.lib.