ecoqos_enabled

Function ecoqos_enabled 

Source
pub unsafe fn ecoqos_enabled(hthread: HANDLE) -> Result<bool, Error>
Expand description

check whether EcoQoS is enabled on a thread.

hprocess must have THREAD_QUERY_INFORMATION access right.

SAFETY: hthread must be a valid process handle. DO NOT pass null ptr, e.g.