For those who are developing SHA/SHV components, please take a moment to read the following changes in the document. The sample code will be modified in the future version of the SDK.
If you need further clarification, please use the public forum http://forums.microsoft.com/TechNet/ShowForum.aspx?ForumID=576&SiteID=17 to post your question.
Thanks.
Calvin ChoeNAP NinjaMicrosoft Corporation
The documentation for the SoHAttributeValue union is incomplete. The description of the vendorId member of SoHAttributeValue should read as follows:
The ID value for the SHA/SHV pair. This is a 4-byte code; the first 3 bytes are the IETF-assigned SMI code of the vendor and the last byte identifies the component itself. See NapMicrosoftVendorIds.h for IDs used to identify internal Microsoft enforcers and system health components.
When implementing a SHA or SHV, do not use the ID values assigned to internal Microsoft enforcers.
In the future, the SoHAttributeValue documentation on MSDN will be updated with this new description.
Before you can use the sample shipping with the SDK, you must change the vendorId value used by the sample SHA and SHV. You must also remove an unnecessary line of code. Here are the required changes:
Cathy Dumas
Programming Writer