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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.