Skip to content

Latest commit

 

History

History
82 lines (67 loc) · 2.53 KB

nf-shlwapi-pathislfnfilespeca.md

File metadata and controls

82 lines (67 loc) · 2.53 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.PathIsLFNFileSpecA
PathIsLFNFileSpecA function (shlwapi.h)
Determines whether a file name is in long format. (ANSI)
PathIsLFNFileSpecA
shlwapi/PathIsLFNFileSpecA
shell\PathIsLFNFileSpec.htm
shell
599cb457-da72-4416-bfb7-5bc55a0eeb2d
12/05/2018
PathIsLFNFileSpec, PathIsLFNFileSpec function [Windows Shell], PathIsLFNFileSpecA, PathIsLFNFileSpecW, _win32_PathIsLFNFileSpec, shell.PathIsLFNFileSpec, shlwapi/PathIsLFNFileSpec, shlwapi/PathIsLFNFileSpecA, shlwapi/PathIsLFNFileSpecW
shlwapi.h
Windows
Windows 2000 Professional, Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
PathIsLFNFileSpecW (Unicode) and PathIsLFNFileSpecA (ANSI)
Shlwapi.lib
Shlwapi.dll (version 5.0 or later)
Windows
19H1
PathIsLFNFileSpecA
shlwapi/PathIsLFNFileSpecA
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
PathIsLFNFileSpec
PathIsLFNFileSpecA
PathIsLFNFileSpecW

PathIsLFNFileSpecA function

-description

Determines whether a file name is in long format.

-parameters

-param pszName [in]

Type: LPCTSTR

A pointer to a null-terminated string of maximum length MAX_PATH that contains the file name to be tested.

-returns

Type: BOOL

Returns TRUE if pszName exceeds the number of characters allowed by the 8.3 format, or FALSE otherwise.

-see-also

PathIsFileSpec

-remarks

Note

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