IInternetProtocolInfo::ParseUrl Method
Parses a URL.
Syntax
HRESULT ParseUrl( LPCWSTR pwzUrl, PARSEACTION ParseAction, DWORD dwParseFlags, LPWSTR pwzResult, DWORD cchResult, DWORD *pcchResult, DWORD dwReserved );
Parameters
- pwzUrl
- [in] A string value that contains the URL to parse.
- ParseAction
- [in] A PARSEACTION value that determines the information to parse from the URL.
- dwParseFlags
- [in] Reserved. Must be set to 0.
- pwzResult
- [out] A string value that contains the information parsed from the URL.
- cchResult
- [in] An unsigned long integer value that contains the size of the buffer.
- pcchResult
- [out] A pointer to an unsigned long integer value that contains the size of the information stored in the buffer.
- dwReserved
- [in] Reserved. Must be set to 0.
Return Value
Can return one of the following values.
S_OK Success. S_FALSE The buffer is too small to contain the resulting URL. INET_E_DEFAULT_ACTION Use the default action.
Remarks
This method is invoked by CoInternetParseUrl for each protocol handler. See CoInternetParseUrl for more information.
See Also
CoInternetParseUrl