SymMatchString function

Compares the specified string to the specified wildcard expression.

Syntax

BOOL IMAGEAPI SymMatchString(
  PCSTR string,
  PCSTR expression,
  BOOL  fCase
);

Parameters

string

The string, such as a symbol name, to be compared to the expression parameter.

expression

The wildcard expression to compare to the string parameter. The wildcard expression supports the inclusion of the * and ? characters. * matches any string and ? matches any single character.

fCase

A variable that indicates whether or not the comparison is to be case sensitive.

Return Value

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. To retrieve extended error information, call GetLastError.

Remarks

All DbgHelp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.

Requirements

   
Target Platform Windows
Header dbghelp.h
Library Dbghelp.lib
DLL Dbghelp.dll
Redistributable DbgHelp.dll 6.2 or later

See Also

DbgHelp Functions