LPSAFEARRAY_UserUnmarshal64 function
Unmarshals a SAFEARRAY object from the RPC buffer.
Syntax
unsigned char* __stdcall LPSAFEARRAY_UserUnmarshal64( _In_ unsigned long *pFlags, _Inout_ unsigned char *pBuffer, _In_ LPSAFEARRAY *ppSafeArray );
Parameters
- pFlags [in]
-
The data used by RPC.
- pBuffer [in, out]
-
The current buffer. This pointer may or may not be aligned on entry. The function aligns the buffer pointer, marshals the data, and returns the new buffer position, which is the address of the first byte after the marshaled object.
- ppSafeArray [in]
-
Receives the safe array that contains the data.
Return value
The value obtained from the returned HRESULT value is one of the following.
| Return code | Description |
|---|---|
|
Success. |
|
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. |
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Library |
|
|
DLL |
|