LHashValOfName

lcid, szName)
LCID
lcid
OLECHAR FAR* szName

Computes a hash value for a name that can then be passed to ITypeComp::Bind, ITypeComp::BindType, ITypeLib::FindName, or ITypeLib::IsName.

Parameters

lcid

The locale ID for the string.

szName

String whose hash value is to be computed.

Return Value

A 32-bit hash value representing the name passed in.

Comments

This function is equivalent to LHashValOfNameSys. The OLEAUTO.H header file contains macros that define LHashValOfName as LHashValOfNameSys with the target operating system (syskind), based on your build preprocessor flags.

LHashValOfName computes a 32-bit hash value for a name which can then be passed to ITypeComp::Bind, ITypeComp::BindType, ITypeLib::FindName, or ITypeLib::IsName. The returned hash value is independent of the case of the characters in szName as long as the language of the name is one of the languages supported by the OLE National Language Specification API. Specifically, for any two strings, if those strings match when a case-insensitive comparison is done using any language, then they will produce the same hash value.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database