PathFindSuffixArrayA(3w)

PathFindSuffixArrayA3w

Usage

LPCSTR PathFindSuffixArrayA
(
LPCSTR lpszSuffix,
LPCSTR* lppszArray,
int dwCount
)

Overview

Find a suffix string in an array of suffix strings.

Params

lpszSuffix [In] Suffix string to search for.

lppszArray [In] Array of suffix strings to search.

dwCount [In] Number of elements in lppszArray.

Returns

Success: The index of the position of lpszSuffix in lppszArray

Failure: 0, if any parameters are invalid or lpszSuffix is not found.

Notes

The search is case sensitive. The match is made against the end of the suffix string, so for example: lpszSuffix="fooBAR" matches "BAR", but lpszSuffix="fooBARfoo" does not.

Implementation

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/path.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.