I'm trying to pause a windows driver that has the NOT_PAUSABLE attribute set. when I send a
sc query ServiceName
the output is as follow:
TYPE : 110 WIN32_OWN_PROCESS (interactive) STATE : 4 RUNNING (NOT_STOPPABLE,NOT_PAUSABLE,ACCEPTS_SHUTDOWN) WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0
Of course when I try to use SC to pause the driver/service I get an error.
Is there any way to pause (or force it to pause) this driver? from the command line? or by code (C or C++)