Export (0) Print
Expand All
Expand Minimize

ScUNCFromLocalPath

Last modified: July 23, 2011

Applies to: Outlook

Locates a universal naming convention (UNC) path counterpart to the given local path.

Header file:

Mapidefs.h

Implemented by:

MAPI

Called by:

Client applications and service providers

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

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.

S_OK

The UNC path counterpart was successfully located.

MAPI_E_INVALID_PARAMETER

One or more parameters are invalid.

MAPI_E_TOO_BIG

szUNC was not large enough to hold the result.

S_FALSE

The local path was already a UNC string.

Show:
© 2014 Microsoft