Windows apps
Collapse the table of content
Expand the table of content

SafeArrayUnaccessData Function

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

HRESULT SafeArrayUnaccessData(  
  SAFEARRAY *psa
);

psa

Pointer to an array descriptor created by SafeArrayCreate.

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

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.

Show:
© 2016 Microsoft