Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ScUNCFromLocalPath

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
);

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.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.