25.02.2003, Update: 27.02.2003
PDF |  E-Book |  Ranking
1 Stern2 Sterne3 Sterne4 Sterne5 Sterne
 | 

Inside Windows-Update

von Mike Hartmann

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
Code
1
<classes><computerSystem /><platform /><locale /><devices /></classes>
Auf der nächsten Seite: The utility control.exe
Seite 13 von 16
Inhalt dieses Artikels
Mehr zum Thema
Links zum Thema
Ihre Meinung zum Artikel
Benutzername:
Passwort: