Skip to content

Latest commit

 

History

History
71 lines (59 loc) · 2.04 KB

nf-pathcch-pathisuncex.md

File metadata and controls

71 lines (59 loc) · 2.04 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:pathcch.PathIsUNCEx
PathIsUNCEx function (pathcch.h)
Determines if a path string is a valid Universal Naming Convention (UNC) path, as opposed to a path based on a drive letter.This function differs from PathIsUNC in that it also allows you to extract the name of the server from the path.
PathIsUNCEx
PathIsUNCEx function [Windows Shell]
pathcch/PathIsUNCEx
shell.PathIsUNCEx
shell\PathIsUNCEx.htm
shell
3b2a4158-63ec-49eb-a031-7493d02f2caa
12/05/2018
PathIsUNCEx, PathIsUNCEx function [Windows Shell], pathcch/PathIsUNCEx, shell.PathIsUNCEx
pathcch.h
Windows
Windows 8 [desktop apps \| UWP apps]
Windows Server 2012 [desktop apps \| UWP apps]
Pathcch.lib
Windows
19H1
PathIsUNCEx
pathcch/PathIsUNCEx
c++
APIRef
kbSyntax
DllExport
pathcch.lib
API-MS-Win-Core-Path-l1-1-0.dll
KernelBase.dll
PathIsUNCEx

PathIsUNCEx function

-description

Determines if a path string is a valid Universal Naming Convention (UNC) path, as opposed to a path based on a drive letter.

This function differs from PathIsUNC in that it also allows you to extract the name of the server from the path.

-parameters

-param pszPath [in]

A pointer to the path string.

-param ppszServer [out, optional]

A pointer to a string that, when this function returns successfully, receives the server portion of the UNC path. This value can be NULL if you don't need this information.

-returns

Returns TRUE if the string is a valid UNC path; otherwise, FALSE.