Platform SDK: Debugging and Error Handling |
The SymMatchFileName function compares a string to a file name and path.
BOOL SymMatchFileName( PSTR FileName, PSTR Match, PSTR *FileNameStop, PSTR *MatchStop );
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.
Because the match string can be a suffix of the complete file name, this function can be used to match a plain file name to a fully qualified file name.
Matching begins from the end of both strings and proceeds backward. Matching is case-insensitive and equates a backslash ('\') with a forward slash ('/').
Windows NT/2000: Requires Windows 2000. Available as a redistributable for Windows NT 4.0.
Windows 95/98: Requires Available as a redistributable for Windows 98.
Header: Declared in Dbghelp.h.
Library: Use Dbghelp.lib.