# IBinding::GetPriority

Retrieves the current priority of this bind operation.

HRESULT GetPriority(

LONG *pnPriority | //Pointer to the priority value
); |

Parameters

pnPriority
  [out] Pointer to a LONG variable indicating the priority established for this binding relative to other bindings and the system. May not be NULL.

Return Values

S_OK
  The priority was successfully returned.
E_INVALIDARG
  The pnPriority parameter is invalid.

Remarks

Priority values are taken from the Win32 thread priority APIs (SetThreadPriority and GetThreadPriority).

See Also

IBinding::SetPriority