IMFNetResourceFilter::OnRedirect method (mfidl.h)
Called when the byte stream redirects to a URL.
Syntax
HRESULT OnRedirect(
[in] LPCWSTR pszUrl,
[out] VARIANT_BOOL *pvbCancel
);
Parameters
[in] pszUrl
The URL to which the connection has been redirected.
[out] pvbCancel
To cancel the redirection, set this parameter to VARIANT_TRUE. To allow the redirection, set this parameter to VARIANT_FALSE.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mfidl.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for