Поделиться через


CAsyncMonikerFile::GetPriority

Called from the client of an asynchronous moniker as the binding process starts to receive the priority given to the thread for the binding operation.

virtual LONG GetPriority( ) const;

Возвращаемое значение

The priority at which the asynchronous transfer will take place. One of the standard thread priority flags: THREAD_PRIORITY_ABOVE_NORMAL, THREAD_PRIORITY_BELOW_NORMAL, THREAD_PRIORITY_HIGHEST, THREAD_PRIORITY_IDLE, THREAD_PRIORITY_LOWEST, THREAD_PRIORITY_NORMAL, and THREAD_PRIORITY_TIME_CRITICAL. See the Windows function SetThreadPriority for a description of these values.

Заметки

GetPriority should not be called directly. THREAD_PRIORITY_NORMAL is returned by the default implementation.

Требования

Header: afxole.h

См. также

Основные понятия

CAsyncMonikerFile Class

CAsyncMonikerFile Members

Hierarchy Chart