A Configuration Manager 2007 hardware inventory message is used to pass a client hardware inventory report to the hardware inventory endpoint.

Input Message XML

The following input XML describes the input message XML for hardware inventory.

<Report>

   <ReportHeader>

      <Identification>

         <Machine >

            <ClientInstalled></ClientInstalled>

            <ClientType></ClientType>

            <ClientID></ClientID>

            <ClientVersion></ClientVersion>

            <NetBIOSName></NetBIOSName>

            <CodePage></CodePage>

            <SystemDefaultLCID ></SystemDefaultLCID>

         </Machine>

      </Identification>

      <ReportDetails>

         <ReportContent></ReportContent>

         <ReportType></ReportType>

         <Date></Date>

         <Version></Version>

         <Format></Format>

      </ReportDetails>

      <InventoryAction>

         <InventoryActionID ></InventoryActionID>

         <Description></Description>

         <InventoryActionLastUpdateTime></InventoryActionLastUpdateTime>

      </InventoryAction>

   </ReportHeader>

   <ReportBody>

         <Instance>

         <WMIClass>

            <Property></Property>

         </WMIClass >

      </Instance>

   </ReportBody>

</Report>

The hardware inventory endpoint XML schema is split into two parts: a header and a body. The header contains information that identifies the client and other report details. The body contains the actual report data. The body is constructed from one or more Instance elements. Each instance represents a reported hardware item. An instance contains an element with the same name as the reported Windows Management Instrumentation (WMI) class. (Element name WMIClass is used in this documentation to represent the reported WMI class name). Each WMIclass element contains elements with the same name as the reported WMI properties for the WMI class. The data within the property name element is the literal data in text format.

Output Message XML

There is no XML returned.

Remarks

You use ISmsMessaging::Post Method to pass the message to the hardware inventory manager endpoint, MP_HinvEndpoint. You set the target endpoint with ISmsMessage::SetTargetEndpoint Method.

The hardware inventory report header is passed in Post.pRequest parameter.

The hardware inventory report body is passed by using ISmsMessageAttachment Interface. The report body attachment must be named {00000000-0000-0000-0000-000000000001}.

The following security flags can be applied to the message:

Security Mode Required Optional

Mixed

MPAPI_SECURITY_FLAG_MIXED_MODE

MPAPI_SECURITY_FLAG_SIGN_MESSAGE.

MPAPI_SECURITY_FLAG_ENCRYPT_MESSAGE

Native

MPAPI_SECURITY_FLAG_NATIVE_MODE

MPAPI_SECURITY_FLAG_SIGN_MESSAGE

MPAPI_SECURITY_FLAG_ENABLE_CRL_CHECKING

Use ISmsMessage4::SetSecurityFlags Methodto set the security flags for the message.

For information about MPAPI security flags, see MPAPI_SECURITY_FLAGS Enumeration.

See Also


Send comments about this topic to Microsoft.