3.1.1.11.2.9 NdrDecode
-
procedure NdrDecode ( pSerializedData : BYTE ARRAY, dataLengthInBytes : ULONG, pStructX : ADDRESS of struct X)
This is a per-structure helper function that deserializes a byte array into a structure using the NDR type deserialization engine, as specified in [MS-RPCE] section 2.2.6. This function returns a null structure as output in case of errors.
pSerializedData: A byte array of length dataLengthInBytes that contains the input serialized data.
dataLengthInBytes: The length of the pSerializedData byte array.
pStructX: The address of a structure of some type (represented by "X") that receives the deserialized data.
Return Values: This procedure does not return a value.