Platform SDK: MAPI

ScUNCFromLocalPath

The ScUNCFromLocalPath function locates a universal naming convention (UNC) path counterpart to the given local path.

Note  This function may not be supported in future versions of MAPI.

Quick Info

Header file: MAPIUTIL.H
Implemented by: MAPI
Called by: Client applications and service providers

SCODE ScUNCFromLocalPath(
  LPSTR szLocal,   
  LPSTR szUNC,     
  UINT cchUNC      
);
 

Parameters

szLocal
[in] A path in the format [drive:]\[path] of a file or directory.
szUNC
[out] A path in the format \\[server]\[share]\[path] of the same file or directory as for the szLocal parameter.
cchUNC
[in] Size of the buffer for the output string.

See Also

Path Name Functions, ScLocalPathFromUNC