Welcome to MSDN Blogs Sign in | Join | Help

Reserved fields

Via Larry Osterman's recent series on concurrency, I ran across an older post from Raymond Chen on why you shouldn't use reserved fields in internal Windows data structures.

About ten years ago, when I was working on the QuickTime team at Apple, we got a report from a beta tester about some third-party application that was completely broken with the new version of QuickTime. Several hours of debugging in MacsBug later, I discovered that the problem came from that application using a reserved field in the heap data structures. In that version of QuickTime, we had included a patch to the memory manager to work around a problem in older OS versions. That patch needed to use the reserved field, which obviously conflicted with the third party app's use of that field.

When I sent the vendor an email about this, the response came back: "But you can't use that field; it's reserved!"

Umm ... yes.

Published Thursday, March 31, 2005 8:01 AM by mikedodd
Filed under:

Comments

# Blog link of the week 13

Blog link of the week 13
Sunday, April 03, 2005 5:37 PM by Daniel Moth

# I hope you weren't using those undocumented critical section fields

Because they changed.
Friday, July 01, 2005 10:00 AM by The Old New Thing

# Reserved fields

Wednesday, November 28, 2007 6:04 AM by Reserved fields
New Comments to this post are disabled
 
Page view tracker