Initial project state: .NET reference, design, Rust port (M0+M1), evidence
rust / build / test / clippy / fmt (push) Has been cancelled

Layout:
- src/                    .NET 10 x64 reference: MxNativeCodec, MxNativeClient,
                          MxAsbClient, probes, tests, harnesses. Executable spec.
- design/                 Architectural plan for the Rust port (M0–M6), error
                          model, protocol invariants, risks (R1–R16), adversarial
                          review log (review.md).
- rust/                   Rust workspace. M0 skeleton + M1 codec parity.
                          mxaccess-codec: 215 unit tests + 2 cross-implementation
                          parity tests (byte-identical against .NET reference).
                          Other crates are M0 stubs awaiting M2+.
- captures/               Frida + netsh + pcap evidence per CLAUDE.md
                          ("captures are evidence, not throwaway logs").
- analysis/               Decompiled C# (frida/proxy/decompiled-*),
                          Ghidra exports for native DLLs (`exports/` only —
                          working state at `projects/` and AVEVA's input
                          binaries at `input/` are gitignored).
- docs/                   Reverse-engineering reference docs.
- tools/                  Setup-LiveProbeEnv.ps1 (Infisical credential fetcher),
                          Compute-Crc.ps1 (.NET parity helper).
- .github/workflows/      Rust CI: fmt + build + test + clippy on Windows.
- LICENSE                 MIT (Joseph Doherty, 2026).

Verified:
- cargo test --workspace → 217 passed (215 unit + 2 .NET parity), 0 failed
- cargo clippy --workspace -- -D warnings → clean
- cargo fmt --all -- --check → clean
- cargo publish --dry-run -p mxaccess-codec → packages cleanly

Excluded from history (see .gitignore):
- **/bin, **/obj, **/target — build artifacts
- analysis/ghidra/projects/ — Ghidra working state (regenerable)
- analysis/ghidra/input/ — AVEVA proprietary DLLs (vendor IP)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Joseph Doherty
2026-05-05 06:21:00 -04:00
parent 43733699b0
commit fe2a6db786
3849 changed files with 352975 additions and 0 deletions
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Interop.aaMxDataConsumer</AssemblyName>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<TargetFramework>net40</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<LangVersion>14.0</LangVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup />
<ItemGroup />
<ItemGroup />
</Project>
@@ -0,0 +1,17 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("C826B0C8-F2AE-4032-BDF4-B74C189087BD")]
public struct ASBResultCode
{
public ulong ItemId;
[MarshalAs(UnmanagedType.Error)]
public int ErrorCode;
public uint WriteCapability;
public uint WriteHandle;
}
@@ -0,0 +1,20 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("4C6219B2-BE72-4EB4-9722-2D14F2B1D94E")]
public struct DataChangeUpdate
{
public ulong ItemId;
public int StatusCode;
public uint HighDateTime;
public uint LowDateTime;
public int Quality;
public IDataVariant value;
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[CoClass(typeof(DataClientClass))]
[Guid("D55C14E8-FB22-48F8-A092-EF9BC452A083")]
public interface DataClient : IDataClient
{
}
@@ -0,0 +1,124 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[ComConversionLoss]
[Guid("73BC4121-FF89-4762-901C-206E2BD9FE87")]
[ClassInterface(ClassInterfaceType.None)]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
public class DataClientClass : IDataClient, DataClient
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Initialize([In][MarshalAs(UnmanagedType.BStr)] string bstrNamespace);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string GetLastError();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ResetHeap();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr Connect([In][MarshalAs(UnmanagedType.BStr)] string endPointUri, [In] ulong timeout, [In] ref _IUserToken userToken, out uint clientId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] Connect2([In][MarshalAs(UnmanagedType.BStr)] string endPointUri, [In] ulong timeout, [In] ref _IUserToken userToken, out uint clientId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr Disconnect();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] Disconnect2();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int IsIDataClientConnected();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr CreateSubscription([In] long MaxQueueSize, [In] ulong SampleInterval, [In] int ActiveState, out long SubscriptionId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] CreateSubscription2([In] long MaxQueueSize, [In] ulong SampleInterval, [In] int ActiveState, out long SubscriptionId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr ChangeSubscription([In] long SubscriptionId, [In] int ActiveState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] ChangeSubscription2([In] long SubscriptionId, [In] int ActiveState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr DeleteSubscription([In] long SubscriptionId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] DeleteSubscription2([In] long SubscriptionId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr AddMonitoredItems([In] long SubscriptionId, [In] ref _IMonitoredItem MonItems, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] AddMonitoredItems2([In] long SubscriptionId, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IMonitoredItem2[] MonItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr ChangeMonitoredItems([In] long SubscriptionId, [In] ref _IMonitoredItem MonItems, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] ChangeMonitoredItems2([In] long SubscriptionId, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IMonitoredItem2[] MonItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr DeleteMonitoredItems([In] long SubscriptionId, [In] ref ulong ItemIds, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] DeleteMonitoredItems2([In] long SubscriptionId, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI8)] ulong[] ItemIds, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr RegisterItems([In] ref _IItemIdentity IdItems, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] RegisterItems2([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IItemIdentity2[] IdItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr UnregisterItems([In] ref ulong varItems, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] UnregisterItems2([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI8)] ulong[] varItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr Write([In] ref _WriteRequest pWriteRequests, [In] uint RequestsCount, [In] uint WriteHandle, [In] ref _IUserToken User, [In] ref _IUserToken userToken, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] Write2([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] WriteRequest2[] pWriteRequests, [In] uint RequestsCount, [In] uint WriteHandle, [In] ref _IUserToken User, [In] ref _IUserToken userToken, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr Publish([In] long SubscriptionId, [Out] IntPtr pDataUpdates, out uint UpdatesCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] Publish2([In] long SubscriptionId, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out DataChangeUpdate[] pDataUpdates, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr PublishWriteComplete([Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] PublishWriteComplete2([MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr Read([In] ref _IItemIdentity IdItems, [In] uint ItemsCount, [Out] IntPtr pDataUpdates, out uint UpdatesCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
public virtual extern IArchestrAResult[] Read2([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IItemIdentity2[] IdItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out DataChangeUpdate[] pDataUpdates, out uint UpdatesCount);
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[CoClass(typeof(DataConsumerClass))]
[Guid("8948FFF4-4529-4447-9115-C69041A49B00")]
public interface DataConsumer : IDataConsumer1
{
}
@@ -0,0 +1,87 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[ClassInterface(ClassInterfaceType.None)]
[Guid("85209FB2-0BA1-4594-BBC4-59D3DDAB823D")]
public class DataConsumerClass : IDataConsumer1, DataConsumer
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterCallback([In][MarshalAs(UnmanagedType.Interface)] IDataConsumerCallback pCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnregisterCallback();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int ResolveNamespace([In][MarshalAs(UnmanagedType.BStr)] string bstrNamespace);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ResolveReference([In] int lNamespaceId, [In][MarshalAs(UnmanagedType.BStr)] string bstrName, [In][MarshalAs(UnmanagedType.BStr)] string bstrContext, [In] int lItemId, [In] ulong ulUserData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void subscribe([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] int bActive);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnregisterReference([In] int lNamespaceId, [In] int lItemId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ActivateSuspend([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] int bActive);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Write([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] _FILETIME ItemTimestamp, [In] uint ItemQuality, [In] ref _IVariant ItemValue, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Write2([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] uint ItemQuality, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IDataVariant[] ItemValue, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void WriteWithReasonDesc([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] _FILETIME ItemTimestamp, [In] short ItemQuality, [In] ref _IVariant ItemValue, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessMessages(out int lSize, [Out] IntPtr updates, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessMessages2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemDataUpdate2[] updates, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessRegistration(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessRegistration2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemRegistrationResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessSubscription(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessSubscription2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemSubscriptionResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessUnregister(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessUnregister2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemUnregisterResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessWriteComplete(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessWriteComplete2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemWriteResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessActivateSuspend(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern uint ProcessActivateSuspend2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemActiveResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IsConnected([In] int namespaceId, out int connected);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Shutdown();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnregisterReferenceEx([In] int lNamespaceId, [In] int lItemId, [In] int isSubscribed);
}
@@ -0,0 +1,10 @@
namespace Interop.aaMxDataConsumer;
public enum DataQuality
{
DataQualityUnknown = -1,
DataQualityGood,
DataQualityUncertain,
DataQualityInitializing,
DataQualityBad
}
@@ -0,0 +1,9 @@
namespace Interop.aaMxDataConsumer;
public enum EAUTHMODE
{
eNone,
eGalaxyOnly,
eOSUserBased,
eOSGroupBased
}
@@ -0,0 +1,11 @@
namespace Interop.aaMxDataConsumer;
public enum ELOGIN
{
eInvalidUser = 1,
eInvalidPassword,
ePwdChangeInvalid,
ePwdCahngeSuccess,
eLoginOK,
eSecurityNotEnabled
}
@@ -0,0 +1,20 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct GetTagNameInInfo
{
public int hRef;
[MarshalAs(UnmanagedType.LPWStr)]
public string pReferenceString;
[MarshalAs(UnmanagedType.LPWStr)]
public string pContextString;
[MarshalAs(UnmanagedType.Interface)]
public IMxCallback2 pMxCallback2;
public int callbackId;
}
@@ -0,0 +1,21 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("EBACE03A-2963-433D-A11E-825C52923F31")]
public struct GetTagNameInInfoCS
{
public int hRef;
[MarshalAs(UnmanagedType.LPWStr)]
public string pReferenceString;
[MarshalAs(UnmanagedType.LPWStr)]
public string pContextString;
[MarshalAs(UnmanagedType.Interface)]
public IMxCallback2 pMxCallback2;
public int callbackId;
}
@@ -0,0 +1,21 @@
using System;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[ComConversionLoss]
public struct GetTagNameOutInfo
{
[ComConversionLoss]
public IntPtr pGalaxyNameString;
[ComConversionLoss]
public IntPtr pObjectNameString;
[ComConversionLoss]
public IntPtr pAttributeNameString;
[ComConversionLoss]
public IntPtr pStatus;
}
@@ -0,0 +1,19 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("4B81976C-90BB-4098-A1BB-F6D85F11E496")]
public struct GetTagNameOutInfoCS
{
[MarshalAs(UnmanagedType.BStr)]
public string pGalaxyNameString;
[MarshalAs(UnmanagedType.BStr)]
public string pObjectNameString;
[MarshalAs(UnmanagedType.BStr)]
public string pAttributeNameString;
public MxStatus pStatus;
}
@@ -0,0 +1,29 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[Guid("90F6EA33-C670-4285-887E-74EB765CA422")]
public enum IArchestrAError
{
ArchestrAErrorSuccess = 0,
ArchestrAErrorInvalidConnectionId = 1,
ArchestrAErrorApplicationAuthenticationError = 2,
ArchestrAErrorUserAuthenticationError = 3,
ArchestrAErrorUserAuthorizationError = 4,
ArchestrAErrorNotSupportedOperation = 5,
ArchestrAErrorMonitoredItemsNotFound = 6,
ArchestrAErrorInvalidSubscriptionID = 7,
ArchestrAErrorItemAlreadyRegistered = 8,
ArchestrAErrorItemAlreadyDeletedOrDoesNotExist = 9,
ArchestrAErrorInvalidMonitoredItems = 10,
ArchestrAErrorOperationFailed = 11,
ArchestrAErrorSpecificError = 12,
ArchestrAErrorBadNoCommunication = 13,
ArchestrAErrorBad_NothingToDo = 14,
ArchestrAErrorBad_TooManyOperations = 15,
ArchestrAErrorBad_NodeIdInvalid = 16,
ArchestrAErrorBrowseFailed = 17,
ArchestrAErrorWriteFailed_BadOutOfRange = 18,
ArchestrAErrorWriteFailed_BadTypeMismatch = 19,
ArchestrAErrorUnknown = 65535
}
@@ -0,0 +1,14 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("8830ECEF-F8A7-4897-9048-83CD085B8EB5")]
public struct IArchestrAResult
{
public IArchestrAError ErrorCode;
public uint SpecificErrorCode;
public uint Status;
}
@@ -0,0 +1,123 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("D55C14E8-FB22-48F8-A092-EF9BC452A083")]
[ComConversionLoss]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDataClient
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Initialize([In][MarshalAs(UnmanagedType.BStr)] string bstrNamespace);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string GetLastError();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ResetHeap();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr Connect([In][MarshalAs(UnmanagedType.BStr)] string endPointUri, [In] ulong timeout, [In] ref _IUserToken userToken, out uint clientId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] Connect2([In][MarshalAs(UnmanagedType.BStr)] string endPointUri, [In] ulong timeout, [In] ref _IUserToken userToken, out uint clientId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr Disconnect();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] Disconnect2();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int IsIDataClientConnected();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr CreateSubscription([In] long MaxQueueSize, [In] ulong SampleInterval, [In] int ActiveState, out long SubscriptionId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] CreateSubscription2([In] long MaxQueueSize, [In] ulong SampleInterval, [In] int ActiveState, out long SubscriptionId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr ChangeSubscription([In] long SubscriptionId, [In] int ActiveState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] ChangeSubscription2([In] long SubscriptionId, [In] int ActiveState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr DeleteSubscription([In] long SubscriptionId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] DeleteSubscription2([In] long SubscriptionId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr AddMonitoredItems([In] long SubscriptionId, [In] ref _IMonitoredItem MonItems, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] AddMonitoredItems2([In] long SubscriptionId, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IMonitoredItem2[] MonItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr ChangeMonitoredItems([In] long SubscriptionId, [In] ref _IMonitoredItem MonItems, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] ChangeMonitoredItems2([In] long SubscriptionId, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IMonitoredItem2[] MonItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr DeleteMonitoredItems([In] long SubscriptionId, [In] ref ulong ItemIds, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] DeleteMonitoredItems2([In] long SubscriptionId, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI8)] ulong[] ItemIds, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr RegisterItems([In] ref _IItemIdentity IdItems, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] RegisterItems2([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IItemIdentity2[] IdItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr UnregisterItems([In] ref ulong varItems, [In] uint ItemsCount, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] UnregisterItems2([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI8)] ulong[] varItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr Write([In] ref _WriteRequest pWriteRequests, [In] uint RequestsCount, [In] uint WriteHandle, [In] ref _IUserToken User, [In] ref _IUserToken userToken, [Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] Write2([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] WriteRequest2[] pWriteRequests, [In] uint RequestsCount, [In] uint WriteHandle, [In] ref _IUserToken User, [In] ref _IUserToken userToken, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr Publish([In] long SubscriptionId, [Out] IntPtr pDataUpdates, out uint UpdatesCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] Publish2([In] long SubscriptionId, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out DataChangeUpdate[] pDataUpdates, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr PublishWriteComplete([Out] IntPtr pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] PublishWriteComplete2([MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ASBResultCode[] pResultCode, out uint ResultCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr Read([In] ref _IItemIdentity IdItems, [In] uint ItemsCount, [Out] IntPtr pDataUpdates, out uint UpdatesCount);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)]
IArchestrAResult[] Read2([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IItemIdentity2[] IdItems, [In] uint ItemsCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out DataChangeUpdate[] pDataUpdates, out uint UpdatesCount);
}
@@ -0,0 +1,84 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[ComConversionLoss]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("CF507A59-D4E6-480D-B38E-7D8B035B8C94")]
public interface IDataConsumer
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterCallback([In][MarshalAs(UnmanagedType.Interface)] IDataConsumerCallback pCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnregisterCallback();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int ResolveNamespace([In][MarshalAs(UnmanagedType.BStr)] string bstrNamespace);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ResolveReference([In] int lNamespaceId, [In][MarshalAs(UnmanagedType.BStr)] string bstrName, [In][MarshalAs(UnmanagedType.BStr)] string bstrContext, [In] int lItemId, [In] ulong ulUserData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void subscribe([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] int bActive);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnregisterReference([In] int lNamespaceId, [In] int lItemId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ActivateSuspend([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] int bActive);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Write([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] _FILETIME ItemTimestamp, [In] uint ItemQuality, [In] ref _IVariant ItemValue, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Write2([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] uint ItemQuality, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IDataVariant[] ItemValue, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void WriteWithReasonDesc([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] _FILETIME ItemTimestamp, [In] short ItemQuality, [In] ref _IVariant ItemValue, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessMessages(out int lSize, [Out] IntPtr updates, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessMessages2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemDataUpdate2[] updates, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessRegistration(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessRegistration2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemRegistrationResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessSubscription(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessSubscription2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemSubscriptionResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessUnregister(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessUnregister2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemUnregisterResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessWriteComplete(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessWriteComplete2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemWriteResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessActivateSuspend(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
uint ProcessActivateSuspend2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemActiveResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void IsConnected([In] int namespaceId, out int connected);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Shutdown();
}
@@ -0,0 +1,86 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("8948FFF4-4529-4447-9115-C69041A49B00")]
public interface IDataConsumer1 : IDataConsumer
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterCallback([In][MarshalAs(UnmanagedType.Interface)] IDataConsumerCallback pCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterCallback();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int ResolveNamespace([In][MarshalAs(UnmanagedType.BStr)] string bstrNamespace);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ResolveReference([In] int lNamespaceId, [In][MarshalAs(UnmanagedType.BStr)] string bstrName, [In][MarshalAs(UnmanagedType.BStr)] string bstrContext, [In] int lItemId, [In] ulong ulUserData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void subscribe([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] int bActive);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterReference([In] int lNamespaceId, [In] int lItemId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ActivateSuspend([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] int bActive);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Write([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] _FILETIME ItemTimestamp, [In] uint ItemQuality, [In] ref _IVariant ItemValue, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Write2([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] uint ItemQuality, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] IDataVariant[] ItemValue, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void WriteWithReasonDesc([In] int lNamespaceId, [In] int lItemId, [In] ulong ulUserData, [In] ref Guid userId, [In] ref Guid verifierId, [In] bool bUserVerified, [In] _FILETIME ItemTimestamp, [In] short ItemQuality, [In] ref _IVariant ItemValue, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In] uint MxOperationType, [In] int arrayIndex, [In] bool bArrayIndexValid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessMessages(out int lSize, [Out] IntPtr updates, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessMessages2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemDataUpdate2[] updates, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessRegistration(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessRegistration2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemRegistrationResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessSubscription(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessSubscription2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemSubscriptionResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessUnregister(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessUnregister2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemUnregisterResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessWriteComplete(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessWriteComplete2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemWriteResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessActivateSuspend(out int lSize, [Out] IntPtr responses, [Out] IntPtr pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new uint ProcessActivateSuspend2(out int lSize, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out ItemActiveResponse[] responses, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out MxResultCode[] pResultCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsConnected([In] int namespaceId, out int connected);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Shutdown();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnregisterReferenceEx([In] int lNamespaceId, [In] int lItemId, [In] int isSubscribed);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("FA990F6C-2F68-4C46-84F7-0A0279ADFA99")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDataConsumerCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void NamespaceResolved([In] int lNamespaceId);
}
@@ -0,0 +1,56 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[Guid("77051582-C09B-4222-BA2A-766554B0D142")]
public enum IDataType
{
TypeByte = 0,
TypeChar = 1,
TypeInt16 = 2,
TypeUInt16 = 3,
TypeInt32 = 4,
TypeUInt32 = 5,
TypeInt64 = 6,
TypeUInt64 = 7,
TypeFloat = 8,
TypeDouble = 9,
TypeString = 10,
TypeDateTime = 11,
TypeDuration = 12,
TypeGuid = 13,
TypeByteString = 14,
TypeLocaleID = 15,
TypeLocalizedText = 16,
TypeBool = 17,
TypeSByte = 18,
TypeErrorStatus = 19,
TypeEnum = 20,
TypeDataType = 21,
TypeSecurityClassification = 22,
TypeDataQuality = 23,
TypeByteArray = 40,
TypeCharArray = 41,
TypeInt16Array = 42,
TypeUInt16Array = 43,
TypeInt32Array = 44,
TypeUInt32Array = 45,
TypeInt64Array = 46,
TypeUInt64Array = 47,
TypeFloatArray = 48,
TypeDoubleArray = 49,
TypeStringArray = 50,
TypeDateTimeArray = 51,
TypeDurationArray = 52,
TypeGuidArray = 53,
TypeByteStringArray = 54,
TypeLocaleIDArray = 55,
TypeLocalizedTextArray = 56,
TypeBoolArray = 57,
TypeSByteArray = 58,
TypeEnumArray = 60,
TypeDataTypeArray = 61,
TypeSecurityClassificationArray = 62,
TypeDataQualityArray = 63,
TypeUnknown = 65535
}
@@ -0,0 +1,15 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("8D6DED71-C022-4F83-AF3D-BA24E13D22D0")]
public struct IDataVariant
{
public ushort type;
public int length;
[MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)]
public byte[] Payload;
}
@@ -0,0 +1,20 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("E3E3A688-9FAE-4B44-B87A-95C1B3711F06")]
public struct IItemIdentity2
{
public ushort ReferenceType;
public ushort type;
[MarshalAs(UnmanagedType.BStr)]
public string ContextName;
[MarshalAs(UnmanagedType.BStr)]
public string Name;
public ulong Id;
}
@@ -0,0 +1,12 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[Guid("15C679A3-AC29-4497-AC43-5EA8710BAD46")]
public enum IItemIdentityType
{
Name = 0,
Id = 1,
NameAndId = 2,
Other = 65535
}
@@ -0,0 +1,13 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[Guid("78FC3B63-DACE-4192-A550-1E645F607A37")]
public enum IItemReferenceType
{
ItemReferenceNone = 0,
ItemReferenceAbsolute = 1,
ItemReferenceHierarchical = 2,
ItemReferenceRelative = 3,
ItemReferenceOther = 65535
}
@@ -0,0 +1,26 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("2AA2E248-AF2E-4FCC-95CD-C46AF4F0A1FA")]
public struct IMonitoredItem2
{
public byte Active;
public ushort ReferenceType;
public ushort type;
[MarshalAs(UnmanagedType.BStr)]
public string ContextName;
[MarshalAs(UnmanagedType.BStr)]
public string Name;
public ulong Id;
public ulong SampleInterval;
public ulong TimeDeadband;
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("4391F3F0-49A0-4822-9E93-6DA04A92F434")]
public interface IMxBindingService
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PrebindReference([In][MarshalAs(UnmanagedType.LPWStr)] string referenceString, out int preboundRefHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnregisterPreboundReference([In] int preboundRefHandle);
}
@@ -0,0 +1,19 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("B69F9918-4393-4F90-8012-D742FEC337BB")]
public interface IMxBindingService2 : IMxBindingService
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PrebindReference([In][MarshalAs(UnmanagedType.LPWStr)] string referenceString, out int preboundRefHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterPreboundReference([In] int preboundRefHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PrebindReferenceEx([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, out int preboundRefHandle);
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("CC49CA44-D8CB-11D3-823B-00104B5F96A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void OnDataChange([In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void OnSetAttributeResult([In] int hRef, [In] ref MxStatus pMxStatus, [In][MarshalAs(UnmanagedType.BStr)] string pStatusDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueOut);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("CFC6372F-0DA8-4278-A988-F1825C7916A0")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxCallback2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void OperationComplete([In] int lCallbackId, [In] ref MxStatus pMxStatus, [In][MarshalAs(UnmanagedType.BStr)] string pStatusDescription);
}
@@ -0,0 +1,19 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("38366038-CD67-457B-8C24-9AD003785798")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxCallback3 : IMxCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void OnDataChange([In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void OnSetAttributeResult([In] int hRef, [In] ref MxStatus pMxStatus, [In][MarshalAs(UnmanagedType.BStr)] string pStatusDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueOut);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void OnSetAttributeResult2([In] int hRef, [In] ref MxStatus pMxStatus, [In][MarshalAs(UnmanagedType.BStr)] string pStatusDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueOut, [In] short QualityOut, [In] _FILETIME TimestampOut);
}
@@ -0,0 +1,92 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("30B05B02-D834-11D3-8239-00104B5F96A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxReference : IPersistStream
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClassID(out Guid pClassID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsDirty();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Load([In][MarshalAs(UnmanagedType.Interface)] IStream pstm);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Save([In][MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] int fClearDirty);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetSizeMax(out _ULARGE_INTEGER pcbSize);
[DispId(1)]
string FullReferenceString
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[param: In]
[param: MarshalAs(UnmanagedType.LPWStr)]
set;
}
[DispId(2)]
string AutomationObjectReferenceString
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[param: In]
[param: MarshalAs(UnmanagedType.LPWStr)]
set;
}
[DispId(3)]
string AttributeReferenceString
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[param: In]
[param: MarshalAs(UnmanagedType.LPWStr)]
set;
}
[DispId(4)]
MxResolutionStatus AutomationObjectResolutionStatus
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
get;
}
[DispId(5)]
MxResolutionStatus AttributeResolutionStatus
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
get;
}
[DispId(6)]
string Context
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[param: In]
[param: MarshalAs(UnmanagedType.LPWStr)]
set;
}
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxReference GenerateEnumStringsReference([In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("89D91C9B-AD6F-43D4-AA1B-4AB18326C7A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxReferenceInfo
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetTagNameString([In] int lReferenceCount, [In] ref GetTagNameInInfo pGetTagNameInInfo, out GetTagNameOutInfo pGetTagNameOutInfo);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("11E8356E-0F0D-4D67-974D-925968B66307")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxReferenceInfoCS
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetTagNameStringCS([In] GetTagNameInInfoCS pGetTagNameInInfo, out GetTagNameOutInfoCS pGetTagNameOutInfo);
}
@@ -0,0 +1,31 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("8A4B2077-6E4F-4135-915A-DD952F95EF25")]
public interface IMxScanOnDemand
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SuspendReference([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback2 pMxCallback2, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ActivateReference([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback2 pMxCallback2, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int SupervisoryRegisterSuspendedReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SupervisoryUnregisterSuspendedReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void IncrementSODCounts([In] short objectId, [In] short primitiveId, [In] short attributeId, [In][MarshalAs(UnmanagedType.BStr)] string attributeString);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DecrementSODCounts([In] short objectId, [In] short primitiveId, [In] short attributeId, [In][MarshalAs(UnmanagedType.BStr)] string attributeString);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GlobalScanOnDemandEnabled(out bool pGlobalSODEnabled);
}
@@ -0,0 +1,34 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("8D2EAA56-8512-486B-8FB0-22B3F518CFF7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxScanOnDemand2 : IMxScanOnDemand
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SuspendReference([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback2 pMxCallback2, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ActivateReference([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback2 pMxCallback2, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int SupervisoryRegisterSuspendedReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SupervisoryUnregisterSuspendedReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IncrementSODCounts([In] short objectId, [In] short primitiveId, [In] short attributeId, [In][MarshalAs(UnmanagedType.BStr)] string attributeString);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DecrementSODCounts([In] short objectId, [In] short primitiveId, [In] short attributeId, [In][MarshalAs(UnmanagedType.BStr)] string attributeString);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GlobalScanOnDemandEnabled(out bool pGlobalSODEnabled);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int SupervisoryRegisterSuspendedReference2([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
}
@@ -0,0 +1,26 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("221799BB-99A5-4BB6-B690-7F875371B6D6")]
public interface IMxSupervisoryConnection
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int SupervisoryRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SupervisoryUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxValue SupervisoryGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SupervisorySetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
}
@@ -0,0 +1,36 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("621B4552-9CDC-440E-BDDC-894536122643")]
public interface IMxSupervisoryConnection3 : IMxSupervisoryConnection
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int SupervisoryRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SupervisoryUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue SupervisoryGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SupervisorySetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxValue SupervisoryGetAttribute3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SupervisorySetAttribute3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SupervisoryGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
}
@@ -0,0 +1,39 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("7F681721-B31D-4A35-A059-D04FA1AA936B")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxSupervisoryConnection6 : IMxSupervisoryConnection3
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int SupervisoryRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SupervisoryUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue SupervisoryGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SupervisorySetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue SupervisoryGetAttribute3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SupervisorySetAttribute3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SupervisoryGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int SupervisoryRegisterReference2([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
}
@@ -0,0 +1,38 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("CC49CA45-D8CB-11D3-823B-00104B5F96A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxSystemConnection
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool subscribe);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SystemUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxValue 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)]
IMxValue SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string SystemGetQualityDescription([In] ref short mxDataQuality);
}
@@ -0,0 +1,44 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("649EF01C-1384-4979-AF39-83A284E8BAFC")]
public interface IMxSystemConnection2 : IMxSystemConnection
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool subscribe);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SystemUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue 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)]
new IMxValue SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string SystemGetQualityDescription([In] ref short mxDataQuality);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SystemSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SystemSetAttribute2([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority);
}
@@ -0,0 +1,65 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("95EBDC41-C2F7-48AA-B0A0-B3577E165905")]
public interface IMxSystemConnection3 : IMxSystemConnection2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool subscribe);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SystemUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue 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)]
new IMxValue SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string SystemGetQualityDescription([In] ref short mxDataQuality);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SystemSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SystemSetAttribute2([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxValue 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)]
void SystemSetAttribute3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
IMxValue 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)]
void SystemSetAttributeGuaranteed3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxValue SystemSetAttributeBlocking3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
void SystemGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
}
@@ -0,0 +1,30 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("CC49CA43-D8CB-11D3-823B-00104B5F96A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxUserConnection
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxValue UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
string UserGetQualityDescription([In] ref short mxDataQuality);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
}
@@ -0,0 +1,40 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("4863541B-B371-4AA2-9378-5347E5D36000")]
public interface IMxUserConnection2 : IMxUserConnection
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new string UserGetQualityDescription([In] ref short mxDataQuality);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
IMxValue UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
}
@@ -0,0 +1,64 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F0411F6A-F8C5-49D3-8359-302DC4B9A9F8")]
public interface IMxUserConnection3 : IMxUserConnection2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new string UserGetQualityDescription([In] ref short mxDataQuality);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new IMxValue 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)]
void UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
}
@@ -0,0 +1,105 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("232A5C28-A9A9-48F7-A256-94018F6F8F49")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxUserConnection4 : IMxUserConnection3
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new string UserGetQualityDescription([In] ref short mxDataQuality);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new IMxValue 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)]
new void UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void 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)]
IMxValue 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)]
IMxValue 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)]
void UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
void UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
void UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
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)]
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)]
void UserGetInternationalizedString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
}
@@ -0,0 +1,108 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("4805D9B8-1BD4-4726-81F8-B70BEEB1D7AE")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxUserConnection5 : IMxUserConnection4
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new string UserGetQualityDescription([In] ref short mxDataQuality);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new IMxValue 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)]
new void UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void 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)]
new IMxValue 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)]
new IMxValue 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)]
new void UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new void UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new void UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new 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)]
new 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)]
new 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)]
void UserSetAttribute5([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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);
}
@@ -0,0 +1,111 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("FD619BE8-98D2-46EA-A274-8481C320C662")]
public interface IMxUserConnection6 : IMxUserConnection5
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserUnregisterReference([In] int hRef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new IMxValue UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new string UserGetQualityDescription([In] ref short mxDataQuality);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new IMxValue 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)]
new void UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void 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)]
new IMxValue 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)]
new IMxValue 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)]
new void UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new void UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
new void UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new 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)]
new 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)]
new 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)]
new void UserSetAttribute5([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)]
void UserSetAttribute6([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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);
}
@@ -0,0 +1,159 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("D4905673-9679-4FD3-949C-DC26E10482B0")]
[ComConversionLoss]
public interface IMxValue : IPersistStream
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClassID(out Guid pClassID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsDirty();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Load([In][MarshalAs(UnmanagedType.Interface)] IStream pstm);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Save([In][MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] int fClearDirty);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetSizeMax(out _ULARGE_INTEGER pcbSize);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Clone([MarshalAs(UnmanagedType.Interface)] out IMxValue ppMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Empty();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutBoolean([In] bool newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutInteger([In] int newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutFloat([In] float newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutDouble([In] double newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutString([In][MarshalAs(UnmanagedType.LPWStr)] string newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutTime([In] ref VBFILETIME pNewVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutElapsedTime([In] ref VB_LARGE_INTEGER pNewVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxReference([In][MarshalAs(UnmanagedType.Interface)] IMxReference newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxStatus([In] ref MxStatus newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxDataType([In] MxDataType newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxSecurityClassification([In] MxSecurityClassification newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxDataQuality([In] ref short newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutCustomStruct([In] int guid, [In] int structSize, [In] ref byte pStruct);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutCustomEnum([In][MarshalAs(UnmanagedType.LPWStr)] string value, [In] short ordinal, [In] short primitiveId, [In] short attributeId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
MxDataType GetDataType();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool GetBoolean();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetInteger();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
float GetFloat();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
double GetDouble();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string GetString();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetTime(out VBFILETIME pVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
VB_LARGE_INTEGER GetElapsedTime();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxReference GetMxReference();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
MxStatus GetMxStatus();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
MxDataType GetMxDataType();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
MxSecurityClassification GetMxSecurityClassification();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
short GetMxDataQuality();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetCustomStruct(out int pGuid, out int pStructSize, [Out] IntPtr pStruct);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetCustomEnum([MarshalAs(UnmanagedType.BStr)] out string pValue, out short pOrdinal, out short pPrimitiveId, out short pAttributeId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetDimensionCount(out short nDimensions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutElement([In] int index, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetElement([In] int index1, [In][MarshalAs(UnmanagedType.Interface)] IMxValue pMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetDimensionSize(out int pSize);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutCustomStructVB([In] int guid, [In][Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)] ref byte[] pStruct);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetCustomStructVB(out int pGuid, [In][Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)] ref byte[] pStruct);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutInternationalStrings([In] int count, [In] ref InternationalizedString strings);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutInternationalStringsVB([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref InternationalizedString[] ppsa);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetInternationalStrings(out int count, [Out] IntPtr locals);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetInternationalStringsVB([In][Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref InternationalizedString[] ppsa);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string GetInternationalString([In] int locale);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutInternationalString([In] int locale, [In][MarshalAs(UnmanagedType.BStr)] string InternationalizedString);
}
@@ -0,0 +1,28 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("1B6AEB81-CB43-11D2-BFFF-00104B5F96A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxValueFactory
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateInstance([MarshalAs(UnmanagedType.Interface)] out IMxValue ppMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateInstanceBool([MarshalAs(UnmanagedType.Interface)] out IMxValue ppMxValue, bool val);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateInstanceLong([MarshalAs(UnmanagedType.Interface)] out IMxValue ppMxValue, int val);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateInstanceFloat([MarshalAs(UnmanagedType.Interface)] out IMxValue ppMxValue, float val);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateInstanceDouble([MarshalAs(UnmanagedType.Interface)] out IMxValue ppMxValue, double val);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateInstanceString([MarshalAs(UnmanagedType.Interface)] out IMxValue ppMxValue, [MarshalAs(UnmanagedType.LPWStr)] string val);
}
@@ -0,0 +1,14 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0000010C-0000-0000-C000-000000000046")]
public interface IPersist
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetClassID(out Guid pClassID);
}
@@ -0,0 +1,26 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("00000109-0000-0000-C000-000000000046")]
public interface IPersistStream : IPersist
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClassID(out Guid pClassID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void IsDirty();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Load([In][MarshalAs(UnmanagedType.Interface)] IStream pstm);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Save([In][MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] int fClearDirty);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetSizeMax(out _ULARGE_INTEGER pcbSize);
}
@@ -0,0 +1,26 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("189476D6-63C5-4950-B293-AEEE1A54D906")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISecurityToken
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetUserId([In][Out] ref VBGUID userId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetUserName([In][Out][MarshalAs(UnmanagedType.BStr)] ref string bstrUserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool QueryGroupMembership([In][MarshalAs(UnmanagedType.BStr)] string bstrGroupName, out int plStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetAccessToken();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string GetUserFullName();
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0C733A30-2A1C-11CE-ADE5-00AA0044773D")]
public interface ISequentialStream
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RemoteRead(out byte pv, [In] uint cb, out uint pcbRead);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten);
}
@@ -0,0 +1,43 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0000000C-0000-0000-C000-000000000046")]
public interface IStream : ISequentialStream
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RemoteRead(out byte pv, [In] uint cb, out uint pcbRead);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RemoteSeek([In] _LARGE_INTEGER dlibMove, [In] uint dwOrigin, out _ULARGE_INTEGER plibNewPosition);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetSize([In] _ULARGE_INTEGER libNewSize);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RemoteCopyTo([In][MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Commit([In] uint grfCommitFlags);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Revert();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void LockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnlockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Stat(out tagSTATSTG pstatstg, [In] uint grfStatFlag);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Clone([MarshalAs(UnmanagedType.Interface)] out IStream ppstm);
}
@@ -0,0 +1,39 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("92FF7FD3-A65F-431C-86AA-7BB502FF0D2C")]
public interface IUserAuthenticator
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
ISecurityToken LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
ISecurityToken UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
VBGUID GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
ISecurityToken ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
}
@@ -0,0 +1,43 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("D78A902B-9609-49F6-8760-6A2AEA6CA274")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUserAuthenticator2 : IUserAuthenticator
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
ISecurityToken SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
}
@@ -0,0 +1,47 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("73ECBF0E-8A67-4878-8DED-934F6DBD943B")]
public interface IUserAuthenticator3 : IUserAuthenticator2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
ISecurityToken GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
}
@@ -0,0 +1,50 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("E72606A1-3DF5-4D7E-BD66-0AADA70E98D8")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUserAuthenticator4 : IUserAuthenticator3
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
VBGUID UpdateOSGroupUserRoles([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyNodeName, [In] UserASBToken userToken);
}
@@ -0,0 +1,54 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("9F2DFE15-108F-44AF-A40E-04BBD85FE755")]
[ComConversionLoss]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUserAuthenticator5 : IUserAuthenticator4
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID UpdateOSGroupUserRoles([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyNodeName, [In] UserASBToken userToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
IntPtr GetUserSamlToken([In][MarshalAs(UnmanagedType.BStr)] string bstrUserName, out uint pLenght);
}
@@ -0,0 +1,61 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("430CD0D2-5C05-4621-A286-AECEBFABABEC")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUserAuthenticator6 : IUserAuthenticator5
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID UpdateOSGroupUserRoles([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyNodeName, [In] UserASBToken userToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new IntPtr GetUserSamlToken([In][MarshalAs(UnmanagedType.BStr)] string bstrUserName, out uint pLenght);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)]
byte[] LogInEx([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.Interface)] out ISecurityToken ppSecToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string ValidateToken([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)] byte[] data);
}
@@ -0,0 +1,64 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("0759D857-2EC6-481B-B497-117A6A4F7204")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUserAuthenticator7 : IUserAuthenticator6
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
new ISecurityToken GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new VBGUID UpdateOSGroupUserRoles([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyNodeName, [In] UserASBToken userToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new IntPtr GetUserSamlToken([In][MarshalAs(UnmanagedType.BStr)] string bstrUserName, out uint pLenght);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)]
new byte[] LogInEx([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.Interface)] out ISecurityToken ppSecToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string ValidateToken([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)] byte[] data);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void IsSecurityForGalaxyEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, out bool bEnable);
}
@@ -0,0 +1,13 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("43529BD9-3860-4343-BC7E-697B9F8B344D")]
public struct InternationalizedString
{
public int locale;
[MarshalAs(UnmanagedType.BStr)]
public string internationalizedStr;
}
@@ -0,0 +1,15 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("E671ED95-A301-4761-97F9-103D15CBCDF7")]
public struct ItemActiveResponse
{
public ulong ItemId;
public ulong userData;
[MarshalAs(UnmanagedType.Error)]
public int Status;
}
@@ -0,0 +1,20 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("FF261F10-8BF9-4CEE-85D3-11D3D530EF9E")]
public struct ItemDataUpdate2
{
public ulong ItemId;
public uint StatusCode;
public uint HighDateTime;
public uint LowDateTime;
public uint Quality;
public IDataVariant value;
}
@@ -0,0 +1,17 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("441AC761-08A3-4B41-804C-917C60D0C9CF")]
public struct ItemRegistrationResponse
{
public ulong ItemId;
public ulong userData;
[MarshalAs(UnmanagedType.Error)]
public int Status;
public int WriteCapability;
}
@@ -0,0 +1,15 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("BD6BACE0-9002-44C5-8B7A-8119751F160A")]
public struct ItemSubscriptionResponse
{
public ulong ItemId;
public ulong userData;
[MarshalAs(UnmanagedType.Error)]
public int Status;
}
@@ -0,0 +1,13 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("B960F7E2-A583-49D3-8B15-DB3FE37F718B")]
public struct ItemUnregisterResponse
{
public ulong ItemId;
[MarshalAs(UnmanagedType.Error)]
public int Status;
}
@@ -0,0 +1,17 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("5799A991-D9C1-4513-BB6C-D2D91E65F0E5")]
public struct ItemWriteResponse
{
public ulong ItemId;
public ulong userData;
[MarshalAs(UnmanagedType.Error)]
public int Status;
public uint category;
}
@@ -0,0 +1,17 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 2)]
public struct MxAttributeHandle
{
public short primitiveId;
public short attributeId;
public short propertyId;
public ushort signature;
public short index1;
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("221799BB-99A5-4BB6-B690-7F875371B6D6")]
[CoClass(typeof(MxConnectionClass))]
public interface MxConnection : IMxSupervisoryConnection
{
}
@@ -0,0 +1,583 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("F2B877E7-1DBE-11D3-80AD-00104B5F96A7")]
[ClassInterface(ClassInterfaceType.None)]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
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)] IMxReference 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 IMxValue 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)] IMxValue 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)] IMxReference 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 IMxValue 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)] IMxValue 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 IMxValue 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)] IMxValue 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)] IMxReference 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 IMxValue 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)] IMxValue 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)] IMxReference 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 IMxValue 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)] IMxValue 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)] IMxValue 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 IMxValue 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)] IMxReference 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 IMxValue 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)] IMxValue 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)] IMxValue 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 IMxValue 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)] IMxReference 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 IMxValue 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)] IMxValue 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)] IMxValue 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 IMxValue 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 IMxValue 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 IMxValue 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)] IMxValue 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)] IMxValue 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)] IMxReference 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 IMxValue 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)] IMxValue 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)] IMxValue 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 IMxValue 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 IMxValue 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 IMxValue 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)] IMxValue 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)] IMxValue 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)] IMxValue 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)] IMxReference 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 IMxValue 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)] IMxValue 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)] IMxValue 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 IMxValue 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 IMxValue 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 IMxValue 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)] IMxValue 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)] IMxValue 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)] IMxValue 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)] IMxValue 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)] IMxReference 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 IMxValue 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 IMxValue 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)] IMxValue 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)] IMxValue pMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern IMxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)] IMxReference 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 IMxValue 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 IMxValue 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)] IMxValue 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)] IMxValue pMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern IMxValue IMxSystemConnection2_SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)] IMxValue 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)] IMxReference 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 IMxValue 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 IMxValue 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)] IMxValue 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)] IMxValue pMxValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern IMxValue IMxSystemConnection3_SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)] IMxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern IMxValue 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)] IMxValue 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 IMxValue 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)] IMxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern IMxValue SystemSetAttributeBlocking3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] IMxValue 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)] IMxReference pMxReference, out int preboundRefHandle);
}
@@ -0,0 +1,24 @@
namespace Interop.aaMxDataConsumer;
public enum MxDataType
{
MxDataTypeUnknown = -1,
MxNoData,
MxBoolean,
MxInteger,
MxFloat,
MxDouble,
MxString,
MxTime,
MxElapsedTime,
MxReferenceType,
MxStatusType,
MxDataTypeEnum,
MxSecurityClassificationEnum,
MxDataQualityType,
MxQualifiedEnum,
MxQualifiedStruct,
MxInternationalizedString,
MxBigString,
MxDataTypeEND
}
@@ -0,0 +1,9 @@
namespace Interop.aaMxDataConsumer;
public enum MxResolutionStatus
{
MxReferenceUndefined = -1,
MxReferenceUnresolved,
MxReferenceResolved,
MxReferenceAttributeNotPresent
}
@@ -0,0 +1,19 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("1FDA8A16-06B0-413D-BEB3-C764BDCB352A")]
public struct MxResultCode
{
public int lNamespaceId;
[MarshalAs(UnmanagedType.Error)]
public int ErrorCode;
public uint ArchestrErrorCode;
public uint ArchestrSpecific;
public uint ArchestrStatus;
}
@@ -0,0 +1,13 @@
namespace Interop.aaMxDataConsumer;
public enum MxSecurityClassification
{
MxSecurityUndefined = -1,
MxSecurityFreeAccess,
MxSecurityOperate,
MxSecuritySecuredWrite,
MxSecurityVerifiedWrite,
MxSecurityTune,
MxSecurityConfigure,
MxSecurityViewOnly
}
@@ -0,0 +1,15 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct MxStatus
{
public short success;
public MxStatusCategory category;
public MxStatusSource detectedBy;
public short detail;
}
@@ -0,0 +1,15 @@
namespace Interop.aaMxDataConsumer;
public enum MxStatusCategory
{
MxStatusCategoryUnknown = -1,
MxCategoryOk,
MxCategoryPending,
MxCategoryWarning,
MxCategoryCommunicationError,
MxCategoryConfigurationError,
MxCategoryOperationalError,
MxCategorySecurityError,
MxCategorySoftwareError,
MxCategoryOtherError
}
@@ -0,0 +1,51 @@
namespace Interop.aaMxDataConsumer;
public enum MxStatusDetail
{
MX_S_Success = 0,
MX_E_RequestTimedOut = 1,
MX_E_PlatformCommunicationError = 2,
MX_E_InvalidPlatformId = 3,
MX_E_InvalidEngineId = 4,
MX_E_EngineCommunicationError = 5,
MX_E_InvalidReference = 6,
MX_E_NoGalaxyRepository = 7,
MX_E_InvalidObjectId = 8,
MX_E_ObjectSignatureMismatch = 9,
MX_E_AttributeSignatureMismatch = 10,
MX_E_ResolvingAttribute = 11,
MX_E_ResolvingObject = 12,
MX_E_WrongDataType = 13,
MX_E_WrongNumberOfDimensions = 14,
MX_E_InvalidIndex = 15,
MX_E_IndexOutOfOrder = 16,
MX_E_DimensionDoesNotExist = 17,
MX_E_ConversionNotSupported = 18,
MX_E_UnableToConvertString = 19,
MX_E_Overflow = 20,
MX_E_NmxVersionMismatch = 21,
MX_E_NmxInvalidCommand = 22,
MX_E_LmxVersionMismatch = 23,
MX_E_LmxInvalidCommand = 24,
MX_E_GalaxyRepositoryBusy = 25,
MX_E_EngineOverloaded = 26,
MX_E_InvalidPrimitiveId = 1000,
MX_E_InvalidAttributeId = 1001,
MX_E_InvalidPropertyId = 1002,
MX_E_IndexOutOfRange = 1003,
MX_E_DataOutOfRange = 1004,
MX_E_IncorrectDataType = 1005,
MX_E_NotReadable = 1006,
MX_E_NotWriteable = 1007,
MX_E_WriteAccessDenied = 1008,
MX_E_UnknownError = 1009,
MX_E_ObjectInitializing = 1010,
MX_E_EngineInitializing = 1011,
MX_E_SecuredWrite = 1012,
MX_E_VerifiedWrite = 1013,
MX_E_NoAlarmAckPrivilege = 1014,
MX_E_AlarmAckedAlready = 1015,
MX_E_UserNotHavingAccessRights = 1016,
MX_E_VerifierNotHavingVerifyRights = 1017,
MX_E_AutomationObjectSpecificError = 8000
}
@@ -0,0 +1,12 @@
namespace Interop.aaMxDataConsumer;
public enum MxStatusSource
{
MxSourceUnknown = -1,
MxSourceRequestingLmx,
MxSourceRespondingLmx,
MxSourceRequestingNmx,
MxSourceRespondingNmx,
MxSourceRequestingAutomationObject,
MxSourceRespondingAutomationObject
}
@@ -0,0 +1,38 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("D38E49FF-C0EA-4232-9552-8BA2147F0863")]
public struct UserASBToken
{
public ushort Encryption;
public short EncryptionSpecified;
[MarshalAs(UnmanagedType.BStr)]
public string HostName;
public ushort IdType;
public short IdTypeSpecified;
[MarshalAs(UnmanagedType.BStr)]
public string LocationID;
[MarshalAs(UnmanagedType.BStr)]
public string Password;
[MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)]
public byte[] SamlToken;
[MarshalAs(UnmanagedType.BStr)]
public string UserName;
public ushort Validity;
public short ValiditySpecified;
[MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)]
public byte[] X509Certificate;
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("0759D857-2EC6-481B-B497-117A6A4F7204")]
[CoClass(typeof(UserAuthenticatorClass))]
public interface UserAuthenticator : IUserAuthenticator7
{
}
@@ -0,0 +1,293 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[ComImport]
[Guid("FC3501EB-5883-4B82-B286-9AFB2956B469")]
[ComConversionLoss]
[ClassInterface(ClassInterfaceType.None)]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
public class UserAuthenticatorClass : IUserAuthenticator7, UserAuthenticator, IUserAuthenticator6, IUserAuthenticator5, IUserAuthenticator4, IUserAuthenticator3, IUserAuthenticator2, IUserAuthenticator
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID UpdateOSGroupUserRoles([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyNodeName, [In] UserASBToken userToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr GetUserSamlToken([In][MarshalAs(UnmanagedType.BStr)] string bstrUserName, out uint pLenght);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)]
public virtual extern byte[] LogInEx([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.Interface)] out ISecurityToken ppSecToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string ValidateToken([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)] byte[] data);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IsSecurityForGalaxyEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator6_LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator6_GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator6_IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator6_UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string IUserAuthenticator6_GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IUserAuthenticator6_IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator6_GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator6_ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator6_SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator6_GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator6_UpdateOSGroupUserRoles([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyNodeName, [In] UserASBToken userToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr IUserAuthenticator6_GetUserSamlToken([In][MarshalAs(UnmanagedType.BStr)] string bstrUserName, out uint pLenght);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)]
public virtual extern byte[] IUserAuthenticator6_LogInEx([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.Interface)] out ISecurityToken ppSecToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string IUserAuthenticator6_ValidateToken([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)] byte[] data);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator5_LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator5_GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator5_IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator5_UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string IUserAuthenticator5_GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IUserAuthenticator5_IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator5_GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator5_ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator5_SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator5_GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator5_UpdateOSGroupUserRoles([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyNodeName, [In] UserASBToken userToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern IntPtr IUserAuthenticator5_GetUserSamlToken([In][MarshalAs(UnmanagedType.BStr)] string bstrUserName, out uint pLenght);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator4_LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator4_GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator4_IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator4_UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string IUserAuthenticator4_GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IUserAuthenticator4_IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator4_GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator4_ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator4_SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator4_GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator4_UpdateOSGroupUserRoles([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyNodeName, [In] UserASBToken userToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator3_LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator3_GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator3_IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator3_UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string IUserAuthenticator3_GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IUserAuthenticator3_IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator3_GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator3_ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator3_SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator3_GetUserSecurityToken([In][MarshalAs(UnmanagedType.LPWStr)] string loginDomain, [In][MarshalAs(UnmanagedType.LPWStr)] string loginName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator2_LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator2_GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator2_IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator2_UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string IUserAuthenticator2_GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IUserAuthenticator2_IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator2_GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator2_ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator2_SmartCardLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string credential, [In][MarshalAs(UnmanagedType.LPWStr)] string userPin, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason, [MarshalAs(UnmanagedType.BStr)] out string bstrLogonDomain);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator_LogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator_GetAuthenticationMode([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out EAUTHMODE eAuthenticationMode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IUserAuthenticator_IsSecurityEnabled([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, out bool bEnable);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator_UserLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In] Guid callerID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string IUserAuthenticator_GetUserName([In] ref VBGUID userGuid);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IUserAuthenticator_IsLoginRequired([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern VBGUID IUserAuthenticator_GetUserId([In][MarshalAs(UnmanagedType.LPWStr)] string UserName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
public virtual extern ISecurityToken IUserAuthenticator_ChangeLogIn([In][MarshalAs(UnmanagedType.LPWStr)] string galaxyNodeName, [In][MarshalAs(UnmanagedType.LPWStr)] string galaxyName, [In][MarshalAs(UnmanagedType.LPWStr)] string UserName, [In][MarshalAs(UnmanagedType.LPWStr)] string userPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPassword, [In][MarshalAs(UnmanagedType.LPWStr)] string newPasswordA, out ELOGIN eLoginFlag, [MarshalAs(UnmanagedType.BStr)] out string bstrReason);
}
@@ -0,0 +1,12 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("09721FDD-046A-45D7-9BF8-7F6F9ED3934E")]
public struct VBFILETIME
{
public int LowDateTime;
public int HighDateTime;
}
@@ -0,0 +1,17 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("CB6EA3AE-3D97-11D4-AA6D-00A0C9FB522A")]
public struct VBGUID
{
public int Data1;
public short Data2;
public short Data3;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
public byte[] Data4;
}
@@ -0,0 +1,12 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[Guid("BEACE14F-AAA2-412A-B113-F7FC00F2BD25")]
public struct VB_LARGE_INTEGER
{
public int LowPart;
public int HighPart;
}
@@ -0,0 +1,13 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[Guid("953FDABA-3C19-4B96-8B52-AF69BB3FFE0C")]
public enum WriteCapabilityType
{
WriteUnknown = 0,
WriteNonsecure = 1,
WriteUser = 2,
WriteConfirm = 4,
WriteVerify = 8
}
@@ -0,0 +1,24 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[Guid("F6DF55F3-CECE-4857-96FE-3B390D6DAF77")]
public struct WriteRequest2
{
public ushort ReferenceType;
public ushort type;
[MarshalAs(UnmanagedType.BStr)]
public string ContextName;
[MarshalAs(UnmanagedType.BStr)]
public string Name;
public ulong Id;
public uint Quality;
public IDataVariant value;
}
@@ -0,0 +1,19 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
public struct _DataUpdate
{
public ulong ItemId;
public uint StatusCode;
public uint StatusDetail;
public _FILETIME Timestamp;
public uint Quality;
public _IVariant value;
}
@@ -0,0 +1,11 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct _FILETIME
{
public uint dwLowDateTime;
public uint dwHighDateTime;
}
@@ -0,0 +1,21 @@
using System;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[ComConversionLoss]
public struct _IItemIdentity
{
[ComConversionLoss]
public IntPtr ContextName;
public ulong Id;
[ComConversionLoss]
public IntPtr Name;
public ushort ReferenceType;
public ushort type;
}
@@ -0,0 +1,24 @@
using System;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
[ComConversionLoss]
public struct _IMonitoredItem
{
public byte Active;
[ComConversionLoss]
public IntPtr Item;
public ulong SampleInterval;
public ulong TimeDeadband;
[ComConversionLoss]
public IntPtr userData;
[ComConversionLoss]
public IntPtr ValueDeadband;
}
@@ -0,0 +1,31 @@
using System;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[ComConversionLoss]
public struct _IUserToken
{
public int Encryption;
[ComConversionLoss]
public IntPtr HostName;
public int IdType;
[ComConversionLoss]
public IntPtr LocationID;
[ComConversionLoss]
public IntPtr Password;
[ComConversionLoss]
public IntPtr UserName;
public _IWS_BYTES SamlToken;
public ushort Validity;
public _IWS_BYTES X509Certificate;
}
@@ -0,0 +1,13 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct _IVariant
{
public int length;
public _IWS_BYTES Payload;
public ushort type;
}
@@ -0,0 +1,14 @@
using System;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[ComConversionLoss]
public struct _IWS_BYTES
{
public uint length;
[ComConversionLoss]
public IntPtr bytes;
}
@@ -0,0 +1,19 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
public struct _ItemDataUpdate
{
public ulong ItemId;
public uint StatusCode;
public uint StatusDetail;
public _FILETIME Timestamp;
public uint Quality;
public _IVariant value;
}
@@ -0,0 +1,9 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
public struct _LARGE_INTEGER
{
public long QuadPart;
}
@@ -0,0 +1,14 @@
using System;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[ComConversionLoss]
public struct _StatusItem
{
public int ErrorCode;
[ComConversionLoss]
public IntPtr Item;
}
@@ -0,0 +1,9 @@
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
public struct _ULARGE_INTEGER
{
public ulong QuadPart;
}
@@ -0,0 +1,20 @@
using System;
using System.Runtime.InteropServices;
namespace Interop.aaMxDataConsumer;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[ComConversionLoss]
public struct _WriteRequest
{
[ComConversionLoss]
public IntPtr Item;
public _FILETIME Timestamp;
public ushort StatusCode;
public uint Quality;
public _IVariant value;
}

Some files were not shown because too many files have changed in this diff Show More