Reference

PathFindSuffixArrayA(3w)

NAME

PathFindSuffixArrayA (SHLWAPI.@)

SYNOPSIS

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

DESCRIPTION

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

History