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.




         <Machine >







            <SystemDefaultLCID ></SystemDefaultLCID>











         <InventoryActionID ></InventoryActionID>









         </WMIClass >




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.


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









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.