NDR_USER_MARSHAL_INFO structure (rpcndr.h)

The NDR_USER_MARSHAL_INFO structure holds information about the state of an RPC call that can be passed to wire_marshal and user_marshal helper functions.

Syntax

typedef struct _NDR_USER_MARSHAL_INFO {
  unsigned long InformationLevel;
  union {
    NDR_USER_MARSHAL_INFO_LEVEL1 Level1;
  } DUMMYUNIONNAME;
} NDR_USER_MARSHAL_INFO;

Members

InformationLevel

The information level of the returned data. Currently only a value of 1 is defined.

DUMMYUNIONNAME

DUMMYUNIONNAME.Level1

An NDR_USER_MARSHAL_INFO_LEVEL1 structure.

Remarks

The function NdrGetUserMarshalInfo fills this structure with supplemental information for the user_marshal and wire_marshal helper functions <type>_UserSize, <type>_UserMarshal, <type>_UserUnmarshal, and <type>_UserFree. This information supplements the pFlags parameter that is passed to these helper functions. Not all of these fields will contain valid information in all contexts. Level1.pRpcChannelBuffer is only valid for COM interfaces, and the buffer fields are only valid when NdrGetUserMarshalInfo is called from <type>_UserMarshal or <type>_UserUnmarshal.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header rpcndr.h (include Rpc.h)