LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Mercedes Benz >> 2019 >> Sprinter 3500XD Van Cargo Extended, 4WD >> Repair and Diagnosis >> TMC Recommended Practices >> Onboard Vehicle Electronics >> RP 1210D - Windows (TM) Communication API >> RP 1210D - Windows(TM) Communication API >> RP1210_GETLASTERRORMSG () >> RP1210_GETLASTERRORMSG () Parameters
April 5, 2026: LEMON Manuals is launched! Read the announcement.

RP1210_GETLASTERRORMSG () Parameters

Parameter Description
ErrorCode Numerical value for the last error which occurred.
SubErrorCode A pointer to a 32-bit integer that will receive the subordinate error code description, or -1 if no subordinate error code is available.
fpchDescription A pointer to a buffer (allocated by the client application) used to return a detailed error message associated with the error code (and subordinate code if available). The size of the buffer must be a minimum length of 80 bytes and a maximum length of the number of bytes set by the application for the given client connection using the RP1210_Set_MaxErrorMsgSizecommand,  noting that the returned string will have a NULL (0x00) terminator.
nClientID The client identifier for the client that wants the last error message.