CV_CoroutineKind_e

Specifies the couroutine kind.

Syntax

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

Elements

Element Description
CV_COROUTINEKIND_NONE Not a coroutine.
CV_COROUTINEKIND_PRIMARY The original coroutine function.
CV_COROUTINEKIND_INIT Initialization function, sets up the coroutine frame.
CV_COROUTINEKIND_RESUME Resume function, contains the coroutine body code.
CV_COROUTINEKIND_DESTROY Destroy function, tears down the coroutine frame.

Remarks

Use the IDiaSymbol8::get_coroutineKind method to retrieve the coroutine kind for a coroutine function.

Requirements

Header: cvconst.h

See also