APTTYPEQUALIFIER_NA_ON_MAINSTA constant

int const APTTYPEQUALIFIER_NA_ON_MAINSTA

This qualifier is only valid when the pAptType parameter of the CoGetApartmentType function contains APTTYPE_NA on return. When the main STA thread creates or invokes a COM in-process object using the "Neutral" threading model, the COM apartment type of the thread switches from the main STA type to a Neutral apartment type. This qualifier informs the API caller that the thread has switched from the main STA apartment type to the NA type.

Implementation

static const APTTYPEQUALIFIER_NA_ON_MAINSTA = 5;