Compartir a través de


IObjectSafetyImpl::GetInterfaceSafetyOptions

Retrieves the safety options supported by the object, as well as the safety options currently set for the object.

HRESULT GetInterfaceSafetyOptions( 
   REFIID riid, 
   DWORD* pdwSupportedOptions, 
   DWORD* pdwEnabledOptions  
);

Remarks

The implementation returns the appropriate values for any interface supported by the object's implementation of IUnknown::QueryInterface.

Security noteSecurity Note

Any object that supports IObjectSafety is responsible for its own security, and that of any object it delegates. The programmer must take into account issues arising from running code in the user's context, cross-site scripting and perform suitable zone checking.

See IObjectSafety::GetInterfaceSafetyOptions in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IObjectSafetyImpl Class

IObjectSafetyImpl::SetInterfaceSafetyOptions