StrStrNW function (shlwapi.h)
Finds the first occurrence of a substring within a string. The comparison is case-sensitive.
Syntax
PCWSTR StrStrNW(
[in] PCWSTR pszFirst,
[in] PCWSTR pszSrch,
UINT cchMax
);
Parameters
[in] pszFirst
Type: PWSTR
A pointer to the null-terminated, Unicode string that is being searched.
[in] pszSrch
Type: PCWSTR
A pointer to the null-terminated, Unicode substring that is being searched for.
cchMax
Type: UINT
The maximum number of characters from the beginning of the searched string in which to search for the substring.
Return value
Type: PWSTR
Returns the address of the first occurrence of the matching substring if successful, or NULL otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
DLL | Shell32.dll |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για