AvQuerySystemResponsiveness function (avrt.h)

Retrieves the system responsiveness setting used by the multimedia class scheduler service.

Syntax

AVRTAPI BOOL AvQuerySystemResponsiveness(
  [in]  HANDLE AvrtHandle,
  [out] PULONG SystemResponsivenessValue
);

Parameters

[in] AvrtHandle

A handle to the task. This handle is returned by the AvSetMmThreadCharacteristics or AvSetMmMaxThreadCharacteristics function.

[out] SystemResponsivenessValue

The system responsiveness value. This value can range from 10 to 100 percent.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header avrt.h
Library Avrt.lib
DLL Avrt.dll

See also

Multimedia Class Scheduler Service