Unmarshals a SAFEARRAY object from the RPC buffer.
[in] Points to data used by RPC.
[in] Points to the current buffer. This pointer may or may not be aligned on entry. LPSAFEARRAY_UserMarshal Function will align the buffer pointer, marshal the data, and return the new buffer position, which is the address of the first byte after the marshaled object.
[in] Points to the safe array that will be returned as a result of unmarshalling.
The return value obtained from the returned HRESULT is one of the following.
The stub has received bad data.
The array could not be found.
Insufficient memory for this function to perform.
The SAFEARRAY object does not have the correct dimensions, does not have the correct features, or memory cannot be reallocated.