APTTYPEQUALIFIER_NA_ON_STA constant

int const APTTYPEQUALIFIER_NA_ON_STA

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

Implementation

static const APTTYPEQUALIFIER_NA_ON_STA = 3;