SHSearchMapInt.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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(3w) to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c".

Debug channel "shell".