ActivationFactory::GetTrustLevel Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at ActivationFactory::GetTrustLevel Method.

Gets the trust level of the object that the current ActivationFactory instantiates.

STDMETHOD(  
   GetTrustLevel  
)(_Out_ TrustLevel* trustLvl);  

Parameters

trustLvl
When this operation completes, the trust level of the runtime class that the ActivationFactory instantiates.

S_OK if successful; otherwise, an assertion error is emitted and trustLvl is set to FullTrust.

Header: module.h

Namespace: Microsoft::WRL

ActivationFactory Class

Show: