winapi - User Mode Scheduler (UMS) returns ERROR_NOT_SUPPORTED -


i want use windows user-mode scheduler api every sample c or c++ have found in internet fails. invariably error_not_supported.

my computer running windows 10 pro 64-bits in x64 processor. using vs2015 , application x64 console application.

notably not every call fails, in 4 samples i've tested either

  1. enterumsschedulingmode
  2. createremotethreadex

fail error_not_supported. necessary things going, example createumscompletionlist or getumscompletionlistevent not.

the api not trivial use having hard time believing of them wrong.

i've debugged bit happens inside enterumsschedulingmode , seems things go wrong when calling ntsetinformationthread inside rtlpattachthreadtoumscompletionlist although of less sure.

here one , here another of samples i've tried.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -