AvRevertMmThreadCharacteristics function (avrt.h)

Indicates that a thread is no longer performing work associated with the specified task.

Syntax

AVRTAPI BOOL AvRevertMmThreadCharacteristics(
  [in] HANDLE AvrtHandle
);

Parameters

[in] AvrtHandle

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

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.

Remarks

This function must be called from the same thread that called the AvSetMmThreadCharacteristics or AvSetMmMaxThreadCharacteristics function to create the handle. Otherwise, the function will fail.

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