using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.NmxAdptr; [ComImport] [Guid("F2B877E7-1DBE-11D3-80AD-00104B5F96A7")] [TypeLibType(TypeLibTypeFlags.FCanCreate)] [ClassInterface(ClassInterfaceType.None)] public class MxConnectionClass : IMxSupervisoryConnection, MxConnection, IMxSupervisoryConnection3, IMxUserConnection, IMxUserConnection2, IMxUserConnection3, IMxUserConnection4, IMxUserConnection5, IMxUserConnection6, IMxSystemConnection, IMxSystemConnection2, IMxSystemConnection3, IMxBindingService, IMxBindingService2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int SupervisoryRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SupervisoryUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue SupervisoryGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SupervisorySetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxSupervisoryConnection3_SupervisoryRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSupervisoryConnection3_SupervisoryUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxSupervisoryConnection3_SupervisoryGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSupervisoryConnection3_SupervisorySetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSupervisoryConnection3_SetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue SupervisoryGetAttribute3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SupervisorySetAttribute3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SupervisoryGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string UserGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection2_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection2_UserUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection2_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection2_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string IMxUserConnection2_UserGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection2_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection3_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection3_UserUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection3_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection3_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string IMxUserConnection3_UserGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection3_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection3_UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection3_UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection3_UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection4_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection4_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string IMxUserConnection4_UserGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection4_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection4_UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection4_UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetBigString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserGetInternationalizedString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection5_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection5_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string IMxUserConnection5_UserGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection5_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection5_UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection5_UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection5_UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetBigString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection5_UserGetInternationalizedString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserSetAttribute5([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection6_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection6_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string IMxUserConnection6_UserGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxUserConnection6_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection6_UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection6_UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxUserConnection6_UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetBigString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserGetInternationalizedString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxUserConnection6_UserSetAttribute5([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UserSetAttribute6([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool subscribe); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SystemUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string SystemGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxSystemConnection2_SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool subscribe); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSystemConnection2_SystemUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxSystemConnection2_SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxSystemConnection2_SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSystemConnection2_SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSystemConnection2_SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxSystemConnection2_SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string IMxSystemConnection2_SystemGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SystemSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SystemSetAttribute2([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern int IMxSystemConnection3_SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool subscribe); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSystemConnection3_SystemUnregisterReference([In] int hRef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxSystemConnection3_SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxSystemConnection3_SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSystemConnection3_SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSystemConnection3_SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue IMxSystemConnection3_SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] public virtual extern string IMxSystemConnection3_SystemGetQualityDescription([In] ref short mxDataQuality); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSystemConnection3_SystemSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxSystemConnection3_SystemSetAttribute2([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue SystemGetAttribute3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SystemSetAttribute3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In] short Quality, [In] _FILETIME Timestamp, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority = 0); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue SystemGetAttributeBlocking3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SystemSetAttributeGuaranteed3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] public virtual extern MxValue SystemSetAttributeBlocking3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In] short QualityIn, [In] _FILETIME TimestampIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription, out short pMxDataQualityOut, out _FILETIME pMxTimeOut); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void SystemGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void PrebindReference([In][MarshalAs(UnmanagedType.LPWStr)] string referenceString, out int preboundRefHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void UnregisterPreboundReference([In] int preboundRefHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxBindingService2_PrebindReference([In][MarshalAs(UnmanagedType.LPWStr)] string referenceString, out int preboundRefHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void IMxBindingService2_UnregisterPreboundReference([In] int preboundRefHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void PrebindReferenceEx([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, out int preboundRefHandle); }