Export (0) Print
Expand All
Expand Minimize

ScLocalPathFromUNC

Last modified: July 23, 2011

Applies to: Outlook

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

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications and service providers

SCODE ScLocalPathFromUNC(
  LPSTR szUNC,
  LPSTR szLocal,
  UINT cchLocal
);

szUNC

[in] A path in the format \\[server]\[share]\[path] of a file or directory.

szLocal

[out] A path in the format [drive:]\[path] of the same file or directory as for the szUNC parameter.

cchLocal

[in] Size of the buffer for the output string.

S_OK

A local path was successfully located.

MAPI_E_TOO_BIG

szLocal was not large enough to hold the result.

S_FALSE

The UNC string was already a local path.

MAPI_E_NOT_FOUND

A local path was not found.

Show:
© 2014 Microsoft