AvRevertMmThreadCharacteristics
TOC
Collapse the table of content
Expand the table of content

AvRevertMmThreadCharacteristics function

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

Syntax


BOOL WINAPI AvRevertMmThreadCharacteristics(
  _In_ HANDLE AvrtHandle
);

Parameters

AvrtHandle [in]

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]

Header

Avrt.h

Library

Avrt.lib

DLL

Avrt.dll

See also

Multimedia Class Scheduler Service

 

 

Show:
© 2016 Microsoft