I'm posting an entire book here, in the hope that this will provide sufficient documentation, and perhaps some additional value:

Programming Industrial Strength Windows