StrPBrk function
Searches a string for the first occurrence of a character contained in a specified buffer. This search does not include the terminating null character.
Syntax
PTSTR StrPBrk( _In_ PTSTR psz, _In_ PCTSTR pszSet );
Parameters
- psz [in]
-
Type: PTSTR
A pointer to the null-terminated string to be searched.
- pszSet [in]
-
Type: PCTSTR
A pointer to a null-terminated character buffer that contains the characters for which to search.
Return value
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.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
StrPBrkW (Unicode) and StrPBrkA (ANSI) |