2.2.51 Automation Hash Values

An automation hash value is a numeric representation of a string that is used by an automation server to perform implementation-specific optimizations<51> in methods that reference types and type members by name.

Implementation of the hash function is optional. An automation hash value of zero MAY be used to represent any string<52>. If an automation hash value is nonzero, it MUST be computed from the specified string after it is preprocessed, as specified in section 2.2.50.2, using a hash algorithm that MUST be consistent with the pseudocode specified in this section.

The values of [out] parameters returned by automation server methods MUST be the same for both zero and matching nonzero automation hash values.