wstr A pointer to a wide-character string. If this is a null string, NULL is returned. charset A pointer to a wide-character string containing the set of wide characters for which the function will search.