Initial project state: .NET reference, design, Rust port (M0+M1), evidence
rust / build / test / clippy / fmt (push) Has been cancelled
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:
@@ -0,0 +1,15 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<AssemblyName>Interop.LmxProxy</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,10 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[CoClass(typeof(AccessManagerClass))]
|
||||
[Guid("96469CD1-8EF4-11D2-BF61-00104B5F96A7")]
|
||||
public interface AccessManager : IAccessManagerHost
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
|
||||
[Guid("26014181-4FF7-11D2-8FA6-00A0C937AF60")]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
public class AccessManagerClass : IAccessManagerHost, AccessManager, IAccessManagerHost2, IAccessManagerHost3, IAccessManagerHost4, IAccessManagerClient
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void InitializeAnonymous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetEngineId(out int engineId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void ProcessOutputs();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void ProcessInput(out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void ProcessMiscellaneous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void ProcessMessages();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost2_InitializeAnonymous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost2_GetEngineId(out int engineId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost2_ProcessOutputs();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost2_ProcessInput(out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost2_ProcessMiscellaneous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost2_ProcessMessages();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void ProcessDataChange([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void ProcessInputEx([In] int lMode, out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void ProcessOutputsEx([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_InitializeAnonymous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_GetEngineId(out int engineId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_ProcessOutputs();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_ProcessInput(out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_ProcessMiscellaneous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_ProcessMessages();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_ProcessDataChange([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_ProcessInputEx([In] int lMode, out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost3_ProcessOutputsEx([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SwapDataBuffers();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_InitializeAnonymous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_GetEngineId(out int engineId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_ProcessOutputs();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_ProcessInput(out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_ProcessMiscellaneous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_ProcessMessages();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_ProcessDataChange([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_ProcessInputEx([In] int lMode, out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_ProcessOutputsEx([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IAccessManagerHost4_SwapDataBuffers();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void ShutdownMxConsumer();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.IUnknown)]
|
||||
public virtual extern object CreateMxConnection();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
public enum DataQuality
|
||||
{
|
||||
DataQualityUnknown = -1,
|
||||
DataQualityGood,
|
||||
DataQualityUncertain,
|
||||
DataQualityInitializing,
|
||||
DataQualityBad
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
public enum EAUTHMODE
|
||||
{
|
||||
eNone,
|
||||
eGalaxyOnly,
|
||||
eOSUserBased,
|
||||
eOSGroupBased
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
public enum ELOGIN
|
||||
{
|
||||
eInvalidUser = 1,
|
||||
eInvalidPassword,
|
||||
ePwdChangeInvalid,
|
||||
ePwdCahngeSuccess,
|
||||
eLoginOK,
|
||||
eSecurityNotEnabled
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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,14 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("F2B877E1-1DBE-11D3-80AD-00104B5F96A7")]
|
||||
public interface IAccessManagerClient
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.IUnknown)]
|
||||
object CreateMxConnection();
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("96469CD1-8EF4-11D2-BF61-00104B5F96A7")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IAccessManagerHost
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void InitializeAnonymous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void GetEngineId(out int engineId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void ProcessOutputs();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void ProcessInput(out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void ProcessMiscellaneous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void ProcessMessages();
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("02FB8CDD-C214-479C-B9FB-CF7BCC01BB14")]
|
||||
public interface IAccessManagerHost2 : IAccessManagerHost
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void InitializeAnonymous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void GetEngineId(out int engineId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessOutputs();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessInput(out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessMiscellaneous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessMessages();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void ProcessDataChange([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void ProcessInputEx([In] int lMode, out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void ProcessOutputsEx([In] int lMode);
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("EB84CFA8-9CF3-49CB-AFC8-5EFE8D664C81")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IAccessManagerHost3 : IAccessManagerHost2
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void InitializeAnonymous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void GetEngineId(out int engineId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessOutputs();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessInput(out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessMiscellaneous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessMessages();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessDataChange([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessInputEx([In] int lMode, out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessOutputsEx([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SwapDataBuffers();
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("964EBB72-56D3-48C7-BB75-17646B4D4950")]
|
||||
public interface IAccessManagerHost4 : IAccessManagerHost3
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void InitializeAnonymous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void GetEngineId(out int engineId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessOutputs();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessInput(out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessMiscellaneous();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessMessages();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessDataChange([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessInputEx([In] int lMode, out bool queueWasEmpty, out int messageSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void ProcessOutputsEx([In] int lMode);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void SwapDataBuffers();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void ShutdownMxConsumer();
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("CCE67FB7-EAFD-4367-9212-617043BF126D")]
|
||||
[TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)]
|
||||
public interface ILMXProxyServer
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743808)]
|
||||
int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743809)]
|
||||
void Unregister([In] int hLMXServerHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743810)]
|
||||
int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743811)]
|
||||
void RemoveItem([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743812)]
|
||||
void Advise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743813)]
|
||||
void UnAdvise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743814)]
|
||||
void Write([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743815)]
|
||||
void WriteSecured([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743816)]
|
||||
int AuthenticateUser([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUser, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUserPsw);
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)]
|
||||
[Guid("020A8A87-69C5-497F-A893-B629E669FBFF")]
|
||||
public interface ILMXProxyServer2 : ILMXProxyServer
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743808)]
|
||||
new int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743809)]
|
||||
new void Unregister([In] int hLMXServerHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743810)]
|
||||
new int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743811)]
|
||||
new void RemoveItem([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743812)]
|
||||
new void Advise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743813)]
|
||||
new void UnAdvise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743814)]
|
||||
new void Write([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743815)]
|
||||
new void WriteSecured([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743816)]
|
||||
new int AuthenticateUser([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUser, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUserPsw);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610809344)]
|
||||
int ArchestrAUserToId([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string UserIdGuid);
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)]
|
||||
[Guid("57D006B6-F25E-4654-A81E-BCBAFD60FE59")]
|
||||
public interface ILMXProxyServer3 : ILMXProxyServer2
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743808)]
|
||||
new int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743809)]
|
||||
new void Unregister([In] int hLMXServerHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743810)]
|
||||
new int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743811)]
|
||||
new void RemoveItem([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743812)]
|
||||
new void Advise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743813)]
|
||||
new void UnAdvise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743814)]
|
||||
new void Write([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743815)]
|
||||
new void WriteSecured([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743816)]
|
||||
new int AuthenticateUser([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUser, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUserPsw);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610809344)]
|
||||
new int ArchestrAUserToId([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string UserIdGuid);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610874880)]
|
||||
int AddItem2([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef, [In][MarshalAs(UnmanagedType.BStr)] string strItemCtxt);
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("9DC0D5C1-9371-4E84-86F8-7091D316A66C")]
|
||||
[TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)]
|
||||
public interface ILMXProxyServer4 : ILMXProxyServer3
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743808)]
|
||||
new int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743809)]
|
||||
new void Unregister([In] int hLMXServerHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743810)]
|
||||
new int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743811)]
|
||||
new void RemoveItem([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743812)]
|
||||
new void Advise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743813)]
|
||||
new void UnAdvise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743814)]
|
||||
new void Write([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743815)]
|
||||
new void WriteSecured([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743816)]
|
||||
new int AuthenticateUser([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUser, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUserPsw);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610809344)]
|
||||
new int ArchestrAUserToId([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string UserIdGuid);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610874880)]
|
||||
new int AddItem2([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef, [In][MarshalAs(UnmanagedType.BStr)] string strItemCtxt);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940416)]
|
||||
void Write2([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pItemTime, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940417)]
|
||||
void WriteSecured2([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pItemTime);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940418)]
|
||||
void Suspend([In] int hLMXServerHandle, [In] int hItem, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940419)]
|
||||
void Activate([In] int hLMXServerHandle, [In] int hItem, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940420)]
|
||||
void AdviseSupervisory([In] int hLMXServerHandle, [In] int hItem);
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)]
|
||||
[Guid("ECEFF506-A752-46E3-9E31-0A8E257C9926")]
|
||||
public interface ILMXProxyServer5 : ILMXProxyServer4
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743808)]
|
||||
new int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743809)]
|
||||
new void Unregister([In] int hLMXServerHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743810)]
|
||||
new int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743811)]
|
||||
new void RemoveItem([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743812)]
|
||||
new void Advise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743813)]
|
||||
new void UnAdvise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743814)]
|
||||
new void Write([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743815)]
|
||||
new void WriteSecured([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743816)]
|
||||
new int AuthenticateUser([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUser, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUserPsw);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610809344)]
|
||||
new int ArchestrAUserToId([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string UserIdGuid);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610874880)]
|
||||
new int AddItem2([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef, [In][MarshalAs(UnmanagedType.BStr)] string strItemCtxt);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940416)]
|
||||
new void Write2([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pItemTime, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940417)]
|
||||
new void WriteSecured2([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pItemTime);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940418)]
|
||||
new void Suspend([In] int hLMXServerHandle, [In] int hItem, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940419)]
|
||||
new void Activate([In] int hLMXServerHandle, [In] int hItem, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940420)]
|
||||
new void AdviseSupervisory([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1611005952)]
|
||||
int AddBufferedItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef, [In][MarshalAs(UnmanagedType.BStr)] string strItemCtxt);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1611005953)]
|
||||
void SetBufferedUpdateInterval([In] int hLMXServerHandle, [In] int lUpdateInterval);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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)] MxReference pMxReference, out int preboundRefHandle);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("CC49CA44-D8CB-11D3-823B-00104B5F96A7")]
|
||||
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)] MxValue pMxValueOut);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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)] MxValue 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)] MxValue pMxValueOut, [In] short QualityOut, [In] _FILETIME TimestampOut);
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("74A0D864-4DF5-4C42-841C-4B6265133189")]
|
||||
public interface IMxInternalConnection
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void GetReferenceResolutionStatus([In] int refHandle, [In] int objectId, out MxAttributeHandle localPart, out int status);
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("30B05B02-D834-11D3-8239-00104B5F96A7")]
|
||||
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)]
|
||||
MxReference GenerateEnumStringsReference([In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("11E8356E-0F0D-4D67-974D-925968B66307")]
|
||||
public interface IMxReferenceInfoCS
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void GetTagNameStringCS([In] GetTagNameInInfoCS pGetTagNameInInfo, out GetTagNameOutInfoCS pGetTagNameOutInfo);
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("90BEFDF6-C111-4366-A27A-8A88DC87A095")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IMxReferenceInternals
|
||||
{
|
||||
[DispId(1)]
|
||||
MxHandle MxHandle
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
get;
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[param: In]
|
||||
set;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("8A4B2077-6E4F-4135-915A-DD952F95EF25")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
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)] MxReference 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.LmxProxy;
|
||||
|
||||
[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)] MxReference 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)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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)] MxReference 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)]
|
||||
MxValue 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)] MxValue pMxValue, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("621B4552-9CDC-440E-BDDC-894536122643")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IMxSupervisoryConnection3 : IMxSupervisoryConnection
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new int SupervisoryRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void SupervisoryUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue 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)] MxValue 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)]
|
||||
MxValue 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)] MxValue 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);
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("52733B9D-1DF4-440F-9320-CFD511FB88F1")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IMxSupervisoryConnection5
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
int SupervisoryRegisterPreboundReference([In] int preboundReferenceHandle, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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)] MxReference 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 MxValue 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)] MxValue 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 MxValue 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)] MxValue 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)] MxReference 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.LmxProxy;
|
||||
|
||||
[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)] MxReference 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)]
|
||||
MxValue SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
MxValue 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)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
MxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
string SystemGetQualityDescription([In] ref short mxDataQuality);
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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)] MxReference 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 MxValue SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue 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)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
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)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority);
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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)] MxReference 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 MxValue SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue 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)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
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)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
MxValue SystemGetAttribute3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SystemSetAttribute3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In] short Quality, [In] _FILETIME Timestamp, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority = 0);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
MxValue SystemGetAttributeBlocking3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SystemSetAttributeGuaranteed3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
MxValue SystemSetAttributeBlocking3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In] short QualityIn, [In] _FILETIME TimestampIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription, out short pMxDataQualityOut, out _FILETIME pMxTimeOut);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("CC49CA43-D8CB-11D3-823B-00104B5F96A7")]
|
||||
public interface IMxUserConnection
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
MxValue 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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("4863541B-B371-4AA2-9378-5347E5D36000")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IMxUserConnection2 : IMxUserConnection
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue 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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
MxValue 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.LmxProxy;
|
||||
|
||||
[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)] MxReference 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 MxValue 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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
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.LmxProxy;
|
||||
|
||||
[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)] MxReference 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 MxValue 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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
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)]
|
||||
MxValue UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
MxValue UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("4805D9B8-1BD4-4726-81F8-B70BEEB1D7AE")]
|
||||
public interface IMxUserConnection5 : IMxUserConnection4
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue 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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
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 MxValue UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("FD619BE8-98D2-46EA-A274-8481C320C662")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface IMxUserConnection6 : IMxUserConnection5
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue 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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
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 MxValue UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
new MxValue UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
new void UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
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)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void UserSetAttribute6([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[ComConversionLoss]
|
||||
[Guid("D4905673-9679-4FD3-949C-DC26E10482B0")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
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 MxValue 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)] MxReference 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)]
|
||||
MxReference 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)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void GetElement([In] int index1, [In][MarshalAs(UnmanagedType.Interface)] MxValue 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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("1B6AEB81-CB43-11D2-BFFF-00104B5F96A7")]
|
||||
public interface IMxValueFactory
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void CreateInstance([MarshalAs(UnmanagedType.Interface)] out MxValue ppMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void CreateInstanceBool([MarshalAs(UnmanagedType.Interface)] out MxValue ppMxValue, bool val);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void CreateInstanceLong([MarshalAs(UnmanagedType.Interface)] out MxValue ppMxValue, int val);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void CreateInstanceFloat([MarshalAs(UnmanagedType.Interface)] out MxValue ppMxValue, float val);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void CreateInstanceDouble([MarshalAs(UnmanagedType.Interface)] out MxValue ppMxValue, double val);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void CreateInstanceString([MarshalAs(UnmanagedType.Interface)] out MxValue ppMxValue, [MarshalAs(UnmanagedType.LPWStr)] string val);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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,28 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("8CF8B900-8D26-11D4-A9A3-0060976445E9")]
|
||||
public interface IProcessLocale
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SetProcessLocale([In] int localeId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
int GetProcessLocale();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SetDefaultLocale([In] int localeId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
int GetDefaultLocale();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
void SetThreadLocale([In] int localeId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
int GetThreadLocale();
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("92FF7FD3-A65F-431C-86AA-7BB502FF0D2C")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("E72606A1-3DF5-4D7E-BD66-0AADA70E98D8")]
|
||||
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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("0759D857-2EC6-481B-B497-117A6A4F7204")]
|
||||
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);
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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,10 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("ECEFF506-A752-46E3-9E31-0A8E257C9926")]
|
||||
[CoClass(typeof(LMXProxyServerClass))]
|
||||
public interface LMXProxyServer : ILMXProxyServer5, _ILMXProxyServerEvents_Event
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[ComSourceInterfaces("Interop.LmxProxy._ILMXProxyServerEvents\0Interop.LmxProxy._ILMXProxyServerEvents2\0\0")]
|
||||
[Guid("C30B52F5-2CB5-4760-AF0A-3A344A7EB5DC")]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
|
||||
public class LMXProxyServerClass : ILMXProxyServer5, LMXProxyServer, _ILMXProxyServerEvents_Event, _ILMXProxyServerEvents2_Event
|
||||
{
|
||||
public virtual extern event _ILMXProxyServerEvents_OnDataChangeEventHandler OnDataChange;
|
||||
|
||||
public virtual extern event _ILMXProxyServerEvents_OnWriteCompleteEventHandler OnWriteComplete;
|
||||
|
||||
public virtual extern event _ILMXProxyServerEvents_OperationCompleteEventHandler OperationComplete;
|
||||
|
||||
public virtual extern event _ILMXProxyServerEvents2_OnBufferedDataChangeEventHandler OnBufferedDataChange;
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743808)]
|
||||
public virtual extern int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743809)]
|
||||
public virtual extern void Unregister([In] int hLMXServerHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743810)]
|
||||
public virtual extern int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743811)]
|
||||
public virtual extern void RemoveItem([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743812)]
|
||||
public virtual extern void Advise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743813)]
|
||||
public virtual extern void UnAdvise([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743814)]
|
||||
public virtual extern void Write([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743815)]
|
||||
public virtual extern void WriteSecured([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610743816)]
|
||||
public virtual extern int AuthenticateUser([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUser, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUserPsw);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610809344)]
|
||||
public virtual extern int ArchestrAUserToId([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string UserIdGuid);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610874880)]
|
||||
public virtual extern int AddItem2([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef, [In][MarshalAs(UnmanagedType.BStr)] string strItemCtxt);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940416)]
|
||||
public virtual extern void Write2([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pItemTime, [In] int userId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940417)]
|
||||
public virtual extern void WriteSecured2([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pItemTime);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940418)]
|
||||
public virtual extern void Suspend([In] int hLMXServerHandle, [In] int hItem, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940419)]
|
||||
public virtual extern void Activate([In] int hLMXServerHandle, [In] int hItem, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1610940420)]
|
||||
public virtual extern void AdviseSupervisory([In] int hLMXServerHandle, [In] int hItem);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1611005952)]
|
||||
public virtual extern int AddBufferedItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef, [In][MarshalAs(UnmanagedType.BStr)] string strItemCtxt);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1611005953)]
|
||||
public virtual extern void SetBufferedUpdateInterval([In] int hLMXServerHandle, [In] int lUpdateInterval);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 4)]
|
||||
[Guid("A162D9E4-9019-42F3-A087-79264007E542")]
|
||||
public struct MXSTATUS_PROXY
|
||||
{
|
||||
public short success;
|
||||
|
||||
public MxStatusCategory category;
|
||||
|
||||
public MxStatusSource detectedBy;
|
||||
|
||||
public short detail;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 2)]
|
||||
public struct MxAttributeHandle
|
||||
{
|
||||
public short primitiveId;
|
||||
|
||||
public short attributeId;
|
||||
|
||||
public short propertyId;
|
||||
|
||||
public ushort signature;
|
||||
|
||||
public short index1;
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 2)]
|
||||
public struct MxAutomationObjectHandle
|
||||
{
|
||||
public byte galaxy;
|
||||
|
||||
public ushort platform;
|
||||
|
||||
public ushort engine;
|
||||
|
||||
public ushort @object;
|
||||
|
||||
public ushort signature;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SupervisoryUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue SupervisoryGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SupervisorySetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxSupervisoryConnection3_SupervisoryRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.LPWStr)] string setCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSupervisoryConnection3_SupervisoryUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxSupervisoryConnection3_SupervisoryGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSupervisoryConnection3_SupervisorySetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSupervisoryConnection3_SetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue SupervisoryGetAttribute3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SupervisorySetAttribute3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SupervisoryGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string UserGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection2_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection2_UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection2_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection2_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string IMxUserConnection2_UserGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection2_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection3_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection3_UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection3_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection3_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string IMxUserConnection3_UserGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection3_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection3_UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection3_UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection3_UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection4_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection4_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string IMxUserConnection4_UserGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection4_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection4_UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection4_UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetBigString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserGetInternationalizedString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection5_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection5_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string IMxUserConnection5_UserGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection5_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection5_UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection5_UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection5_UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetBigString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection5_UserGetInternationalizedString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserSetAttribute5([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection6_UserRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool IsIndirect, [In] bool IsReadable, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection6_UserGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string IMxUserConnection6_UserGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxUserConnection6_UserRegisterPreboundReference([In] int preboundReferenceHandle, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] int userData);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserSetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection6_UserGetArrayAttributeByIndex([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetInteger([In] int hRef, out short DataQuality, out MxStatus MxStatus, out int plValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetBoolean([In] int hRef, out short DataQuality, out MxStatus MxStatus, out bool pbValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetFloat([In] int hRef, out short DataQuality, out MxStatus MxStatus, out float pfValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetDouble([In] int hRef, out short DataQuality, out MxStatus MxStatus, out double pdValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetQualifiedEnum([In] int hRef, out short DataQuality, out MxStatus MxStatus, out short ordinal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetBigString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetInternationalizedString([In] int hRef, out short DataQuality, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection6_UserGetAttribute4([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxUserConnection6_UserGetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserSetAttribute4([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserSetArrayAttributeByIndex4([In] int hRef, [In] short arrayIndex, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetInteger4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out int plValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetBoolean4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out bool pbValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetFloat4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out float pfValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetDouble4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out double pdValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetQualifiedEnum4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, out short ordinal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetBigString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserGetInternationalizedString4([In] int hRef, out short DataQuality, out _FILETIME pMxTime, out MxStatus MxStatus, [MarshalAs(UnmanagedType.BStr)] out string pbstrValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxUserConnection6_UserSetAttribute5([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UserSetAttribute6([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp, [In] ref VBGUID userId, [In] ref VBGUID verifier, [In] bool userVerified, [In][MarshalAs(UnmanagedType.LPWStr)] string sourceName, [In][MarshalAs(UnmanagedType.LPWStr)] string reasonDescription, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool subscribe);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SystemUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string SystemGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxSystemConnection2_SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool subscribe);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSystemConnection2_SystemUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxSystemConnection2_SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxSystemConnection2_SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSystemConnection2_SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSystemConnection2_SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxSystemConnection2_SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string IMxSystemConnection2_SystemGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SystemSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SystemSetAttribute2([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int IMxSystemConnection3_SystemRegisterReference([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In] bool subscribe);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSystemConnection3_SystemUnregisterReference([In] int hRef);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxSystemConnection3_SystemGetAttribute([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxSystemConnection3_SystemGetAttributeBlocking([In] int hRef, out short pMxDataQuality, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSystemConnection3_SystemSetAttribute([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSystemConnection3_SystemSetAttributeGuaranteed([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue IMxSystemConnection3_SystemSetAttributeBlocking([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string IMxSystemConnection3_SystemGetQualityDescription([In] ref short mxDataQuality);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSystemConnection3_SystemSetResponse([In] int callbackId, [In] ref MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxSystemConnection3_SystemSetAttribute2([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue SystemGetAttribute3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SystemSetAttribute3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In] short Quality, [In] _FILETIME Timestamp, [In][MarshalAs(UnmanagedType.Interface)] IMxCallback pMxCallback, [In] byte msgPriority = 0);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue SystemGetAttributeBlocking3([In] int hRef, out short pMxDataQuality, out _FILETIME pMxTime, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SystemSetAttributeGuaranteed3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue, [In] short Quality, [In] _FILETIME Timestamp);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxValue SystemSetAttributeBlocking3([In] int hRef, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValueIn, [In] short QualityIn, [In] _FILETIME TimestampIn, out MxStatus pMxStatus, [MarshalAs(UnmanagedType.BStr)] out string pStatusDescription, out short pMxDataQualityOut, out _FILETIME pMxTimeOut);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SystemGetAttributesSupportedProperties([In] int hRef, out int SupportedProperties, out MxStatus pMxStatus);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PrebindReference([In][MarshalAs(UnmanagedType.LPWStr)] string referenceString, out int preboundRefHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void UnregisterPreboundReference([In] int preboundRefHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxBindingService2_PrebindReference([In][MarshalAs(UnmanagedType.LPWStr)] string referenceString, out int preboundRefHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IMxBindingService2_UnregisterPreboundReference([In] int preboundRefHandle);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PrebindReferenceEx([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, out int preboundRefHandle);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
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,11 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 2)]
|
||||
public struct MxHandle
|
||||
{
|
||||
public MxAutomationObjectHandle @object;
|
||||
|
||||
public MxAttributeHandle attribute;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("30B05B02-D834-11D3-8239-00104B5F96A7")]
|
||||
[CoClass(typeof(MxReferenceClass))]
|
||||
public interface MxReference : IMxReference
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
[Guid("6C449378-EE5F-428C-BB95-01AE4573C742")]
|
||||
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
|
||||
public class MxReferenceClass : IMxReference, MxReference
|
||||
{
|
||||
[DispId(1)]
|
||||
public virtual extern 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)]
|
||||
public virtual extern 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)]
|
||||
public virtual extern 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)]
|
||||
public virtual extern MxResolutionStatus AutomationObjectResolutionStatus
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
get;
|
||||
}
|
||||
|
||||
[DispId(5)]
|
||||
public virtual extern MxResolutionStatus AttributeResolutionStatus
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
get;
|
||||
}
|
||||
|
||||
[DispId(6)]
|
||||
public virtual extern 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)]
|
||||
public virtual extern void GetClassID(out Guid pClassID);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IsDirty();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void Load([In][MarshalAs(UnmanagedType.Interface)] IStream pstm);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void Save([In][MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] int fClearDirty);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetSizeMax(out _ULARGE_INTEGER pcbSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxReference GenerateEnumStringsReference([In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
public enum MxResolutionStatus
|
||||
{
|
||||
MxReferenceUndefined = -1,
|
||||
MxReferenceUnresolved,
|
||||
MxReferenceResolved,
|
||||
MxReferenceAttributeNotPresent
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
public enum MxScanState
|
||||
{
|
||||
MxOnScan,
|
||||
MxOffScan
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
public enum MxSecurityClassification
|
||||
{
|
||||
MxSecurityUndefined = -1,
|
||||
MxSecurityFreeAccess,
|
||||
MxSecurityOperate,
|
||||
MxSecuritySecuredWrite,
|
||||
MxSecurityVerifiedWrite,
|
||||
MxSecurityTune,
|
||||
MxSecurityConfigure,
|
||||
MxSecurityViewOnly
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
public enum MxStatusCategory
|
||||
{
|
||||
MxStatusCategoryUnknown = -1,
|
||||
MxCategoryOk,
|
||||
MxCategoryPending,
|
||||
MxCategoryWarning,
|
||||
MxCategoryCommunicationError,
|
||||
MxCategoryConfigurationError,
|
||||
MxCategoryOperationalError,
|
||||
MxCategorySecurityError,
|
||||
MxCategorySoftwareError,
|
||||
MxCategoryOtherError
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
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.LmxProxy;
|
||||
|
||||
public enum MxStatusSource
|
||||
{
|
||||
MxSourceUnknown = -1,
|
||||
MxSourceRequestingLmx,
|
||||
MxSourceRespondingLmx,
|
||||
MxSourceRequestingNmx,
|
||||
MxSourceRespondingNmx,
|
||||
MxSourceRequestingAutomationObject,
|
||||
MxSourceRespondingAutomationObject
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("D4905673-9679-4FD3-949C-DC26E10482B0")]
|
||||
[CoClass(typeof(MxValueClass))]
|
||||
public interface MxValue : IMxValue
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
|
||||
[ComConversionLoss]
|
||||
[Guid("51D955B1-B086-11D2-BFB1-00104B5F96A7")]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
public class MxValueClass : IMxValue, MxValue
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetClassID(out Guid pClassID);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void IsDirty();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void Load([In][MarshalAs(UnmanagedType.Interface)] IStream pstm);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void Save([In][MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] int fClearDirty);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetSizeMax(out _ULARGE_INTEGER pcbSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void Clone([MarshalAs(UnmanagedType.Interface)] out MxValue ppMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void Empty();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutBoolean([In] bool newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutInteger([In] int newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutFloat([In] float newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutDouble([In] double newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutString([In][MarshalAs(UnmanagedType.LPWStr)] string newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutTime([In] ref VBFILETIME pNewVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutElapsedTime([In] ref VB_LARGE_INTEGER pNewVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutMxReference([In][MarshalAs(UnmanagedType.Interface)] MxReference newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutMxStatus([In] ref MxStatus newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutMxDataType([In] MxDataType newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutMxSecurityClassification([In] MxSecurityClassification newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutMxDataQuality([In] ref short newVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutCustomStruct([In] int guid, [In] int structSize, [In] ref byte pStruct);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutCustomEnum([In][MarshalAs(UnmanagedType.LPWStr)] string value, [In] short ordinal, [In] short primitiveId, [In] short attributeId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern MxDataType GetDataType();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern bool GetBoolean();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int GetInteger();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern float GetFloat();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern double GetDouble();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string GetString();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetTime(out VBFILETIME pVal);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern VB_LARGE_INTEGER GetElapsedTime();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
public virtual extern MxReference GetMxReference();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern MxStatus GetMxStatus();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern MxDataType GetMxDataType();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern MxSecurityClassification GetMxSecurityClassification();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern short GetMxDataQuality();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetCustomStruct(out int pGuid, out int pStructSize, [Out] IntPtr pStruct);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetCustomEnum([MarshalAs(UnmanagedType.BStr)] out string pValue, out short pOrdinal, out short pPrimitiveId, out short pAttributeId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetDimensionCount(out short nDimensions);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutElement([In] int index, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetElement([In] int index1, [In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetDimensionSize(out int pSize);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutCustomStructVB([In] int guid, [In][Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)] ref byte[] pStruct);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetCustomStructVB(out int pGuid, [In][Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_UI1)] ref byte[] pStruct);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutInternationalStrings([In] int count, [In] ref InternationalizedString strings);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutInternationalStringsVB([In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref InternationalizedString[] ppsa);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetInternationalStrings(out int count, [Out] IntPtr locals);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void GetInternationalStringsVB([In][Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref InternationalizedString[] ppsa);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[return: MarshalAs(UnmanagedType.BStr)]
|
||||
public virtual extern string GetInternationalString([In] int locale);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void PutInternationalString([In] int locale, [In][MarshalAs(UnmanagedType.BStr)] string InternationalizedString);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[CoClass(typeof(ProcessLocaleClass))]
|
||||
[Guid("8CF8B900-8D26-11D4-A9A3-0060976445E9")]
|
||||
public interface ProcessLocale : IProcessLocale
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
[Guid("82807A20-8D26-11D4-A9A3-0060976445E9")]
|
||||
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
|
||||
public class ProcessLocaleClass : IProcessLocale, ProcessLocale
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SetProcessLocale([In] int localeId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int GetProcessLocale();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SetDefaultLocale([In] int localeId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int GetDefaultLocale();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern void SetThreadLocale([In] int localeId);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public virtual extern int GetThreadLocale();
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[CoClass(typeof(UserAuthenticatorClass))]
|
||||
[Guid("0759D857-2EC6-481B-B497-117A6A4F7204")]
|
||||
public interface UserAuthenticator : IUserAuthenticator7
|
||||
{
|
||||
}
|
||||
+293
@@ -0,0 +1,293 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
|
||||
[Guid("FC3501EB-5883-4B82-B286-9AFB2956B469")]
|
||||
[ComConversionLoss]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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.LmxProxy;
|
||||
|
||||
[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,11 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 4)]
|
||||
public struct _FILETIME
|
||||
{
|
||||
public uint dwLowDateTime;
|
||||
|
||||
public uint dwHighDateTime;
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[TypeLibType(TypeLibTypeFlags.FDispatchable)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
|
||||
[Guid("848299B6-DD61-4A0D-A304-3947A564B89C")]
|
||||
public interface _ILMXProxyServerEvents
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1)]
|
||||
void OnDataChange([In] int hLMXServerHandle, [In] int phItemHandle, [In][MarshalAs(UnmanagedType.Struct)] object pvItemValue, [In] int pwItemQuality, [In][MarshalAs(UnmanagedType.Struct)] object pftItemTimeStamp, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref MXSTATUS_PROXY[] pVars);
|
||||
|
||||
[MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(2)]
|
||||
void OnWriteComplete([In] int hLMXServerHandle, [In] int phItemHandle, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref MXSTATUS_PROXY[] pVars);
|
||||
|
||||
[MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(3)]
|
||||
void OperationComplete([In] int hLMXServerHandle, [In] int phItemHandle, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref MXSTATUS_PROXY[] pVars);
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComImport]
|
||||
[Guid("C70A6FC4-09EF-4F31-8874-A049FEE87A95")]
|
||||
[TypeLibType(TypeLibTypeFlags.FDispatchable)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
|
||||
public interface _ILMXProxyServerEvents2
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
[DispId(1)]
|
||||
void OnBufferedDataChange([In] int hLMXServerHandle, [In] int phItemHandle, [In] MxDataType dtDataType, [In][MarshalAs(UnmanagedType.Struct)] object pvItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pwItemQuality, [In][MarshalAs(UnmanagedType.Struct)] object pftItemTimeStamp, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref MXSTATUS_PROXY[] pVars);
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComVisible(false)]
|
||||
[ComEventInterface(typeof(_ILMXProxyServerEvents2), typeof(_ILMXProxyServerEvents2_EventProvider))]
|
||||
[TypeLibType(TypeLibTypeFlags.FHidden)]
|
||||
public interface _ILMXProxyServerEvents2_Event
|
||||
{
|
||||
event _ILMXProxyServerEvents2_OnBufferedDataChangeEventHandler OnBufferedDataChange;
|
||||
}
|
||||
+148
@@ -0,0 +1,148 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using System.Threading;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
internal sealed class _ILMXProxyServerEvents2_EventProvider : _ILMXProxyServerEvents2_Event, IDisposable
|
||||
{
|
||||
private WeakReference m_wkConnectionPointContainer;
|
||||
|
||||
private ArrayList m_aEventSinkHelpers;
|
||||
|
||||
private IConnectionPoint m_ConnectionPoint;
|
||||
|
||||
private void Init()
|
||||
{
|
||||
IConnectionPoint ppCP = null;
|
||||
Guid riid = new Guid(new byte[16]
|
||||
{
|
||||
196, 111, 10, 199, 239, 9, 49, 79, 136, 116,
|
||||
160, 73, 254, 232, 122, 149
|
||||
});
|
||||
((IConnectionPointContainer)m_wkConnectionPointContainer.Target).FindConnectionPoint(ref riid, out ppCP);
|
||||
m_ConnectionPoint = ppCP;
|
||||
m_aEventSinkHelpers = new ArrayList();
|
||||
}
|
||||
|
||||
public void add_OnBufferedDataChange(_ILMXProxyServerEvents2_OnBufferedDataChangeEventHandler P_0)
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_ConnectionPoint == null)
|
||||
{
|
||||
Init();
|
||||
}
|
||||
_ILMXProxyServerEvents2_SinkHelper iLMXProxyServerEvents2_SinkHelper = new _ILMXProxyServerEvents2_SinkHelper();
|
||||
int pdwCookie = 0;
|
||||
m_ConnectionPoint.Advise(iLMXProxyServerEvents2_SinkHelper, out pdwCookie);
|
||||
iLMXProxyServerEvents2_SinkHelper.m_dwCookie = pdwCookie;
|
||||
iLMXProxyServerEvents2_SinkHelper.m_OnBufferedDataChangeDelegate = P_0;
|
||||
m_aEventSinkHelpers.Add(iLMXProxyServerEvents2_SinkHelper);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void remove_OnBufferedDataChange(_ILMXProxyServerEvents2_OnBufferedDataChangeEventHandler P_0)
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_aEventSinkHelpers == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int count = m_aEventSinkHelpers.Count;
|
||||
int num = 0;
|
||||
if (0 >= count)
|
||||
{
|
||||
return;
|
||||
}
|
||||
do
|
||||
{
|
||||
_ILMXProxyServerEvents2_SinkHelper iLMXProxyServerEvents2_SinkHelper = (_ILMXProxyServerEvents2_SinkHelper)m_aEventSinkHelpers[num];
|
||||
if (iLMXProxyServerEvents2_SinkHelper.m_OnBufferedDataChangeDelegate != null && ((iLMXProxyServerEvents2_SinkHelper.m_OnBufferedDataChangeDelegate.Equals(P_0) ? 1u : 0u) & 0xFFu) != 0)
|
||||
{
|
||||
m_aEventSinkHelpers.RemoveAt(num);
|
||||
m_ConnectionPoint.Unadvise(iLMXProxyServerEvents2_SinkHelper.m_dwCookie);
|
||||
if (count <= 1)
|
||||
{
|
||||
Marshal.ReleaseComObject(m_ConnectionPoint);
|
||||
m_ConnectionPoint = null;
|
||||
m_aEventSinkHelpers = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
while (num < count);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public _ILMXProxyServerEvents2_EventProvider(object P_0)
|
||||
{
|
||||
//Error decoding local variables: Signature type sequence must have at least one element.
|
||||
m_wkConnectionPointContainer = new WeakReference((IConnectionPointContainer)P_0, trackResurrection: false);
|
||||
}
|
||||
|
||||
public void Finalize()
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_ConnectionPoint == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int count = m_aEventSinkHelpers.Count;
|
||||
int num = 0;
|
||||
if (0 < count)
|
||||
{
|
||||
do
|
||||
{
|
||||
_ILMXProxyServerEvents2_SinkHelper iLMXProxyServerEvents2_SinkHelper = (_ILMXProxyServerEvents2_SinkHelper)m_aEventSinkHelpers[num];
|
||||
m_ConnectionPoint.Unadvise(iLMXProxyServerEvents2_SinkHelper.m_dwCookie);
|
||||
num++;
|
||||
}
|
||||
while (num < count);
|
||||
}
|
||||
Marshal.ReleaseComObject(m_ConnectionPoint);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
//Error decoding local variables: Signature type sequence must have at least one element.
|
||||
Finalize();
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComVisible(false)]
|
||||
[TypeLibType(TypeLibTypeFlags.FHidden)]
|
||||
public delegate void _ILMXProxyServerEvents2_OnBufferedDataChangeEventHandler([In] int hLMXServerHandle, [In] int phItemHandle, [In] MxDataType dtDataType, [In][MarshalAs(UnmanagedType.Struct)] object pvItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pwItemQuality, [In][MarshalAs(UnmanagedType.Struct)] object pftItemTimeStamp, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref MXSTATUS_PROXY[] pVars);
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[TypeLibType(TypeLibTypeFlags.FHidden)]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
public sealed class _ILMXProxyServerEvents2_SinkHelper : _ILMXProxyServerEvents2
|
||||
{
|
||||
public _ILMXProxyServerEvents2_OnBufferedDataChangeEventHandler m_OnBufferedDataChangeDelegate;
|
||||
|
||||
public int m_dwCookie;
|
||||
|
||||
public void OnBufferedDataChange(int P_0, int P_1, MxDataType P_2, object P_3, object P_4, object P_5, ref MXSTATUS_PROXY[] P_6)
|
||||
{
|
||||
//Error decoding local variables: Signature type sequence must have at least one element.
|
||||
if (m_OnBufferedDataChangeDelegate != null)
|
||||
{
|
||||
m_OnBufferedDataChangeDelegate(P_0, P_1, P_2, P_3, P_4, P_5, ref P_6);
|
||||
}
|
||||
}
|
||||
|
||||
internal _ILMXProxyServerEvents2_SinkHelper()
|
||||
{
|
||||
//Error decoding local variables: Signature type sequence must have at least one element.
|
||||
m_dwCookie = 0;
|
||||
m_OnBufferedDataChangeDelegate = null;
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComEventInterface(typeof(_ILMXProxyServerEvents), typeof(_ILMXProxyServerEvents_EventProvider))]
|
||||
[ComVisible(false)]
|
||||
[TypeLibType(TypeLibTypeFlags.FHidden)]
|
||||
public interface _ILMXProxyServerEvents_Event
|
||||
{
|
||||
event _ILMXProxyServerEvents_OnDataChangeEventHandler OnDataChange;
|
||||
|
||||
event _ILMXProxyServerEvents_OnWriteCompleteEventHandler OnWriteComplete;
|
||||
|
||||
event _ILMXProxyServerEvents_OperationCompleteEventHandler OperationComplete;
|
||||
}
|
||||
+288
@@ -0,0 +1,288 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using System.Threading;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
internal sealed class _ILMXProxyServerEvents_EventProvider : _ILMXProxyServerEvents_Event, IDisposable
|
||||
{
|
||||
private WeakReference m_wkConnectionPointContainer;
|
||||
|
||||
private ArrayList m_aEventSinkHelpers;
|
||||
|
||||
private IConnectionPoint m_ConnectionPoint;
|
||||
|
||||
private void Init()
|
||||
{
|
||||
IConnectionPoint ppCP = null;
|
||||
Guid riid = new Guid(new byte[16]
|
||||
{
|
||||
182, 153, 130, 132, 97, 221, 13, 74, 163, 4,
|
||||
57, 71, 165, 100, 184, 156
|
||||
});
|
||||
((IConnectionPointContainer)m_wkConnectionPointContainer.Target).FindConnectionPoint(ref riid, out ppCP);
|
||||
m_ConnectionPoint = ppCP;
|
||||
m_aEventSinkHelpers = new ArrayList();
|
||||
}
|
||||
|
||||
public void add_OnDataChange(_ILMXProxyServerEvents_OnDataChangeEventHandler P_0)
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_ConnectionPoint == null)
|
||||
{
|
||||
Init();
|
||||
}
|
||||
_ILMXProxyServerEvents_SinkHelper iLMXProxyServerEvents_SinkHelper = new _ILMXProxyServerEvents_SinkHelper();
|
||||
int pdwCookie = 0;
|
||||
m_ConnectionPoint.Advise(iLMXProxyServerEvents_SinkHelper, out pdwCookie);
|
||||
iLMXProxyServerEvents_SinkHelper.m_dwCookie = pdwCookie;
|
||||
iLMXProxyServerEvents_SinkHelper.m_OnDataChangeDelegate = P_0;
|
||||
m_aEventSinkHelpers.Add(iLMXProxyServerEvents_SinkHelper);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void remove_OnDataChange(_ILMXProxyServerEvents_OnDataChangeEventHandler P_0)
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_aEventSinkHelpers == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int count = m_aEventSinkHelpers.Count;
|
||||
int num = 0;
|
||||
if (0 >= count)
|
||||
{
|
||||
return;
|
||||
}
|
||||
do
|
||||
{
|
||||
_ILMXProxyServerEvents_SinkHelper iLMXProxyServerEvents_SinkHelper = (_ILMXProxyServerEvents_SinkHelper)m_aEventSinkHelpers[num];
|
||||
if (iLMXProxyServerEvents_SinkHelper.m_OnDataChangeDelegate != null && ((iLMXProxyServerEvents_SinkHelper.m_OnDataChangeDelegate.Equals(P_0) ? 1u : 0u) & 0xFFu) != 0)
|
||||
{
|
||||
m_aEventSinkHelpers.RemoveAt(num);
|
||||
m_ConnectionPoint.Unadvise(iLMXProxyServerEvents_SinkHelper.m_dwCookie);
|
||||
if (count <= 1)
|
||||
{
|
||||
Marshal.ReleaseComObject(m_ConnectionPoint);
|
||||
m_ConnectionPoint = null;
|
||||
m_aEventSinkHelpers = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
while (num < count);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void add_OnWriteComplete(_ILMXProxyServerEvents_OnWriteCompleteEventHandler P_0)
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_ConnectionPoint == null)
|
||||
{
|
||||
Init();
|
||||
}
|
||||
_ILMXProxyServerEvents_SinkHelper iLMXProxyServerEvents_SinkHelper = new _ILMXProxyServerEvents_SinkHelper();
|
||||
int pdwCookie = 0;
|
||||
m_ConnectionPoint.Advise(iLMXProxyServerEvents_SinkHelper, out pdwCookie);
|
||||
iLMXProxyServerEvents_SinkHelper.m_dwCookie = pdwCookie;
|
||||
iLMXProxyServerEvents_SinkHelper.m_OnWriteCompleteDelegate = P_0;
|
||||
m_aEventSinkHelpers.Add(iLMXProxyServerEvents_SinkHelper);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void remove_OnWriteComplete(_ILMXProxyServerEvents_OnWriteCompleteEventHandler P_0)
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_aEventSinkHelpers == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int count = m_aEventSinkHelpers.Count;
|
||||
int num = 0;
|
||||
if (0 >= count)
|
||||
{
|
||||
return;
|
||||
}
|
||||
do
|
||||
{
|
||||
_ILMXProxyServerEvents_SinkHelper iLMXProxyServerEvents_SinkHelper = (_ILMXProxyServerEvents_SinkHelper)m_aEventSinkHelpers[num];
|
||||
if (iLMXProxyServerEvents_SinkHelper.m_OnWriteCompleteDelegate != null && ((iLMXProxyServerEvents_SinkHelper.m_OnWriteCompleteDelegate.Equals(P_0) ? 1u : 0u) & 0xFFu) != 0)
|
||||
{
|
||||
m_aEventSinkHelpers.RemoveAt(num);
|
||||
m_ConnectionPoint.Unadvise(iLMXProxyServerEvents_SinkHelper.m_dwCookie);
|
||||
if (count <= 1)
|
||||
{
|
||||
Marshal.ReleaseComObject(m_ConnectionPoint);
|
||||
m_ConnectionPoint = null;
|
||||
m_aEventSinkHelpers = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
while (num < count);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void add_OperationComplete(_ILMXProxyServerEvents_OperationCompleteEventHandler P_0)
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_ConnectionPoint == null)
|
||||
{
|
||||
Init();
|
||||
}
|
||||
_ILMXProxyServerEvents_SinkHelper iLMXProxyServerEvents_SinkHelper = new _ILMXProxyServerEvents_SinkHelper();
|
||||
int pdwCookie = 0;
|
||||
m_ConnectionPoint.Advise(iLMXProxyServerEvents_SinkHelper, out pdwCookie);
|
||||
iLMXProxyServerEvents_SinkHelper.m_dwCookie = pdwCookie;
|
||||
iLMXProxyServerEvents_SinkHelper.m_OperationCompleteDelegate = P_0;
|
||||
m_aEventSinkHelpers.Add(iLMXProxyServerEvents_SinkHelper);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void remove_OperationComplete(_ILMXProxyServerEvents_OperationCompleteEventHandler P_0)
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_aEventSinkHelpers == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int count = m_aEventSinkHelpers.Count;
|
||||
int num = 0;
|
||||
if (0 >= count)
|
||||
{
|
||||
return;
|
||||
}
|
||||
do
|
||||
{
|
||||
_ILMXProxyServerEvents_SinkHelper iLMXProxyServerEvents_SinkHelper = (_ILMXProxyServerEvents_SinkHelper)m_aEventSinkHelpers[num];
|
||||
if (iLMXProxyServerEvents_SinkHelper.m_OperationCompleteDelegate != null && ((iLMXProxyServerEvents_SinkHelper.m_OperationCompleteDelegate.Equals(P_0) ? 1u : 0u) & 0xFFu) != 0)
|
||||
{
|
||||
m_aEventSinkHelpers.RemoveAt(num);
|
||||
m_ConnectionPoint.Unadvise(iLMXProxyServerEvents_SinkHelper.m_dwCookie);
|
||||
if (count <= 1)
|
||||
{
|
||||
Marshal.ReleaseComObject(m_ConnectionPoint);
|
||||
m_ConnectionPoint = null;
|
||||
m_aEventSinkHelpers = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
while (num < count);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public _ILMXProxyServerEvents_EventProvider(object P_0)
|
||||
{
|
||||
//Error decoding local variables: Signature type sequence must have at least one element.
|
||||
m_wkConnectionPointContainer = new WeakReference((IConnectionPointContainer)P_0, trackResurrection: false);
|
||||
}
|
||||
|
||||
public void Finalize()
|
||||
{
|
||||
bool lockTaken = default(bool);
|
||||
try
|
||||
{
|
||||
Monitor.Enter(this, ref lockTaken);
|
||||
if (m_ConnectionPoint == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int count = m_aEventSinkHelpers.Count;
|
||||
int num = 0;
|
||||
if (0 < count)
|
||||
{
|
||||
do
|
||||
{
|
||||
_ILMXProxyServerEvents_SinkHelper iLMXProxyServerEvents_SinkHelper = (_ILMXProxyServerEvents_SinkHelper)m_aEventSinkHelpers[num];
|
||||
m_ConnectionPoint.Unadvise(iLMXProxyServerEvents_SinkHelper.m_dwCookie);
|
||||
num++;
|
||||
}
|
||||
while (num < count);
|
||||
}
|
||||
Marshal.ReleaseComObject(m_ConnectionPoint);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (lockTaken)
|
||||
{
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
//Error decoding local variables: Signature type sequence must have at least one element.
|
||||
Finalize();
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComVisible(false)]
|
||||
[TypeLibType(TypeLibTypeFlags.FHidden)]
|
||||
public delegate void _ILMXProxyServerEvents_OnDataChangeEventHandler([In] int hLMXServerHandle, [In] int phItemHandle, [In][MarshalAs(UnmanagedType.Struct)] object pvItemValue, [In] int pwItemQuality, [In][MarshalAs(UnmanagedType.Struct)] object pftItemTimeStamp, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref MXSTATUS_PROXY[] pVars);
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Interop.LmxProxy;
|
||||
|
||||
[ComVisible(false)]
|
||||
[TypeLibType(TypeLibTypeFlags.FHidden)]
|
||||
public delegate void _ILMXProxyServerEvents_OnWriteCompleteEventHandler([In] int hLMXServerHandle, [In] int phItemHandle, [In][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] ref MXSTATUS_PROXY[] pVars);
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user