Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

PathCreateFromUrlAlloc function

Creates a path from a file URL.

Syntax


HRESULT PathCreateFromUrlAlloc(
  _In_   PCWSTR pszIn,
  _Out_  PWSTR *ppszOut,
  DWORD dwFlags
);

Parameters

pszIn [in]

Type: PCWSTR

A pointer to the URL of a file, represented as a null-terminated, Unicode string.

ppszOut [out]

Type: PWSTR*

The address of a pointer to a buffer of length MAX_PATH that, when this function returns successfully, receives the file path.

dwFlags

Type: DWORD

Reserved, must be 0.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shlwapi.h

DLL

Shlwapi.dll

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.