Scroll to navigation

SHSearchMapInt(3w) Wine API SHSearchMapInt(3w)


SHSearchMapInt (SHLWAPI.198)


int SHSearchMapInt
const int* lpKeys,
const int* lpValues,
int iLen,
int iKey


Return the value associated with a key in a map.


lpKeys [In] A list of keys of length iLen.
lpValues [In] A list of values associated with lpKeys, of length iLen.
iLen [In] Length of both lpKeys and lpValues.
iKey [In] The key value to look up in lpKeys.


The value in lpValues associated with iKey, or -1 if iKey is not found in lpKeys.


- If two elements in the map share the same key, this function returns the value closest to the start of the map
- The native version of this function crashes if lpKeys or lpValues is NULL.


Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.
Implemented in "dlls/shlwapi/ordinal.c".
Debug channel "shell".
Oct 2012 Wine API