using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("5DDF5C87-5A7A-41D6-B689-C170CD37CC00")] public interface IAccessManagerProvider2 : IAccessManagerProvider { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void RegisterAutomationObject([In][MarshalAs(UnmanagedType.Interface)] CoBaseRuntimeObject pAutomationObject, [In] int AutomationObjectId, [In][MarshalAs(UnmanagedType.LPWStr)] string AutomationObjectName, [In] int AutomationObjectSignature); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void UnRegisterAutomationObject([In] int AutomationObjectId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void CancelAllSubscriptions(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void NotifySubscriptionChange([In] int index, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref short quality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void InvalidateSubscription([In] int index); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void ObjectRestored([In][MarshalAs(UnmanagedType.Interface)] CoBaseRuntimeObject pAutomationObject, [In] int AutomationObjectId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void UnregisterAutomationObjectNoUpdate([In] int AutomationObjectId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void UpdateObjectsAttribute(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void NotifySubscriptionChange2([In] int index, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref short quality, [In] ref _FILETIME timeStamp); }