Ardour  9.0-pre0-582-g084a23a80d
windows_mmcss.h File Reference
#include <windows.h>
#include <string>
#include "pbd/libpbd_visibility.h"
Include dependency graph for windows_mmcss.h:

Go to the source code of this file.

Namespaces

 PBD
 
 PBD::MMCSS
 

Enumerations

enum  PBD::MMCSS::AVRT_PRIORITY {
  PBD::MMCSS::AVRT_PRIORITY_VERYLOW = -2 , PBD::MMCSS::AVRT_PRIORITY_LOW , PBD::MMCSS::AVRT_PRIORITY_NORMAL , PBD::MMCSS::AVRT_PRIORITY_HIGH ,
  PBD::MMCSS::AVRT_PRIORITY_CRITICAL
}
 
enum  PBD::MMCSS::error_codes { PBD::MMCSS::ERROR_INVALID_TASK_NAME = 1550 , PBD::MMCSS::ERROR_INVALID_TASK_INDEX = 1551 }
 

Functions

bool PBD::MMCSS::initialize ()
 
bool PBD::MMCSS::deinitialize ()
 
bool PBD::MMCSS::set_thread_characteristics (const std::string &task_name, HANDLE *task_handle)
 
bool PBD::MMCSS::revert_thread_characteristics (HANDLE task_handle)
 
bool PBD::MMCSS::set_thread_priority (HANDLE, AVRT_PRIORITY)