NdrConformantArrayMarshall function (rpcndr.h)
The NdrConformantArrayMarshall function marshals the conformant array into a network buffer.
Syntax
unsigned char * NdrConformantArrayMarshall(
[in, out] PMIDL_STUB_MESSAGE pStubMsg,
[in] unsigned char *pMemory,
[in] PFORMAT_STRING pFormat
);
Parameters
[in, out] pStubMsg
Pointer to a MIDL_STUB_MESSAGE structure that maintains the current status of the RPC stub. The MIDL_STUB_MESSAGE structure is for internal use only, and must not be modified.
[in] pMemory
Pointer to the conformant array to be marshaled.
[in] pFormat
Pointer to the format string description.
Return value
Returns null upon success. Raises one of the following exceptions upon failure.
| Error | Description |
|---|---|
| STATUS_ACCESS_VIOLATION | An access violation occurred. |
| RPC_S_INTERNAL_ERROR | An error occurred in RPC. |
Requirements
| Target Platform | Windows |
| Header | rpcndr.h |
| Library | Rpcrt4.lib |
| DLL | Rpcrt4.dll |