EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

HttpPrepareUrl function

The HttpPrepareUrl function parses, analyzes, and normalizes a non-normalized Unicode or punycode URL so it is safe and valid to use in other HTTP functions.

Syntax


HTTPAPI_LINKAGE ULONG WINAPI HttpPrepareUrl(
  _Reserved_  PVOID Reserved,
  _Reserved_  ULONG Flags,
  _In_        PCWSTR Url,
  _Out_       PWSTR *PreparedUrl
);

Parameters

Reserved

Reserved. Must be NULL.

Flags

Reserved. Must be zero.

Url [in]

A pointer to a string that represents the non-normalized Unicode or punycode URL to prepare.

Note  Free Url using HeapFree.

PreparedUrl [out]

On successful output, a pointer to a string that represents the normalized URL.

Return value

If the function succeeds, it returns ERROR_SUCCESS.

If the function fails, it returns one of the following or a system error code defined in WinError.h.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Http.h

Library

Httpapi.lib

DLL

Httpapi.dll

 

 

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft