LPSAFEARRAY_UserMarshal function (wia_xp.h)
Marshals data from the specified SAFEARRAY object to the user's RPC buffer on the client or server side.
Syntax
unsigned char * LPSAFEARRAY_UserMarshal(
[in] unsigned long *unnamedParam1,
[in, out] unsigned char *unnamedParam2,
[in] LPSAFEARRAY *unnamedParam3
);
Parameters
[in] unnamedParam1
The data used by RPC.
[in, out] unnamedParam2
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.
[in] unnamedParam3
The safe array that contains the data to marshal.
Return value
The value obtained from the returned HRESULT value is one of the following.
Return code | Description |
---|---|
|
Success. |
|
The ppSafeArray parameter is not a valid safe array. |
|
The array could not be locked. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wia_xp.h (include Propidlbase.h) |
Library | OleAut32.lib |
DLL | OleAut32.dll |