APTTYPEQUALIFIER_NA_ON_MTA constant

int const APTTYPEQUALIFIER_NA_ON_MTA

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

Implementation

static const APTTYPEQUALIFIER_NA_ON_MTA = 2;