NAME

SHSearchMapInt  (SHLWAPI.198)

SYNOPSIS

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

DESCRIPTION

Return the value associated with a key in a map.

PARAMS

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.

RETURNS

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

NOTES

- 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.

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/ordinal.c

Debug channel "shell".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.