Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NdrConformantStringMarshall function marshals the conformant string into a network buffer to be sent to the server.
Syntax
unsigned char * NdrConformantStringMarshall(
[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. This structure is for internal use only and should not be modified.
[in] pMemory
Pointer to the null-terminated conformant string to be marshaled.
[in] pFormat
Pointer to the format string description.
Return value
Returns null upon success. If an error occurs, the function throws one of the following exception codes.
Error | Description |
---|---|
STATUS_ACCESS_VIOLATION | An access violation occurred. |
RPC_S_INTERNAL_ERROR | An error occurred in RPC. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | rpcndr.h (include Rpc.h) |
Library | Rpcrt4.lib |
DLL | Rpcrt4.dll |