Skip to content

Latest commit

 

History

History
90 lines (70 loc) · 2.71 KB

nf-shlwapi-pathsearchandqualifya.md

File metadata and controls

90 lines (70 loc) · 2.71 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.PathSearchAndQualifyA
PathSearchAndQualifyA function (shlwapi.h)
Determines if a given path is correctly formatted and fully qualified. (ANSI)
PathSearchAndQualifyA
shlwapi/PathSearchAndQualifyA
shell\PathSearchAndQualify.htm
shell
90da281d-349a-460a-aa5a-14e3b4ced727
12/05/2018
PathSearchAndQualify, PathSearchAndQualify function [Windows Shell], PathSearchAndQualifyA, PathSearchAndQualifyW, _win32_PathSearchAndQualify, shell.PathSearchAndQualify, shlwapi/PathSearchAndQualify, shlwapi/PathSearchAndQualifyA, shlwapi/PathSearchAndQualifyW
shlwapi.h
Windows
Windows 2000 Professional, Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
PathSearchAndQualifyW (Unicode) and PathSearchAndQualifyA (ANSI)
Shlwapi.lib
Shlwapi.dll (version 4.71 or later)
Windows
19H1
PathSearchAndQualifyA
shlwapi/PathSearchAndQualifyA
c++
APIRef
kbSyntax
DllExport
Shlwapi.dll
API-MS-Win-Core-shlwapi-legacy-l1-1-0.dll
KernelBase.dll
API-MS-Win-DownLevel-shlwapi-l1-1-1.dll
PathSearchAndQualify
PathSearchAndQualifyA
PathSearchAndQualifyW

PathSearchAndQualifyA function

-description

Determines if a given path is correctly formatted and fully qualified.

-parameters

-param pszPath [in]

Type: LPCTSTR

A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to search.

-param pszBuf [out]

Type: LPTSTR

A pointer to a null-terminated string of length MAX_PATH that contains the path to be referenced.

-param cchBuf [in]

Type: UINT

The size of the buffer pointed to by pszFullyQualifiedPath, in characters.

-returns

Type: BOOL

Returns TRUE if the path is qualified, or FALSE otherwise.

-remarks

Note

The shlwapi.h header defines PathSearchAndQualify 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.