HRESULT SetInterfaceSafetyOptions( REFIID riid, DWORD dwOptionsSetMask, DWORD dwEnabledOptions );
See IObjectSafety::SetInterfaceSafetyOptions in the ActiveX SDK.
Remarks
Makes the object safe for initialization or scripting. If the riid parameter is not IID_IDispatch, this method returns E_NOINTERFACE.