AvRevertMmThreadCharacteristics function

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

Syntax

AVRTAPI BOOL AvRevertMmThreadCharacteristics(
  HANDLE AvrtHandle
);

Parameters

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

   
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