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

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -