The IObjectSafety interface provides methods to retrieve and set safety options.
IObjectSafety Methods
GetInterfaceSafetyOptions Retrieves the safety options supported by an object, as well as the safety options that are currently set for that object. SetInterfaceSafetyOptions Makes an object safe for initialization or scripting.
Interface Information
Implementation Custom Inherits from IUnknown Header and IDL files Objsafe.h; Objsafe.idl Minimum availability Internet Explorer 4.0 Minimum operating systems Windows 95, Windows NT 4.0