Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

SymMatchString function

Compares the specified string to the specified wildcard expression.

Syntax


BOOL WINAPI SymMatchString(
  _In_ PCTSTR string,
  _In_ PCTSTR expression,
  _In_ BOOL   fCase
);

Parameters

string [in]

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

expression [in]

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 [in]

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

Redistributable

DbgHelp.dll 6.2 or later

Header

DbgHelp.h

Library

Dbghelp.lib

DLL

Dbghelp.dll

Unicode and ANSI names

SymMatchStringW (Unicode) and SymMatchString (ANSI)

See also

DbgHelp Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft