SetListeningPriority


Deprecated, consider using WaitForPrnPipeWithPriority instead

 

#include “BLICECTR.H”

 

BOOL PASCAL SetListeningPriority(int nPri);

Description

Sets the priority of the Pipe Message Capture thread that was started by WaitForPrnPipe.

SetListeningPriority does not work with threads created by WaitForPrnPipeWithPriority.

Parameters

INT nPri  -  sets  the  priority of the thread which waits for pipe messages. Valid values are the following:

THREAD_PRIORITY_LOWEST
THREAD_PRIORITY_BELOW_NORMAL
THREAD_PRIORITY_NORMAL
THREAD_PRIORITY_HIGHEST
THREAD_PRIORITY_ABOVE_NORMAL
THREAD_PRIORITY_ERROR_RETURN
THREAD_PRIORITY_TIME_CRITICAL
THREAD_PRIORITY_IDLE

Return value

TRUE if the function was successful, FALSE otherwise.

Programming Notes

None

Code Example

None