kernal call to obtain hardware chassis type

Hi Everyone,
I have been going through the MSDN to find a Windows kernel routine(s)
that will return return the chassis information (ie., laptop, notebook,
tower,
etc.). A fellow driver writer found this Windows scripting article

www.microsoft.com/technet/scriptcenter/resources/qanda/sept04/hey0921.mspx
that returns exactly what I need (see chassis type)—but, of course I want
to obtain this information inside my kernel driver.
I probably have overlooked the function … can anyone point it out to me?
Thanks in advance.
Duane Souder