From a handy thread from last year.
Use news article for XP SP2.
For older OSes and CE, read about WZCSetInterface and its brethren.
Need a picture? Try this.
Hmm, sounds like we have more undocumented Windows calls on our hands. And wasn't WMI supposed to let us do all this?