Reference

UrlCreateFromPathW(3w)

NAME

UrlCreateFromPathW (SHLWAPI.@)

SYNOPSIS

HRESULT UrlCreateFromPathW
(
LPCWSTR pszPath,
LPWSTR pszUrl,
LPDWORD pcchUrl,
DWORD dwReserved
)

DESCRIPTION

Create a Url from a file path.

PARAMS

pszPath [In] Path to convert.

pszUrl [Out] Destination for the converted Url.

pcchUrl [In/Out] Length of pszUrl.

dwReserved [In] Reserved, must be 0.

RETURNS

Success: S_OK pszUrl contains the converted path, S_FALSE if the path is already a Url

Failure: An HRESULT error code.

IMPLEMENTATION

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/url.c".

Debug channel "shell".

History