Skip to content

Latest commit

 

History

History
86 lines (69 loc) · 2.67 KB

nf-shlwapi-strpbrkw.md

File metadata and controls

86 lines (69 loc) · 2.67 KB
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)
StrPBrk
StrPBrk function [Windows Shell]
StrPBrkW
_win32_StrPBrk
shell.StrPBrk
shlwapi/StrPBrk
shlwapi/StrPBrkW
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
StrPBrkW
shlwapi/StrPBrkW
c++
APIRef
kbSyntax
DllExport
Shlwapi.dll
API-MS-Win-Core-shlwapi-Obsolete-l1-1-0.dll
KernelBase.dll
API-MS-Win-Core-shlwapi-Obsolete-l1-2-0.dll
API-MS-Win-DownLevel-shlwapi-l1-1-0.dll
API-MS-Win-DownLevel-shlwapi-l1-1-1.dll
StrPBrk
StrPBrkA
StrPBrkW

StrPBrkW function

-description

Searches a string for the first occurrence of a character contained in a specified buffer. This search does not include the terminating null character.

-parameters

-param psz [in]

Type: PTSTR

A pointer to the null-terminated string to be searched.

-param pszSet [in]

Type: PCTSTR

A pointer to a null-terminated character buffer that contains the characters for which to search.

-returns

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.

-remarks

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.