4.1.1.2.8 SetErrorData

 procedure SetErrorData(
   problem: USHORT,
   errCode: ULONG,
   extendedError: ULONG,
   pmsgOut: ADDRESS OF DRS_MSG_ADDENTRYREPLY,
   version: ULONG)

This procedure sets the error message fields of pmsgOut: the problem, errCode, and extendedErr fields of pmsgOut^.V2 if version = 2 or the pErrData field of pmsgOut^.V3 if version = 3. If problem, errCode, and extendedError are all 0, the error information is the result of the last call to PerformAddOperation or PerformAddOperationAsSystem.

Show: