Contents Previous Page Next Page
IBinding::SetPriority

Establishes the priority for the bind operation.

HRESULT SetPriority(

    LONG 
nPriority     //Relative priority for this binding   
                                                              
   );                                                         
                                                              

Parameters

nPriority

[in] Priority to establish for this binding relative to other bindings and the system.

Return Values

S_OK

The priority was successfully set.

E_FAIL

The priority could not be changed.

Remarks

IBinding::SetPriority stablishes the priority for the bind operation. Priority values are taken from the Microsoft« Win32« thread priority APIs (SetThreadPriority and GetThreadPriority). The final priority is determined from values gathered from all clients of the bind operation.

Note that this method is currently unimplemented for URL monikers and the policy for determining the priority level is TBD.

See Also

IBinding::GetPriority