Expand Minimize

SafeArrayUnaccessData function

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

Syntax


HRESULT SafeArrayUnaccessData(
  _In_  SAFEARRAY *psa
);

Parameters

psa [in]

An array descriptor created by SafeArrayCreate.

Return value

This function can return one of these values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

The argument psa is not valid.

E_UNEXPECTED

The array could not be unlocked.

 

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft