Share via


Funzione AvRevertMmThreadCharacteristics (avrt.h)

Indica che un thread non esegue più operazioni associate all'attività specificata.

Sintassi

AVRTAPI BOOL AvRevertMmThreadCharacteristics(
  [in] HANDLE AvrtHandle
);

Parametri

[in] AvrtHandle

Handle per l'attività. Questo handle viene restituito dalla funzione AvSetMmThreadCharacteristics o AvSetMmMaxThreadCharacteristics .

Valore restituito

Se la funzione ha esito positivo, il valore restituito è diverso da zero.

Se la funzione ha esito negativo, il valore restituito è zero. Per informazioni dettagliate sull'errore, chiamare GetLastError.

Commenti

Questa funzione deve essere chiamata dallo stesso thread che ha chiamato la funzione AvSetMmThreadCharacteristics o AvSetMmMaxThreadCharacteristics per creare l'handle. In caso contrario, la funzione avrà esito negativo.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2008 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione avrt.h
Libreria Avrt.lib
DLL Avrt.dll

Vedi anche

Servizio Utilità di pianificazione classi multimediali