Share via


ActivationFactory::GetTrustLevel Method

 

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.

Syntax

STDMETHOD(  
   GetTrustLevel  
)(_Out_ TrustLevel* trustLvl);  

Parameters

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

Return Value

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

Requirements

Header: module.h

Namespace: Microsoft::WRL

See Also

ActivationFactory Class