Partage via


CV_CoroutineKind_e

Spécifie le type couroutine.

Syntaxe

typedef enum CV_CoroutineKind_e
{
    CV_COROUTINEKIND_NONE,
    CV_COROUTINEKIND_PRIMARY,
    CV_COROUTINEKIND_INIT,
    CV_COROUTINEKIND_RESUME,
    CV_COROUTINEKIND_DESTROY
} CV_CoroutineKind_e;

Éléments

Élément Description
CV_COROUTINEKIND_NONE Pas une coroutine.
CV_COROUTINEKIND_PRIMARY Fonction coroutine d’origine.
CV_COROUTINEKIND_INIT Fonction d’initialisation, configure le cadre coroutine.
CV_COROUTINEKIND_RESUME La fonction Resume contient le code du corps coroutine.
CV_COROUTINEKIND_DESTROY Détruire la fonction, détruit le cadre coroutin.

Notes

Utilisez la méthode IDiaSymbol8 ::get_coroutineKind pour récupérer le type de coroutine pour une fonction coroutine.

Spécifications

En-tête : cvconst.h

Voir aussi