Bagikan melalui


ParseUrl method

Parses a URL.

Syntax

HRESULT retVal = object.ParseUrl(pwzUrl, ParseAction, dwParseFlags, pwzResult, cchResult, pcchResult, dwReserved);

Parameters

  • pwzUrl [in]
    Type: LPCWSTR

    A string value that contains the URL to parse.

  • ParseAction [in]
    Type: PARSEACTION

    A PARSEACTION value that determines the information to parse from the URL.

  • dwParseFlags [in]
    Type: DWORD

    Reserved. Must be set to 0.

  • pwzResult [out]
    Type: LPWSTR

    A string value that contains the information parsed from the URL.

  • cchResult [in]
    Type: DWORD

    An unsigned long integer value that contains the size of the buffer.

  • pcchResult [out]
    Type: DWORD

    A pointer to an unsigned long integer value that contains the size of the information stored in the buffer.

  • dwReserved [in]
    Type: DWORD

    Reserved. Must be set to 0.

Remarks

This method is invoked by CoInternetParseUrl for each protocol handler. See CoInternetParseUrl for more information.

See also

CoInternetParseUrl