Skip to content

Latest commit

 

History

History
102 lines (84 loc) · 2.85 KB

nf-rpcndr-ndrsimplestructunmarshall.md

File metadata and controls

102 lines (84 loc) · 2.85 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:rpcndr.NdrSimpleStructUnmarshall
NdrSimpleStructUnmarshall function (rpcndr.h)
The NdrSimpleStructUnmarshall function unmarshals the simple structure from the network buffer to memory.
NdrSimpleStructUnmarshall
NdrSimpleStructUnmarshall function [Windows API]
rpcndr/NdrSimpleStructUnmarshall
winprog.ndrsimplestructunmarshall
winprog\ndrsimplestructunmarshall.htm
winprog
6b4a28a3-3d0f-43c5-b59a-58c14435e28f
12/05/2018
NdrSimpleStructUnmarshall, NdrSimpleStructUnmarshall function [Windows API], rpcndr/NdrSimpleStructUnmarshall, winprog.ndrsimplestructunmarshall
rpcndr.h
Windows
Windows 2000 Professional [desktop apps \| UWP apps]
Windows 2000 Server [desktop apps \| UWP apps]
Rpcrt4.lib
Rpcrt4.dll
Windows
19H1
NdrSimpleStructUnmarshall
rpcndr/NdrSimpleStructUnmarshall
c++
APIRef
kbSyntax
DllExport
Rpcrt4.dll
NdrSimpleStructUnmarshall

NdrSimpleStructUnmarshall function

-description

The NdrSimpleStructUnmarshall function unmarshals the simple structure from the network buffer to memory.

-parameters

-param pStubMsg [in, out]

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.

-param ppMemory [out]

Address to a pointer to the unmarshalled simple structure. If set to null, or if the fMustAlloc parameter is set to TRUE, the stub will allocate the memory.

-param pFormat [in]

Pointer to the format string description.

-param fMustAlloc [in]

Flag that specifies whether the stub must allocate the memory into which the simple structure is to be marshaled. Specify TRUE if RPC must allocate ppMemory.

-returns

Returns null upon success. Raises one of the following exceptions upon failure.

Error Description
RPC_BAD_STUB_DATA or RPC_X_INVALID_BOUND The network is incorrect.
RPC_S_OUT_OF_MEMORY Out of memory.
STATUS_ACCESS_VIOLATION An access violation occurred.
RPC_S_INTERNAL_ERROR An error occurred in RPC.

-see-also

MIDL_STUB_MESSAGE