mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
Tidied up some DynamicLibrary stuff and fixed a drop-shadow problem on mac.
This commit is contained in:
parent
94a0bf1af1
commit
b1a77fa391
27 changed files with 504 additions and 548 deletions
|
|
@ -822,9 +822,9 @@ public:
|
|||
|
||||
void setMMThreadPriority()
|
||||
{
|
||||
DynamicLibraryLoader dll ("avrt.dll");
|
||||
DynamicLibraryImport (AvSetMmThreadCharacteristicsW, avSetMmThreadCharacteristics, HANDLE, dll, (LPCWSTR, LPDWORD))
|
||||
DynamicLibraryImport (AvSetMmThreadPriority, avSetMmThreadPriority, HANDLE, dll, (HANDLE, AVRT_PRIORITY))
|
||||
DynamicLibrary dll ("avrt.dll");
|
||||
JUCE_DLL_FUNCTION (AvSetMmThreadCharacteristicsW, avSetMmThreadCharacteristics, HANDLE, dll, (LPCWSTR, LPDWORD))
|
||||
JUCE_DLL_FUNCTION (AvSetMmThreadPriority, avSetMmThreadPriority, HANDLE, dll, (HANDLE, AVRT_PRIORITY))
|
||||
|
||||
if (avSetMmThreadCharacteristics != 0 && avSetMmThreadPriority != 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue