Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method sets the priority of the request being sent to the pluggable protocol handler.
HRESULT SetPriority(LONGnPriority);
Parameters
- nPriority
[in] Long integer value that contains the current thread priority.
Return Values
Returns S_OK if successful or an error value otherwise.
Remarks
For the default protocol handlers, IInternetPriority::SetPriority maps to the Win32 Internet function InternetSetOption, using the INTERNET_OPTION_REQUEST_PRIORITY option flag. IInternetPriority::SetPriority must be called before the initial call to IInternetProtocolRoot::Start is made. All IInternetPriority::SetPriority calls made after IInternetProtocolRoot::Start has been called are ignored.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.
See Also
IInternetProtocolRoot::Start | InternetSetOption
Send Feedback on this topic to the authors