Skip to content

Latest commit

 

History

History
79 lines (65 loc) · 2.62 KB

nf-shlwapi-pathisfilespeca.md

File metadata and controls

79 lines (65 loc) · 2.62 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.PathIsFileSpecA
PathIsFileSpecA function (shlwapi.h)
Searches a path for any path-delimiting characters (for example, ':' or '\' ). If there are no path-delimiting characters present, the path is considered to be a File Spec path.
PathIsFileSpecA
shlwapi/PathIsFileSpecA
shell\PathIsFileSpec.htm
shell
c69d6cca-44e7-4792-8fb2-3c4ecd2e57f2
12/05/2018
PathIsFileSpec, PathIsFileSpec function [Windows Shell], PathIsFileSpecA, PathIsFileSpecW, _win32_PathIsFileSpec, shell.PathIsFileSpec, shlwapi/PathIsFileSpec, shlwapi/PathIsFileSpecA, shlwapi/PathIsFileSpecW
shlwapi.h
Windows
Windows 2000 Professional, Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
PathIsFileSpecW (Unicode) and PathIsFileSpecA (ANSI)
Shlwapi.lib
Shlwapi.dll (version 4.71 or later)
Windows
19H1
PathIsFileSpecA
shlwapi/PathIsFileSpecA
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
PathIsFileSpec
PathIsFileSpecA
PathIsFileSpecW

PathIsFileSpecA function

-description

Searches a path for any path-delimiting characters (for example, ':' or '' ). If there are no path-delimiting characters present, the path is considered to be a File Spec path.

-parameters

-param pszPath [in]

Type: LPCTSTR

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

-returns

Type: BOOL

Returns TRUE if there are no path-delimiting characters within the path, or FALSE if there are path-delimiting characters.

-remarks

Note

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