On Nov 16, 2007 3:06 AM, Robert Shearman rob@codeweavers.com wrote:
- return sizeof(*rec)
- (EXCEPTION_MAXIMUM_PARAMETERS-rec->NumberParameters) * sizeof(ULONG_PTR);
FIELD_OFFSET exists for this exact purpose.
OK, I'll bite: is + return FIELD_OFFSET(EXCEPTION_RECORD, ExceptionInformation) + + rec->NumberParameters * sizeof(ULONG_PTR); really clearer? - Dan