StrChrNW function (shlwapi.h)
Searches a string for the first occurrence of a specified character. The comparison is case-sensitive.
Syntax
PCWSTR StrChrNW(
[in] PCWSTR pszStart,
WCHAR wMatch,
UINT cchMax
);
Parameters
[in] pszStart
Type: PWSTR
A pointer to the string to be searched.
wMatch
Type: WCHAR
The character to be used for comparison.
cchMax
Type: UINT
The maximum number of characters to search.
Return value
Type: PWSTR
Returns the address of the first occurrence of the character in the string if successful, or NULL otherwise.
Remarks
StrChrNW searches for wMatch from pszStart to pszStart + cchMax, or until a NULL character is encountered.
To help ensure optimal performance, pszStart should be word-aligned.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
Library | Shlwapi.lib |
DLL | Shlwapi.dll (version 6.0 or later) |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για