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.
A version of this page is also available for
4/8/2010
This method sets the priority of the request being sent to the pluggable protocol handler.
Syntax
HRESULT SetPriority(
LONG nPriority
);
Parameters
- nPriority
[in] Long integer value that contains the current thread priority.
Return Value
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
| Header | urlmon.h, urlmon.idl |
| Library | urlmon.lib |
| Windows Embedded CE | Windows CE .NET 4.0 and later |
| Windows Mobile | Windows Mobile Version 5.0 and later |