Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
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 code 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.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.