SHSearchMapInt(3w)

SHSearchMapInt3w

Usage

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

Overview

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

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.