Inside Windows-Update

GetSystemSpec

When the component is initialized we can use GetSystemSpec() to obtain an XML string with the information that we already know from the systemInfo argument to GetManifest. The only argument to GetSystemSpec() determines which parts of the systemInfo argument we want to be returned. It is an XML string that contains a combination of any of these five tags -<computerSystem />, <platform />, <locale />, <devices />, and<regKeys />. We are already familiar with the first four tags, which correspond to the four parts of the systemInfo argument. The <regKeys /> tag is new. It is supported by the COM component, although it is not currently used by Windows Update.

The described tags must be enclosed by <classes> and</classes>, e.g. like

<classes><computerSystem /><platform /><locale /><devices /></classes>