UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:shlwapi.StrPBrkW |
StrPBrkW function (shlwapi.h) |
Searches a string for the first occurrence of a character contained in a specified buffer. This search does not include the terminating null character. (Unicode) |
|
shell\StrPBrk.htm |
shell |
116c0791-33dd-4c3f-b8a4-a7df91fc5f6a |
12/05/2018 |
StrPBrk, StrPBrk function [Windows Shell], StrPBrkA, StrPBrkW, _win32_StrPBrk, shell.StrPBrk, shlwapi/StrPBrk, shlwapi/StrPBrkA, shlwapi/StrPBrkW |
shlwapi.h |
Windows |
Windows 2000 Professional, Windows XP [desktop apps only] |
Windows 2000 Server [desktop apps only] |
StrPBrkW (Unicode) and StrPBrkA (ANSI) |
Shlwapi.lib |
Shlwapi.dll (version 4.71 or later) |
Windows |
19H1 |
|
|
|
|
|
|
Searches a string for the first occurrence of a character contained in a specified buffer. This search does not include the terminating null character.
Type: PTSTR
A pointer to the null-terminated string to be searched.
Type: PCTSTR
A pointer to a null-terminated character buffer that contains the characters for which to search.
Type: PTSTR
Returns the address in psz of the first occurrence of a character contained in the buffer at pszSet, or NULL if no match is found.
Note
The shlwapi.h header defines StrPBrk as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.