UrlGetPartA(3w)

UrlGetPartA3w

Usage

HRESULT UrlGetPartA
(
LPCSTR pszIn,
LPSTR pszOut,
LPDWORD pcchOut,
DWORD dwPart,
DWORD dwFlags
)

Overview

Retrieve part of a Url.

Params

pszIn [In] Url to parse.

pszOut [Out] Destination for part of pszIn requested.

pcchOut [In] Size of pszOut.

[Out] length of pszOut string EXCLUDING ' ' if S_OK, otherwise needed size of pszOut INCLUDING ' '.

dwPart [In] URL_PART_ enum from "shlwapi.h".

dwFlags [In] URL_ flags from "shlwapi.h".

Returns

Success: S_OK. pszOut contains the part requested, pcchOut contains its length.

Failure: An HRESULT error code describing the error.

Implementation

Declared in "shlwapi.h".

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

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.