Skip to content

Latest commit

 

History

History
79 lines (65 loc) · 2.31 KB

nf-shlwapi-pathisrelativea.md

File metadata and controls

79 lines (65 loc) · 2.31 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.PathIsRelativeA
PathIsRelativeA function (shlwapi.h)
Searches a path and determines if it is relative. (ANSI)
PathIsRelativeA
shlwapi/PathIsRelativeA
shell\PathIsRelative.htm
shell
ad36c277-645f-4c62-af7d-b75e29de573f
12/05/2018
PathIsRelative, PathIsRelative function [Windows Shell], PathIsRelativeA, PathIsRelativeW, _win32_PathIsRelative, shell.PathIsRelative, shlwapi/PathIsRelative, shlwapi/PathIsRelativeA, shlwapi/PathIsRelativeW
shlwapi.h
Windows
Windows 2000 Professional, Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
PathIsRelativeW (Unicode) and PathIsRelativeA (ANSI)
Shlwapi.lib
Shlwapi.dll (version 4.71 or later)
Windows
19H1
PathIsRelativeA
shlwapi/PathIsRelativeA
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-0.dll
API-MS-Win-DownLevel-shlwapi-l1-1-1.dll
PathIsRelative
PathIsRelativeA
PathIsRelativeW

PathIsRelativeA function

-description

Searches a path and determines if it is relative.

-parameters

-param pszPath [in]

Type: LPCTSTR

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

-returns

Type: BOOL

Returns TRUE if the path is relative, or FALSE if it is absolute.

-remarks

Note

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