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

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

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

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

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Joseph Doherty
2026-05-05 06:21:00 -04:00
parent 43733699b0
commit fe2a6db786
3849 changed files with 352975 additions and 0 deletions
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Interop.NmxSvc</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,55 @@
namespace Interop.NmxSvc;
public enum ActionTypes
{
OPENCONNECTION = 0,
FMCACCEPTEDCONN = 1,
SECURE_OPEN_CONNECTION = 256,
NewConnectionReq = 257,
CheckpointData = 258,
FMTYPE_PLATFORM_INFO_REQ = 4096,
FMTYPE_PLATFORM_INFO_RESP = 4097,
FMTYPE_SUBSCRIBE_HEARTBEAT_REQ = 4098,
FMTYPE_SUBSCRIBE_HEARTBEAT_RESP = 4099,
FMTYPE_PLATFORM_HEARTBEAT = 4112,
FMTYPE_GET_PARTNER_ENGINE_INFO_REQ = 4352,
FMTYPE_GET_PARTNER_ENGINE_INFO_RESP = 4353,
FMTYPE_SET_HEARTBEAT_REQ = 4354,
FMTYPE_SET_HEARTBEAT_RESP = 4355,
FMTYPE_SET_PARTNER_HEARTBEAT_REQ = 4356,
FMTYPE_SET_PARTNER_HEARTBEAT_RESP = 4357,
FMTYPE_SET_PARTNER_INDIRECT_DETECT_TIMEOUT_REQ = 4358,
FMTYPE_SET_PARTNER_INDIRECT_DETECT_TIMEOUT_RESP = 4359,
FMTYPE_SUBSCRIBE_STATUS_RESQ = 4360,
FMTYPE_SUBSCRIBE_STATUS_RESP = 4361,
FMTYPE_UNSUBSCRIBE_STATUS_RESQ = 4362,
FMTYPE_UNSUBSCRIBE_STATUS_RESP = 4363,
FMTYPE_REFRESH_STATUS_RESQ = 4364,
FMTYPE_REFRESH_STATUS_RESP = 4365,
FMTYPE_REDUNDANCY_STATUS_REQ = 4366,
FMTYPE_REDUNDANCY_STATUS_RESP = 4367,
FMTYPE_PLATFORM_STATUS_REQ = 4368,
FMTYPE_PLATFORM_STATUS_RESP = 4369,
FMTYPE_REDUNDANCY_ENGINE_INFO_REQ = 4370,
FMTYPE_REDUNDANCY_ENGINE_INFO_RESP = 4371,
FMTYPE_ENGINE_FAILOVER_OPERATION_REQ = 4372,
FMTYPE_ENGINE_FAILOVER_OPERATION_RESP = 4373,
FMTYPE_ENGINE_SWITCHING_TO_ACTIVE_NOTIFICATION_REQ = 4374,
FMTYPE_ENGINE_FAILOVER_DATA = 4416,
FMTYPE_ENGINE_FAILOVER_DATA_ACK = 4417,
FMTYPE_ENGINE_SUBSCRIBER_LIST = 4418,
FMTYPE_ENGINE_SUBSCRIBER_LIST_ACK = 4419,
FMTYPE_ENGINE_FAILOVER_STATUS = 4480,
FMTYPE_ENGINE_FAILOVER_STATUS_ACK = 4481,
FMTYPE_ENGINE_PROCESS_STATUS = 4482,
FMTYPE_ENGINE_PROCESS_STATUS_ACK = 4483,
FMTYPE_PLATFORM_STATUS = 4484,
NMXMTYPE_ENGINE_DATA = 4608,
NMXMTYPE_SET_HEARTBEAT_RATE = 4609,
NMXMTYPE_PLATFORM_HEARTBEAT = 4610,
NMXMTYPE_GET_HEARTBEAT_RATE = 4611,
NMXMTYPE_HEARTBEAT_DISCONNECT_REQ = 4612,
NMXMTYPE_CONNECT_INFO = 4613,
NMXMTYPE_CONNECT_INFO_REQ = 4614,
NMXMTYPE_VERSION_ERROR = 4615
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("1E8D6971-00DB-461D-A8F9-42733B889966")]
public interface AsyncIBootstrapStatusCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Begin_NotifyPlatformStatus([In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName, [In] tagPlatformStatus lPlatformStatus, [In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Finish_NotifyPlatformStatus();
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("4AB54264-3B7A-49C1-8765-B6F905EAD0C3")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface AsyncIPlatformStatusCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Begin_NotifyPlatformStatus([In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName, [In] tagPlatformStatus lPlatformStatus, [In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Finish_NotifyPlatformStatus();
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("B82F0BEA-08FC-47A1-9873-402BAF7600E3")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface AsyncIProcessStatusCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Begin_NotifyProcessStatus([In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrProcessIdentity, [In] int lPrivateData, [In] tagPlatformProcessStatus lProcessStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Finish_NotifyProcessStatus();
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("F14886F9-7426-4A85-93F2-734D8950EB20")]
[CoClass(typeof(BootstrapObjectClass))]
public interface BootstrapObject : IBootstrapController4
{
}
@@ -0,0 +1,390 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[ClassInterface(ClassInterfaceType.None)]
[ComConversionLoss]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[Guid("22595C0C-28B9-11D3-87E0-00A0C982C01C")]
public class BootstrapObjectClass : IBootstrapController4, BootstrapObject, IBootstrapRegister, IBootstrapRegister2, IBootstrapRegister3, IBootstrapRegister4, IBootstrapRegister5, IBootstrapRegister6, IBootstrapProcessController, IVersionInformation2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void StartPlatform([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ShutDownPlatform([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformStatus([In] int platformId, out tagPlatformStatus pPlatformStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetLocalPlatformEngineStatus([In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void InformOtherPlatformStatus([In] int platformId, [In] tagPlatformStatus platformStatus, [In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformStartupState([In] int platformId, [In] tagPlatformStartupSetting flag);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SubscribePlatformStatusService([In][MarshalAs(UnmanagedType.Interface)] IPlatformStatusCallback pIPlatformStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SubscribeProcessStatusService([In][MarshalAs(UnmanagedType.Interface)] IProcessStatusCallback pIProcessStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SubscribeBootstrapStatusService([In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnSubscribePlatformStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnSubscribeProcessStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnSubscribeBootstrapStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ShutDownPlatformSynchronous([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformMappingTableTimeStamp(out _FILETIME pmtTimeStamp);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SubscribeBootstrapStatusService2([In] Guid bootstrapInstance, [In] int platformId, [In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SwitchoverPlatform([In] int lDestinationPlatform, [In] int lStagedEngineId, [In] bool bRestartHostedEngines);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetRestartHostedEnginesStatus([In] int lLocalPlatformId, out bool bRestartHostedEngines);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister2_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister3_RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrGalaxyName, [In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister4_MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrGalaxyName, [In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrGalaxyName, [In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister5_RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterNodeWithASBSolution([In][MarshalAs(UnmanagedType.LPWStr)] string NodeToPairWith);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrGalaxyName, [In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IBootstrapRegister6_RegisterNodeWithASBSolution([In][MarshalAs(UnmanagedType.LPWStr)] string NodeToPairWith);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterPlatform6([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo, [In][MarshalAs(UnmanagedType.BStr)] string bstrOtherNodeCERTIssuer, [MarshalAs(UnmanagedType.BStr)] out string bstrGRcertIssuer, [MarshalAs(UnmanagedType.BStr)] out string bstrRTcertIssuer);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void StartPlatformProcess([In] int lPrivateData, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szExecutable, [In][MarshalAs(UnmanagedType.LPWStr)] string szCmdLnArgs, [In][MarshalAs(UnmanagedType.LPWStr)] string szProcessCtrlArgs, [MarshalAs(UnmanagedType.BStr)] out string pszProcessId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ShutdownPlatformProcess([In][MarshalAs(UnmanagedType.LPWStr)] string szProcessId, [In] int lmsShutdownTimeout);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformProcessStatus([In][MarshalAs(UnmanagedType.LPWStr)] string szProcessId, out tagPlatformProcessStatus pProcessRunState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ShutdownAllPlatformProcesses();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformProcessList(out int plTotalProcesses, [Out] IntPtr ppPlatformProcessList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetCmdStartOptions([In] int lProcessID, [In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetCmdStartOptions([In] int lProcessID, [MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string GetProductInternalName();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string GetComponentInternalName();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetMasterBuildNumber();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetMasterBuildComponentVersion();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetMaintenanceBuildNumber();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetMaintenanceBuildComponentVersion();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetBuildNumsAndComponentVers(out int masterBuildNumber, out int masterBuildComponentVersion, out int maintenanceBuildNumber, out int maintenanceBuildComponentVersion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetFileVersionNumbers([In] int platformId, [In] MxFileLocationEnum fileLocation, [In][MarshalAs(UnmanagedType.LPWStr)] string fileName, out int masterBuildNumber, out int masterBuildComponentVersion, out int maintenanceBuildNumber, out int maintenanceBuildComponentVersion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetAllFileVersionNumbers([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string fileName, out int lVersionCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMasterBuildNumber, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMasterBuildComponentVersion, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMaintenanceBuildNumber, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMaintenanceBuildComponentVersion);
}
@@ -0,0 +1,8 @@
namespace Interop.NmxSvc;
public enum CONNECTING_STATUS
{
CONNECTION_FAILED,
CONNECTION_ACCEPTED,
CONNECTION_ESTABLISHED
}
@@ -0,0 +1,10 @@
namespace Interop.NmxSvc;
public enum DataQuality
{
DataQualityUnknown = -1,
DataQualityGood,
DataQualityUncertain,
DataQualityInitializing,
DataQualityBad
}
@@ -0,0 +1,7 @@
namespace Interop.NmxSvc;
public enum EQUEUETYPE
{
eExpressQueue,
eGuarantyQueue
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("4422DBBC-3714-487C-81A4-CBA3B3E981A6")]
[CoClass(typeof(FMCCallbackClass))]
public interface FMCCallback : IFMCCallback
{
}
@@ -0,0 +1,29 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("794D8256-18EB-4067-A855-5E54B4AAA182")]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[ClassInterface(ClassInterfaceType.None)]
public class FMCCallbackClass : IFMCCallback, FMCCallback, IMCHeartbeatCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DataReceived([In] int lPlatformID, [In][ComAliasName("Interop.NmxSvc.ActionTypes")] ActionTypes usType, [In] int lCookie, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RequestConnectionRecv([In] int lCookie, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ConnectionEstablished([In] int lPlatformID, [In] int lCookie, [In] int lErrCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DataSent([In] int lPlatformID, [In] int lMessageID, [In] int lCookie, [In] int lErrCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ConnectionClosed([In] int lPlatformID, [In] int lCookie, [In] int lErrCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void PartialMsgReceived([In] int platformId, [In] int lCookie);
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("4422DBBC-3714-487C-81A4-CBA3B3E981A5")]
[CoClass(typeof(FMCObjClass))]
public interface FMCObj : IFMC
{
}
@@ -0,0 +1,35 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("851252A1-C628-4897-A52B-206B50842AD8")]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[ClassInterface(ClassInterfaceType.None)]
public class FMCObjClass : IFMC, FMCObj, IUdpMessage
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Initialize([In] int lPlatformID, [In] int lCookie, [In][MarshalAs(UnmanagedType.BStr)] string bstrAddress, [In] int lPort, [In][MarshalAs(UnmanagedType.Interface)] FMCCallback pCallback, [In][MarshalAs(UnmanagedType.BStr)] string bstrMulticastGroup, [In] int lMultiCastPort = 5001);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RequestConnection([In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Connect([In][MarshalAs(UnmanagedType.BStr)] string bstrPartnerIP, [In] int lPartnerPort, [In] int lPlatformID, [In] int timeToWaitForConnection = 500);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SendData([In] int lPlatformID, [In] int lMessageID, [In][ComAliasName("Interop.NmxSvc.ActionTypes")] ActionTypes usType, [In] int lSize, [In] ref byte pMsgBody, [In] int dwTimeOut = 0);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnInitialize();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DisConnect([In] int lPlatformID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ConnectEx([In][MarshalAs(UnmanagedType.BStr)] string bstrPartnerIP, [In] int lPartnerPort, [In] int timeToWaitForConnection);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SendUdpData([In] int lPlatformID, [In] int lMessageID, [In][ComAliasName("Interop.NmxSvc.ActionTypes")] ActionTypes usType, [In] int lSize, [In] ref byte pMsgBody);
}
@@ -0,0 +1,52 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("22595C0B-28B9-11D3-87E0-00A0C982C01C")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IBootstrapController
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void StartPlatform([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ShutDownPlatform([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformStatus([In] int platformId, out tagPlatformStatus pPlatformStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetLocalPlatformEngineStatus([In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void InformOtherPlatformStatus([In] int platformId, [In] tagPlatformStatus platformStatus, [In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformStartupState([In] int platformId, [In] tagPlatformStartupSetting flag);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SubscribePlatformStatusService([In][MarshalAs(UnmanagedType.Interface)] IPlatformStatusCallback pIPlatformStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SubscribeProcessStatusService([In][MarshalAs(UnmanagedType.Interface)] IProcessStatusCallback pIProcessStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SubscribeBootstrapStatusService([In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnSubscribePlatformStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnSubscribeProcessStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnSubscribeBootstrapStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ShutDownPlatformSynchronous([In] int platformId);
}
@@ -0,0 +1,55 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("1943AAB6-2AC9-45D5-AD5F-1AF80AECBCAE")]
public interface IBootstrapController2 : IBootstrapController
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void StartPlatform([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ShutDownPlatform([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformStatus([In] int platformId, out tagPlatformStatus pPlatformStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetLocalPlatformEngineStatus([In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void InformOtherPlatformStatus([In] int platformId, [In] tagPlatformStatus platformStatus, [In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStartupState([In] int platformId, [In] tagPlatformStartupSetting flag);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribePlatformStatusService([In][MarshalAs(UnmanagedType.Interface)] IPlatformStatusCallback pIPlatformStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeProcessStatusService([In][MarshalAs(UnmanagedType.Interface)] IProcessStatusCallback pIProcessStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeBootstrapStatusService([In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribePlatformStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribeProcessStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribeBootstrapStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ShutDownPlatformSynchronous([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformMappingTableTimeStamp(out _FILETIME pmtTimeStamp);
}
@@ -0,0 +1,59 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("1943AAB6-2AC9-45D5-AD5F-1AF80AECBCAD")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IBootstrapController3 : IBootstrapController2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void StartPlatform([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ShutDownPlatform([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformStatus([In] int platformId, out tagPlatformStatus pPlatformStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetLocalPlatformEngineStatus([In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void InformOtherPlatformStatus([In] int platformId, [In] tagPlatformStatus platformStatus, [In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStartupState([In] int platformId, [In] tagPlatformStartupSetting flag);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribePlatformStatusService([In][MarshalAs(UnmanagedType.Interface)] IPlatformStatusCallback pIPlatformStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeProcessStatusService([In][MarshalAs(UnmanagedType.Interface)] IProcessStatusCallback pIProcessStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeBootstrapStatusService([In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribePlatformStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribeProcessStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribeBootstrapStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ShutDownPlatformSynchronous([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformMappingTableTimeStamp(out _FILETIME pmtTimeStamp);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SubscribeBootstrapStatusService2([In] Guid bootstrapInstance, [In] int platformId, [In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
}
@@ -0,0 +1,65 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F14886F9-7426-4A85-93F2-734D8950EB20")]
public interface IBootstrapController4 : IBootstrapController3
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void StartPlatform([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ShutDownPlatform([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformStatus([In] int platformId, out tagPlatformStatus pPlatformStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetLocalPlatformEngineStatus([In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void InformOtherPlatformStatus([In] int platformId, [In] tagPlatformStatus platformStatus, [In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStartupState([In] int platformId, [In] tagPlatformStartupSetting flag);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribePlatformStatusService([In][MarshalAs(UnmanagedType.Interface)] IPlatformStatusCallback pIPlatformStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeProcessStatusService([In][MarshalAs(UnmanagedType.Interface)] IProcessStatusCallback pIProcessStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeBootstrapStatusService([In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribePlatformStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribeProcessStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribeBootstrapStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ShutDownPlatformSynchronous([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformMappingTableTimeStamp(out _FILETIME pmtTimeStamp);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeBootstrapStatusService2([In] Guid bootstrapInstance, [In] int platformId, [In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SwitchoverPlatform([In] int lDestinationPlatform, [In] int lStagedEngineId, [In] bool bRestartHostedEngines);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetRestartHostedEnginesStatus([In] int lLocalPlatformId, out bool bRestartHostedEngines);
}
@@ -0,0 +1,71 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("63512694-27F3-4210-AD3B-2A68EAA6DF4E")]
public interface IBootstrapController5 : IBootstrapController4
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void StartPlatform([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ShutDownPlatform([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformStatus([In] int platformId, out tagPlatformStatus pPlatformStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetLocalPlatformEngineStatus([In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void InformOtherPlatformStatus([In] int platformId, [In] tagPlatformStatus platformStatus, [In] int lPlatformEngineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStartupState([In] int platformId, [In] tagPlatformStartupSetting flag);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribePlatformStatusService([In][MarshalAs(UnmanagedType.Interface)] IPlatformStatusCallback pIPlatformStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeProcessStatusService([In][MarshalAs(UnmanagedType.Interface)] IProcessStatusCallback pIProcessStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeBootstrapStatusService([In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribePlatformStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribeProcessStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnSubscribeBootstrapStatusService([In] int lToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ShutDownPlatformSynchronous([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformMappingTableTimeStamp(out _FILETIME pmtTimeStamp);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SubscribeBootstrapStatusService2([In] Guid bootstrapInstance, [In] int platformId, [In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SwitchoverPlatform([In] int lDestinationPlatform, [In] int lStagedEngineId, [In] bool bRestartHostedEngines);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRestartHostedEnginesStatus([In] int lLocalPlatformId, out bool bRestartHostedEngines);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RemoveLocalPlatform();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetSecurityForStoreFwdDirectory();
}
@@ -0,0 +1,33 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComConversionLoss]
[Guid("22595C0F-28B9-11D3-87E0-00A0C982C01C")]
public interface IBootstrapProcessController
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void StartPlatformProcess([In] int lPrivateData, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szExecutable, [In][MarshalAs(UnmanagedType.LPWStr)] string szCmdLnArgs, [In][MarshalAs(UnmanagedType.LPWStr)] string szProcessCtrlArgs, [MarshalAs(UnmanagedType.BStr)] out string pszProcessId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ShutdownPlatformProcess([In][MarshalAs(UnmanagedType.LPWStr)] string szProcessId, [In] int lmsShutdownTimeout);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformProcessStatus([In][MarshalAs(UnmanagedType.LPWStr)] string szProcessId, out tagPlatformProcessStatus pProcessRunState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ShutdownAllPlatformProcesses();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformProcessList(out int plTotalProcesses, [Out] IntPtr ppPlatformProcessList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetCmdStartOptions([In] int lProcessID, [In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetCmdStartOptions([In] int lProcessID, [MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
}
@@ -0,0 +1,48 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("22595C0D-28B9-11D3-87E0-00A0C982C01C")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComConversionLoss]
public interface IBootstrapRegister
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
}
@@ -0,0 +1,50 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("E42D2692-4B57-4E97-B99C-2829D60A4D2E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IBootstrapRegister2 : IBootstrapRegister
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
}
@@ -0,0 +1,56 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("E42D2692-4B57-4E97-B99C-2829D60A4D2F")]
public interface IBootstrapRegister3 : IBootstrapRegister2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrGalaxyName, [In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
}
@@ -0,0 +1,59 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("219BB2BB-B4B6-4486-A2C8-93F11BA16583")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IBootstrapRegister4 : IBootstrapRegister3
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrGalaxyName, [In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
}
@@ -0,0 +1,62 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0A7B1AF2-CFFC-491D-ADDD-8C496E9207F2")]
public interface IBootstrapRegister5 : IBootstrapRegister4
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrGalaxyName, [In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterNodeWithASBSolution([In][MarshalAs(UnmanagedType.LPWStr)] string NodeToPairWith);
}
@@ -0,0 +1,65 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("597D6C1E-05F2-4B5E-95E8-A088F1002249")]
public interface IBootstrapRegister6 : IBootstrapRegister5
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformID, [In] tagClusterRegistrationInformation clusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrGalaxyName, [In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterNodeWithASBSolution([In][MarshalAs(UnmanagedType.LPWStr)] string NodeToPairWith);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterPlatform6([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo, [In][MarshalAs(UnmanagedType.BStr)] string bstrOtherNodeCERTIssuer, [MarshalAs(UnmanagedType.BStr)] out string bstrGRcertIssuer, [MarshalAs(UnmanagedType.BStr)] out string bstrRTcertIssuer);
}
@@ -0,0 +1,19 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("04C4A1E4-4541-11D3-87EC-00A0C982C01C")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IBootstrapRegistryAccess
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetRootKey([MarshalAs(UnmanagedType.BStr)] out string pbstrRootpath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetObjectRuntimeFilepath([In][MarshalAs(UnmanagedType.LPWStr)] string szObjectName, [In][MarshalAs(UnmanagedType.LPWStr)] string szIndex, [MarshalAs(UnmanagedType.BStr)] out string pbstrPathname);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetObjectRuntimeFilepath([In][MarshalAs(UnmanagedType.LPWStr)] string szObjectName, [In][MarshalAs(UnmanagedType.LPWStr)] string szIndex, [In][MarshalAs(UnmanagedType.LPWStr)] string szPathname);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("71CC01D9-5C20-41D8-B297-4E0C7DE04D31")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IBootstrapStatusCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void NotifyPlatformStatus([In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName, [In] tagPlatformStatus lPlatformStatus, [In] int lPlatformEngineStatus);
}
@@ -0,0 +1,31 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("4422DBBC-3714-487C-81A4-CBA3B3E981A5")]
public interface IFMC
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Initialize([In] int lPlatformID, [In] int lCookie, [In][MarshalAs(UnmanagedType.BStr)] string bstrAddress, [In] int lPort, [In][MarshalAs(UnmanagedType.Interface)] FMCCallback pCallback, [In][MarshalAs(UnmanagedType.BStr)] string bstrMulticastGroup, [In] int lMultiCastPort = 5001);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RequestConnection([In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Connect([In][MarshalAs(UnmanagedType.BStr)] string bstrPartnerIP, [In] int lPartnerPort, [In] int lPlatformID, [In] int timeToWaitForConnection = 500);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SendData([In] int lPlatformID, [In] int lMessageID, [In][ComAliasName("Interop.NmxSvc.ActionTypes")] ActionTypes usType, [In] int lSize, [In] ref byte pMsgBody, [In] int dwTimeOut = 0);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnInitialize();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DisConnect([In] int lPlatformID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ConnectEx([In][MarshalAs(UnmanagedType.BStr)] string bstrPartnerIP, [In] int lPartnerPort, [In] int timeToWaitForConnection);
}
@@ -0,0 +1,25 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("4422DBBC-3714-487C-81A4-CBA3B3E981A6")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IFMCCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DataReceived([In] int lPlatformID, [In][ComAliasName("Interop.NmxSvc.ActionTypes")] ActionTypes usType, [In] int lCookie, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RequestConnectionRecv([In] int lCookie, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ConnectionEstablished([In] int lPlatformID, [In] int lCookie, [In] int lErrCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DataSent([In] int lPlatformID, [In] int lMessageID, [In] int lCookie, [In] int lErrCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ConnectionClosed([In] int lPlatformID, [In] int lCookie, [In] int lErrCode);
}
@@ -0,0 +1,28 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("C76EFD3E-772D-4C16-BEF5-0C0ECAB2A509")]
public interface IFMCCallbackEx : IFMCCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DataReceived([In] int lPlatformID, [In][ComAliasName("Interop.NmxSvc.ActionTypes")] ActionTypes usType, [In] int lCookie, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RequestConnectionRecv([In] int lCookie, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ConnectionEstablished([In] int lPlatformID, [In] int lCookie, [In] int lErrCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DataSent([In] int lPlatformID, [In] int lMessageID, [In] int lCookie, [In] int lErrCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ConnectionClosed([In] int lPlatformID, [In] int lCookie, [In] int lErrCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ConnectionEstablishedEx([MarshalAs(UnmanagedType.BStr)] string address, int port, int platformId, int lCookie, int lErrCode);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("06D2B229-AF4F-11D3-939D-00C04F6BBD91")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IInfoNotify
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Fire_OnInfoNotify([In] int flag);
}
@@ -0,0 +1,11 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[TypeLibType(TypeLibTypeFlags.FHidden)]
[ComEventInterface(typeof(IInfoNotify), typeof(IInfoNotify_EventProvider))]
[ComVisible(false)]
public interface IInfoNotify_Event
{
event IInfoNotify_Fire_OnInfoNotifyEventHandler Fire_OnInfoNotify;
}
@@ -0,0 +1,148 @@
using System;
using System.Collections;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Threading;
namespace Interop.NmxSvc;
internal sealed class IInfoNotify_EventProvider : IInfoNotify_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]
{
41, 178, 210, 6, 79, 175, 211, 17, 147, 157,
0, 192, 79, 107, 189, 145
});
((IConnectionPointContainer)m_wkConnectionPointContainer.Target).FindConnectionPoint(ref riid, out ppCP);
m_ConnectionPoint = ppCP;
m_aEventSinkHelpers = new ArrayList();
}
public void add_Fire_OnInfoNotify(IInfoNotify_Fire_OnInfoNotifyEventHandler P_0)
{
bool lockTaken = default(bool);
try
{
Monitor.Enter(this, ref lockTaken);
if (m_ConnectionPoint == null)
{
Init();
}
IInfoNotify_SinkHelper infoNotify_SinkHelper = new IInfoNotify_SinkHelper();
int pdwCookie = 0;
m_ConnectionPoint.Advise(infoNotify_SinkHelper, out pdwCookie);
infoNotify_SinkHelper.m_dwCookie = pdwCookie;
infoNotify_SinkHelper.m_Fire_OnInfoNotifyDelegate = P_0;
m_aEventSinkHelpers.Add(infoNotify_SinkHelper);
}
finally
{
if (lockTaken)
{
Monitor.Exit(this);
}
}
}
public void remove_Fire_OnInfoNotify(IInfoNotify_Fire_OnInfoNotifyEventHandler 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
{
IInfoNotify_SinkHelper infoNotify_SinkHelper = (IInfoNotify_SinkHelper)m_aEventSinkHelpers[num];
if (infoNotify_SinkHelper.m_Fire_OnInfoNotifyDelegate != null && ((infoNotify_SinkHelper.m_Fire_OnInfoNotifyDelegate.Equals(P_0) ? 1u : 0u) & 0xFFu) != 0)
{
m_aEventSinkHelpers.RemoveAt(num);
m_ConnectionPoint.Unadvise(infoNotify_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 IInfoNotify_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
{
IInfoNotify_SinkHelper infoNotify_SinkHelper = (IInfoNotify_SinkHelper)m_aEventSinkHelpers[num];
m_ConnectionPoint.Unadvise(infoNotify_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);
}
}
@@ -0,0 +1,7 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[TypeLibType(TypeLibTypeFlags.FHidden)]
[ComVisible(false)]
public delegate void IInfoNotify_Fire_OnInfoNotifyEventHandler([In] int flag);
@@ -0,0 +1,28 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[TypeLibType(TypeLibTypeFlags.FHidden)]
[ClassInterface(ClassInterfaceType.None)]
public sealed class IInfoNotify_SinkHelper : IInfoNotify
{
public IInfoNotify_Fire_OnInfoNotifyEventHandler m_Fire_OnInfoNotifyDelegate;
public int m_dwCookie;
public void Fire_OnInfoNotify(int P_0)
{
//Error decoding local variables: Signature type sequence must have at least one element.
if (m_Fire_OnInfoNotifyDelegate != null)
{
m_Fire_OnInfoNotifyDelegate(P_0);
}
}
internal IInfoNotify_SinkHelper()
{
//Error decoding local variables: Signature type sequence must have at least one element.
m_dwCookie = 0;
m_Fire_OnInfoNotifyDelegate = null;
}
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0160D478-1FBF-43C8-BD84-8BD40F528DF8")]
public interface IMCHeartbeatCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PartialMsgReceived([In] int platformId, [In] int lCookie);
}
@@ -0,0 +1,92 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[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)]
IMxReference GenerateEnumStringsReference([In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue);
}
@@ -0,0 +1,159 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComConversionLoss]
[Guid("D4905673-9679-4FD3-949C-DC26E10482B0")]
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)] IMxReference newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxStatus([In] ref MxStatus newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxDataType([In] MxDataType newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxSecurityClassification([In] MxSecurityClassification newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMxDataQuality([In] ref short newVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutCustomStruct([In] int guid, [In] int structSize, [In] ref byte pStruct);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutCustomEnum([In][MarshalAs(UnmanagedType.LPWStr)] string value, [In] short ordinal, [In] short primitiveId, [In] short attributeId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
MxDataType GetDataType();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool GetBoolean();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetInteger();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
float GetFloat();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
double GetDouble();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string GetString();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetTime(out VBFILETIME pVal);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
VB_LARGE_INTEGER GetElapsedTime();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.Interface)]
IMxReference GetMxReference();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
MxStatus GetMxStatus();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
MxDataType GetMxDataType();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
MxSecurityClassification GetMxSecurityClassification();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
short GetMxDataQuality();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetCustomStruct(out int pGuid, out int pStructSize, [Out] IntPtr pStruct);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetCustomEnum([MarshalAs(UnmanagedType.BStr)] out string pValue, out short pOrdinal, out short pPrimitiveId, out short pAttributeId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetDimensionCount(out short nDimensions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutElement([In] int index, [In][MarshalAs(UnmanagedType.Interface)] 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.NmxSvc;
[ComImport]
[Guid("1B6AEB81-CB43-11D2-BFFF-00104B5F96A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMxValueFactory
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateInstance([MarshalAs(UnmanagedType.Interface)] out 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,54 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComConversionLoss]
[Guid("42DB0512-28BE-11D3-80C0-00104B5F96A7")]
public interface INmx
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Initialize([In] int dwPlatformId, [In] int dwEngineId, [In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void InitializeAnonymous(out int pPlatformId, out int pEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateGuaranteedQueue([In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DeleteGuaranteedQueue([In] int dwEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetQueueExtent([In] int dwNewExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetQueueExtent(out int dwQueueExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetQueueInfo(out int NumberMessagesQueued, out int QueueSizeInBytes);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutRequest([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutResponse([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetRequest(out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetResponse(out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutMessageNoReply([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetVersionInfo([MarshalAs(UnmanagedType.BStr)] out string nmxversion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetMessageTimeout([In] int TimeoutValue);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("61902C5F-194B-4FF6-81C8-AE5540625CAB")]
public interface INmx2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutRequestEx([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwSize, [In] ref byte pData);
}
@@ -0,0 +1,66 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComConversionLoss]
[Guid("9F9D26DA-69DE-4A27-822A-E0D5B1745039")]
public interface INmx3 : INmx
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Initialize([In] int dwPlatformId, [In] int dwEngineId, [In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void InitializeAnonymous(out int pPlatformId, out int pEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void CreateGuaranteedQueue([In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeleteGuaranteedQueue([In] int dwEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetQueueExtent([In] int dwNewExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetQueueExtent(out int dwQueueExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetQueueInfo(out int NumberMessagesQueued, out int QueueSizeInBytes);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PutRequest([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PutResponse([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRequest(out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetResponse(out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PutMessageNoReply([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetVersionInfo([MarshalAs(UnmanagedType.BStr)] out string nmxversion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetMessageTimeout([In] int TimeoutValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutRequest2([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] byte byType, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void PutResponse2([In] byte byType, [In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetRequest2([In] byte byType, out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetResponse2([In] byte byType, out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
}
@@ -0,0 +1,74 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("84168012-B544-4217-A145-32819C607435")]
public interface INmx4 : INmx3
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Initialize([In] int dwPlatformId, [In] int dwEngineId, [In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void InitializeAnonymous(out int pPlatformId, out int pEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void CreateGuaranteedQueue([In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeleteGuaranteedQueue([In] int dwEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetQueueExtent([In] int dwNewExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetQueueExtent(out int dwQueueExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetQueueInfo(out int NumberMessagesQueued, out int QueueSizeInBytes);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PutRequest([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PutResponse([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRequest(out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetResponse(out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PutMessageNoReply([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetVersionInfo([MarshalAs(UnmanagedType.BStr)] out string nmxversion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetMessageTimeout([In] int TimeoutValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PutRequest2([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] byte byType, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void PutResponse2([In] byte byType, [In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetRequest2([In] byte byType, out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetResponse2([In] byte byType, out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Initialize2([In] int dwPlatformId, [In] int dwEngineId, [In] int dwVersion, [In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void InitializeAnonymous2(out int pPlatformId, out int pEngineId, [In] int dwVersion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPartnerVersion([In] int lGalaxyID, [In] int lPlatformID, [In] int lEngineID, out int plVersion);
}
@@ -0,0 +1,22 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("0B447D53-D3CC-4471-B2DF-5E06AC355915")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INmxHeartbeat
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void AddSubscriberEngine([In] int dwSubscriberClusterId, [In] int dwSubscriberPlatformId, [In] int dwSubscriberEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RemoveSubscriberEngine([In] int dwSubscriberClusterId, [In] int dwSubscriberPlatformId, [In] int dwSubscriberEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetHeartbeatSendInterval([In] int lTicksPerBeat, [In] int lMaxMissedTicks);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ShutDown();
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("73849AEA-472A-4715-B8C6-1C806AF12DFC")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INmxNotify
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ConnectionEstablished([In] int lPlatformID, [In] int lReference, [In] tagNmxSvcConnectionStatus eConnStatus, [In] int lDetailCode);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ConnectionClosed([In] int lPlatformID, [In] int lReference);
}
@@ -0,0 +1,31 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("575008DB-845D-46C6-A906-F6F8CA86F315")]
public interface INmxService
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterEngine([In] int lEngineID, [In][MarshalAs(UnmanagedType.BStr)] string bstrEngineName, [In][MarshalAs(UnmanagedType.Interface)] INmxSvcCallback pNmxCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnRegisterEngine([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Connect([In] int lLocalEngineID, [In] int lRemoteGalaxyID, [In] int lRemotePlatformID, [In] int lRemoteEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void TransferData([In] int lRemoteGalaxyID, [In] int lRemotePlatformID, [In] int lRemoteEngineID, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void AddSubscriberEngine([In] int lLocalEngineID, [In] int lSubscriberGalaxyID, [In] int lSubscriberPlatformID, [In] int lSubscriberEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RemoveSubscriberEngine([In] int lLocalEngineID, [In] int lSubscriberGalaxyID, [In] int lSubscriberPlatformID, [In] int lSubscriberEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetHeartbeatSendInterval([In] int lTicksPerBeat, [In] int lMaxMissedTicks);
}
@@ -0,0 +1,37 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("2630A513-A974-4B1A-8025-457A9A7C56B8")]
public interface INmxService2 : INmxService
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterEngine([In] int lEngineID, [In][MarshalAs(UnmanagedType.BStr)] string bstrEngineName, [In][MarshalAs(UnmanagedType.Interface)] INmxSvcCallback pNmxCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnRegisterEngine([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void Connect([In] int lLocalEngineID, [In] int lRemoteGalaxyID, [In] int lRemotePlatformID, [In] int lRemoteEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void TransferData([In] int lRemoteGalaxyID, [In] int lRemotePlatformID, [In] int lRemoteEngineID, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void AddSubscriberEngine([In] int lLocalEngineID, [In] int lSubscriberGalaxyID, [In] int lSubscriberPlatformID, [In] int lSubscriberEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RemoveSubscriberEngine([In] int lLocalEngineID, [In] int lSubscriberGalaxyID, [In] int lSubscriberPlatformID, [In] int lSubscriberEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetHeartbeatSendInterval([In] int lTicksPerBeat, [In] int lMaxMissedTicks);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterEngine2([In] int lEngineID, [In][MarshalAs(UnmanagedType.BStr)] string bstrEngineName, [In] int lVersion, [In][MarshalAs(UnmanagedType.Interface)] INmxSvcCallback pCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPartnerVersion([In] int lGalaxyID, [In] int lPlatformID, [In] int lEngineID, out int plVersion);
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("4169B479-54BD-11D3-A9CC-00A0C9FB55A0")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INmxStatistics
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetNmxStatistics(out tagNmxStatsInfo pNmxStats);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void Reset();
}
@@ -0,0 +1,19 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("4CA783BC-F68E-42F4-9D76-8107C826F625")]
public interface INmxStatus
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void OPENCONNECTION([In] int lPlatformID, [In][MarshalAs(UnmanagedType.Interface)] INmxNotify pNotify, [In] int lReference, [In] int lProcessID, out int plCookie, out tagNmxSvcConnectionStatus peStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CloseConnection([In] int lCookie, out tagNmxSvcConnectionStatus peStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetConnectionStatus([In] int lPlatformID, out tagNmxSvcConnectionStatus peConnState);
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("B49F92F7-C748-4169-8ECA-A0670B012746")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INmxSvcCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DataReceived([In] int dwBufferSize, [In] ref sbyte lpDataBuffer);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void StatusReceived([In] int dwBufferSize, [In] ref sbyte lpStatusBuffer);
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("6EB90E4C-DF5C-47F0-B2CD-110549C1162A")]
public interface INmxSvcStatistics
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetNmxSvcStatistics(out tagNmxSvcStatsInfo pNmxSvcStats);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ResetSvcStatistics();
}
@@ -0,0 +1,14 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("0000010C-0000-0000-C000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
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.NmxSvc;
[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,73 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("4E448140-AE83-11D3-939D-00C04F6BBD91")]
public interface IPlatformInfoServer
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
tagNmxStatsInfo GetNmxStatistics();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ResetNmxStatistics();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool IsValidEngineId([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool IsAnyEngineOnScan();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetEngineDefinition([In] int lEngineID, [In] ref tagEngineDefinition pEngDef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
tagEngineDefinition GetEngineDefinition([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DeleteEngineDefinition([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetFirstEngine();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetNextEngine();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformScanState([In] bool bScanState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool GetPlatformScanState();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetEngineScanState([In] int lEngineID, [In] bool bScanState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool GetEngineScanState([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetStartupType([In] int lEngineID, [In] int StartupType);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetStartupType([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DeleteFile();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int RegisterEngineStatusNotification([In][MarshalAs(UnmanagedType.Interface)] IStatusNotify pStatusNotify);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnregisterEngineStatusNotification([In] int lCookie);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetEngineState([In] int lEngineID, [In] int EngineState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetEngineRestart([In] int lEngineID, [In] bool bRestart);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
bool GetEngineRestart([In] int lEngineID);
}
@@ -0,0 +1,82 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("2BF52D84-0902-489F-84F8-77BD49BB932E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPlatformInfoServer2 : IPlatformInfoServer
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new tagNmxStatsInfo GetNmxStatistics();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ResetNmxStatistics();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool IsValidEngineId([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool IsAnyEngineOnScan();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetEngineDefinition([In] int lEngineID, [In] ref tagEngineDefinition pEngDef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new tagEngineDefinition GetEngineDefinition([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeleteEngineDefinition([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int GetFirstEngine();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int GetNextEngine();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformScanState([In] bool bScanState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool GetPlatformScanState();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetEngineScanState([In] int lEngineID, [In] bool bScanState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool GetEngineScanState([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetStartupType([In] int lEngineID, [In] int StartupType);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int GetStartupType([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeleteFile();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int RegisterEngineStatusNotification([In][MarshalAs(UnmanagedType.Interface)] IStatusNotify pStatusNotify);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterEngineStatusNotification([In] int lCookie);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetEngineState([In] int lEngineID, [In] int EngineState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetEngineRestart([In] int lEngineID, [In] bool bRestart);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new bool GetEngineRestart([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetEngineDefinition2([In] int lEngineID, [In] ref tagEngineDefinition2 pEngDef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
tagEngineDefinition2 GetEngineDefinition2([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
tagRedundancyIdentity GetEngineRedundancyIdentity([In] int lEngineID);
}
@@ -0,0 +1,90 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[ComConversionLoss]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("148C8733-3930-11D3-87EA-00A0C982C01C")]
public interface IPlatformInformationClerk
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
}
@@ -0,0 +1,102 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[ComConversionLoss]
[Guid("361A8B77-C77A-4A70-B220-FB502D6F847E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPlatformInformationClerk2 : IPlatformInformationClerk
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformIdentity2([In] int platformId, [In] ref tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentity2([In] int platformId, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentityFromPlatformName2([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformList2(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
}
@@ -0,0 +1,114 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("361A8B77-C77A-4A70-B220-FB502D6F847F")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComConversionLoss]
public interface IPlatformInformationClerk3 : IPlatformInformationClerk2
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity2([In] int platformId, [In] ref tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity2([In] int platformId, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName2([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList2(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformIdentity3([In] int platformId, [In] ref tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentity3([In] int platformId, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentityFromPlatformName3([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformList3(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
}
@@ -0,0 +1,126 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComConversionLoss]
[Guid("5A405C49-2FB2-499A-99A8-0E09676DBD75")]
public interface IPlatformInformationClerk4 : IPlatformInformationClerk3
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity2([In] int platformId, [In] ref tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity2([In] int platformId, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName2([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList2(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity3([In] int platformId, [In] ref tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity3([In] int platformId, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName3([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList3(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SetPlatformIdentity4([In] int platformId, [In] ref tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentity4([In] int platformId, out tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformIdentityFromPlatformName4([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPlatformList4(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
}
@@ -0,0 +1,128 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("80A3606C-99F8-4CC8-AF3B-92B57782DBCC")]
public interface IPlatformInformationClerk5 : IPlatformInformationClerk4
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity2([In] int platformId, [In] ref tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity2([In] int platformId, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName2([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList2(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity3([In] int platformId, [In] ref tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity3([In] int platformId, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName3([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList3(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void SetPlatformIdentity4([In] int platformId, [In] ref tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentity4([In] int platformId, out tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformIdentityFromPlatformName4([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new void GetPlatformList4(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetPartnerPlatformSUPStatus([In] int platformId, [In] int partnerPlatformId, out int supStatus);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("BCE01301-0A39-41E2-90A3-0D9C7110A12A")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPlatformStatusCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void NotifyPlatformStatus([In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName, [In] tagPlatformStatus lPlatformStatus, [In] int lPlatformEngineStatus);
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("DDF780BD-99C9-40D3-B35C-57083D3ED996")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IProcessStatusCallback
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void NotifyProcessStatus([In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrProcessIdentity, [In] int lPrivateData, [In] tagPlatformProcessStatus lProcessStatus);
}
@@ -0,0 +1,16 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("0C733A30-2A1C-11CE-ADE5-00AA0044773D")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
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,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("ACA1A4A8-9F53-499D-962A-B8FC76D5A7D8")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IStatusNotify
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void NotifyStateChanged([In] ref tagEngineStatusInfo pEngineStatusInfo);
}
@@ -0,0 +1,43 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("0000000C-0000-0000-C000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
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,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("70FEF3FA-7E71-400E-B1BA-0C8ADE1E7ED8")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUdpMessage
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void SendUdpData([In] int lPlatformID, [In] int lMessageID, [In][ComAliasName("Interop.NmxSvc.ActionTypes")] ActionTypes usType, [In] int lSize, [In] ref byte pMsgBody);
}
@@ -0,0 +1,30 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("5C1F679B-2F14-4426-A1A0-B74B73BD8EF4")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVersionInformation
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string GetProductInternalName();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
string GetComponentInternalName();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetMasterBuildNumber();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetMasterBuildComponentVersion();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetMaintenanceBuildNumber();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
int GetMaintenanceBuildComponentVersion();
}
@@ -0,0 +1,39 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("B6EEB7BF-AE82-4373-A715-32ADF63E7076")]
public interface IVersionInformation2 : IVersionInformation
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string GetProductInternalName();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
new string GetComponentInternalName();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int GetMasterBuildNumber();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int GetMasterBuildComponentVersion();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int GetMaintenanceBuildNumber();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
new int GetMaintenanceBuildComponentVersion();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetBuildNumsAndComponentVers(out int masterBuildNumber, out int masterBuildComponentVersion, out int maintenanceBuildNumber, out int maintenanceBuildComponentVersion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetFileVersionNumbers([In] int platformId, [In] MxFileLocationEnum fileLocation, [In][MarshalAs(UnmanagedType.LPWStr)] string fileName, out int masterBuildNumber, out int masterBuildComponentVersion, out int maintenanceBuildNumber, out int maintenanceBuildComponentVersion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
void GetAllFileVersionNumbers([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string fileName, out int lVersionCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMasterBuildNumber, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMasterBuildComponentVersion, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMaintenanceBuildNumber, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMaintenanceBuildComponentVersion);
}
@@ -0,0 +1,13 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[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,17 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[StructLayout(LayoutKind.Sequential, Pack = 2)]
public struct MxAttributeHandle
{
public short primitiveId;
public short attributeId;
public short propertyId;
public ushort signature;
public short index1;
}
@@ -0,0 +1,17 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[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,24 @@
namespace Interop.NmxSvc;
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,8 @@
namespace Interop.NmxSvc;
public enum MxFileLocationEnum
{
MxInCommonFolder,
MxInBinFolder,
MxInWindowsGAC
}
@@ -0,0 +1,11 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[StructLayout(LayoutKind.Sequential, Pack = 2)]
public struct MxHandle
{
public MxAutomationObjectHandle @object;
public MxAttributeHandle attribute;
}
@@ -0,0 +1,9 @@
namespace Interop.NmxSvc;
public enum MxResolutionStatus
{
MxReferenceUndefined = -1,
MxReferenceUnresolved,
MxReferenceResolved,
MxReferenceAttributeNotPresent
}
@@ -0,0 +1,13 @@
namespace Interop.NmxSvc;
public enum MxSecurityClassification
{
MxSecurityUndefined = -1,
MxSecurityFreeAccess,
MxSecurityOperate,
MxSecuritySecuredWrite,
MxSecurityVerifiedWrite,
MxSecurityTune,
MxSecurityConfigure,
MxSecurityViewOnly
}
@@ -0,0 +1,15 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[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.NmxSvc;
public enum MxStatusCategory
{
MxStatusCategoryUnknown = -1,
MxCategoryOk,
MxCategoryPending,
MxCategoryWarning,
MxCategoryCommunicationError,
MxCategoryConfigurationError,
MxCategoryOperationalError,
MxCategorySecurityError,
MxCategorySoftwareError,
MxCategoryOtherError
}
@@ -0,0 +1,51 @@
namespace Interop.NmxSvc;
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.NmxSvc;
public enum MxStatusSource
{
MxSourceUnknown = -1,
MxSourceRequestingLmx,
MxSourceRespondingLmx,
MxSourceRequestingNmx,
MxSourceRespondingNmx,
MxSourceRequestingAutomationObject,
MxSourceRespondingAutomationObject
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[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.NmxSvc;
[ComImport]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[ComConversionLoss]
[ClassInterface(ClassInterfaceType.None)]
[Guid("51D955B1-B086-11D2-BFB1-00104B5F96A7")]
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)] IMxReference 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 IMxReference 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.NmxSvc;
[ComImport]
[Guid("84168012-B544-4217-A145-32819C607435")]
[CoClass(typeof(NmxClass))]
public interface Nmx : INmx4
{
}
@@ -0,0 +1,199 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[Guid("42DB0511-28BE-11D3-80C0-00104B5F96A7")]
[ClassInterface(ClassInterfaceType.None)]
[ComConversionLoss]
public class NmxClass : INmx4, Nmx, INmx, INmx2, INmx3, INmxHeartbeat, INmxSvcCallback, INmxSvcStatistics
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Initialize([In] int dwPlatformId, [In] int dwEngineId, [In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void InitializeAnonymous(out int pPlatformId, out int pEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void CreateGuaranteedQueue([In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DeleteGuaranteedQueue([In] int dwEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetQueueExtent([In] int dwNewExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetQueueExtent(out int dwQueueExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetQueueInfo(out int NumberMessagesQueued, out int QueueSizeInBytes);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void PutRequest([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void PutResponse([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetRequest(out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetResponse(out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void PutMessageNoReply([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetVersionInfo([MarshalAs(UnmanagedType.BStr)] out string nmxversion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetMessageTimeout([In] int TimeoutValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void PutRequest2([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] byte byType, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void PutResponse2([In] byte byType, [In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetRequest2([In] byte byType, out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetResponse2([In] byte byType, out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Initialize2([In] int dwPlatformId, [In] int dwEngineId, [In] int dwVersion, [In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void InitializeAnonymous2(out int pPlatformId, out int pEngineId, [In] int dwVersion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPartnerVersion([In] int lGalaxyID, [In] int lPlatformID, [In] int lEngineID, out int plVersion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_Initialize([In] int dwPlatformId, [In] int dwEngineId, [In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_InitializeAnonymous(out int pPlatformId, out int pEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_CreateGuaranteedQueue([In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_DeleteGuaranteedQueue([In] int dwEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_SetQueueExtent([In] int dwNewExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_GetQueueExtent(out int dwQueueExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_GetQueueInfo(out int NumberMessagesQueued, out int QueueSizeInBytes);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_PutRequest([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_PutResponse([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_GetRequest(out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_GetResponse(out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_PutMessageNoReply([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_GetVersionInfo([MarshalAs(UnmanagedType.BStr)] out string nmxversion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx_SetMessageTimeout([In] int TimeoutValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void PutRequestEx([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_Initialize([In] int dwPlatformId, [In] int dwEngineId, [In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_InitializeAnonymous(out int pPlatformId, out int pEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_CreateGuaranteedQueue([In] int dwQueueExtent);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_DeleteGuaranteedQueue([In] int dwEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_SetQueueExtent([In] int dwNewExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_GetQueueExtent(out int dwQueueExtent, [In][ComAliasName("Interop.NmxSvc.EQUEUETYPE")] EQUEUETYPE EQUEUETYPE);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_GetQueueInfo(out int NumberMessagesQueued, out int QueueSizeInBytes);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_PutRequest([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_PutResponse([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_GetRequest(out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_GetResponse(out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_PutMessageNoReply([In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_GetVersionInfo([MarshalAs(UnmanagedType.BStr)] out string nmxversion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_SetMessageTimeout([In] int TimeoutValue);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_PutRequest2([In] int dwClusterId, [In] int dwPlatformId, [In] int dwEngineId, [In] byte byPriority, [In] byte byType, [In] int dwSize, [In] ref byte pData, out int pdwRequestHandle);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_PutResponse2([In] byte byType, [In] int dwGalaxyId, [In] int dwPlatformId, [In] int dwEngineId, [In] int dwRequestHandle, [In] int dwSize, [In] ref byte pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_GetRequest2([In] byte byType, out int pdwGalaxyId, out int pdwPlatformId, out int pdwEngineId, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData, out bool pReplyRequired);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmx3_GetResponse2([In] byte byType, out int pdwResponseCode, out int pdwRequestHandle, out int pdwSize, [Out] IntPtr pData);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void AddSubscriberEngine([In] int dwSubscriberClusterId, [In] int dwSubscriberPlatformId, [In] int dwSubscriberEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RemoveSubscriberEngine([In] int dwSubscriberClusterId, [In] int dwSubscriberPlatformId, [In] int dwSubscriberEngineId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetHeartbeatSendInterval([In] int lTicksPerBeat, [In] int lMaxMissedTicks);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ShutDown();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DataReceived([In] int dwBufferSize, [In] ref sbyte lpDataBuffer);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void StatusReceived([In] int dwBufferSize, [In] ref sbyte lpStatusBuffer);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetNmxSvcStatistics(out tagNmxSvcStatsInfo pNmxSvcStats);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ResetSvcStatistics();
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[CoClass(typeof(NmxServiceClass))]
[Guid("2630A513-A974-4B1A-8025-457A9A7C56B8")]
public interface NmxService : INmxService2
{
}
@@ -0,0 +1,74 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[ClassInterface(ClassInterfaceType.None)]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[Guid("AE24BD51-2E80-44CC-905B-E5446C942BEB")]
public class NmxServiceClass : INmxService2, NmxService, INmxService, INmxSvcStatistics, INmxStatus
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterEngine([In] int lEngineID, [In][MarshalAs(UnmanagedType.BStr)] string bstrEngineName, [In][MarshalAs(UnmanagedType.Interface)] INmxSvcCallback pNmxCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnRegisterEngine([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Connect([In] int lLocalEngineID, [In] int lRemoteGalaxyID, [In] int lRemotePlatformID, [In] int lRemoteEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void TransferData([In] int lRemoteGalaxyID, [In] int lRemotePlatformID, [In] int lRemoteEngineID, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void AddSubscriberEngine([In] int lLocalEngineID, [In] int lSubscriberGalaxyID, [In] int lSubscriberPlatformID, [In] int lSubscriberEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RemoveSubscriberEngine([In] int lLocalEngineID, [In] int lSubscriberGalaxyID, [In] int lSubscriberPlatformID, [In] int lSubscriberEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetHeartbeatSendInterval([In] int lTicksPerBeat, [In] int lMaxMissedTicks);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterEngine2([In] int lEngineID, [In][MarshalAs(UnmanagedType.BStr)] string bstrEngineName, [In] int lVersion, [In][MarshalAs(UnmanagedType.Interface)] INmxSvcCallback pCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPartnerVersion([In] int lGalaxyID, [In] int lPlatformID, [In] int lEngineID, out int plVersion);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmxService_RegisterEngine([In] int lEngineID, [In][MarshalAs(UnmanagedType.BStr)] string bstrEngineName, [In][MarshalAs(UnmanagedType.Interface)] INmxSvcCallback pNmxCallback);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmxService_UnRegisterEngine([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmxService_Connect([In] int lLocalEngineID, [In] int lRemoteGalaxyID, [In] int lRemotePlatformID, [In] int lRemoteEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmxService_TransferData([In] int lRemoteGalaxyID, [In] int lRemotePlatformID, [In] int lRemoteEngineID, [In] int lSize, [In] ref byte pMsgBody);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmxService_AddSubscriberEngine([In] int lLocalEngineID, [In] int lSubscriberGalaxyID, [In] int lSubscriberPlatformID, [In] int lSubscriberEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmxService_RemoveSubscriberEngine([In] int lLocalEngineID, [In] int lSubscriberGalaxyID, [In] int lSubscriberPlatformID, [In] int lSubscriberEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void INmxService_SetHeartbeatSendInterval([In] int lTicksPerBeat, [In] int lMaxMissedTicks);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetNmxSvcStatistics(out tagNmxSvcStatsInfo pNmxSvcStats);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ResetSvcStatistics();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void OPENCONNECTION([In] int lPlatformID, [In][MarshalAs(UnmanagedType.Interface)] INmxNotify pNotify, [In] int lReference, [In] int lProcessID, out int plCookie, out tagNmxSvcConnectionStatus peStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void CloseConnection([In] int lCookie, out tagNmxSvcConnectionStatus peStatus);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetConnectionStatus([In] int lPlatformID, out tagNmxSvcConnectionStatus peConnState);
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("4169B479-54BD-11D3-A9CC-00A0C9FB55A0")]
[CoClass(typeof(NmxStatisticsClass))]
public interface NmxStatistics : INmxStatistics
{
}
@@ -0,0 +1,17 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[Guid("4169B47A-54BD-11D3-A9CC-00A0C9FB55A0")]
[ClassInterface(ClassInterfaceType.None)]
public class NmxStatisticsClass : INmxStatistics, NmxStatistics
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetNmxStatistics(out tagNmxStatsInfo pNmxStats);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void Reset();
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("4E448140-AE83-11D3-939D-00C04F6BBD91")]
[CoClass(typeof(PlatformInfoServerClass))]
public interface PlatformInfoServer : IPlatformInfoServer, IInfoNotify_Event
{
}
@@ -0,0 +1,97 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[ClassInterface(ClassInterfaceType.None)]
[ComSourceInterfaces("Interop.NmxSvc.IInfoNotify\0\0")]
[Guid("79EEACB0-5A55-11D3-A9CF-00A0C9FB55A0")]
public class PlatformInfoServerClass : IPlatformInfoServer, PlatformInfoServer, IInfoNotify_Event, IVersionInformation
{
public virtual extern event IInfoNotify_Fire_OnInfoNotifyEventHandler Fire_OnInfoNotify;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern tagNmxStatsInfo GetNmxStatistics();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ResetNmxStatistics();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IsValidEngineId([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool IsAnyEngineOnScan();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetEngineDefinition([In] int lEngineID, [In] ref tagEngineDefinition pEngDef);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern tagEngineDefinition GetEngineDefinition([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DeleteEngineDefinition([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetFirstEngine();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetNextEngine();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformScanState([In] bool bScanState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool GetPlatformScanState();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetEngineScanState([In] int lEngineID, [In] bool bScanState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool GetEngineScanState([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetStartupType([In] int lEngineID, [In] int StartupType);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetStartupType([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DeleteFile();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int RegisterEngineStatusNotification([In][MarshalAs(UnmanagedType.Interface)] IStatusNotify pStatusNotify);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnregisterEngineStatusNotification([In] int lCookie);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetEngineState([In] int lEngineID, [In] int EngineState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetEngineRestart([In] int lEngineID, [In] bool bRestart);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern bool GetEngineRestart([In] int lEngineID);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string GetProductInternalName();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string GetComponentInternalName();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetMasterBuildNumber();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetMasterBuildComponentVersion();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetMaintenanceBuildNumber();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern int GetMaintenanceBuildComponentVersion();
}
@@ -0,0 +1,10 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[Guid("148C8733-3930-11D3-87EA-00A0C982C01C")]
[CoClass(typeof(PlatformInformationClerkObjectClass))]
public interface PlatformInformationClerkObject : IPlatformInformationClerk
{
}
@@ -0,0 +1,514 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[ComImport]
[ComConversionLoss]
[Guid("148C8734-3930-11D3-87EA-00A0C982C01C")]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[ClassInterface(ClassInterfaceType.None)]
public class PlatformInformationClerkObjectClass : IPlatformInformationClerk, PlatformInformationClerkObject, IPlatformInformationClerk2, IPlatformInformationClerk3, IPlatformInformationClerk4, IPlatformInformationClerk5
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk2_GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformIdentity2([In] int platformId, [In] ref tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentity2([In] int platformId, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentityFromPlatformName2([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformList2(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_SetPlatformIdentity2([In] int platformId, [In] ref tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformIdentity2([In] int platformId, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformIdentityFromPlatformName2([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk3_GetPlatformList2(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformIdentity3([In] int platformId, [In] ref tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentity3([In] int platformId, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentityFromPlatformName3([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformList3(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_SetPlatformIdentity2([In] int platformId, [In] ref tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformIdentity2([In] int platformId, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformIdentityFromPlatformName2([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformList2(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_SetPlatformIdentity3([In] int platformId, [In] ref tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformIdentity3([In] int platformId, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformIdentityFromPlatformName3([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk4_GetPlatformList3(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void SetPlatformIdentity4([In] int platformId, [In] ref tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentity4([In] int platformId, out tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformIdentityFromPlatformName4([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPlatformList4(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformIdentityFromPlatformName([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetPlatformIdentity([In] int platformId, [In] ref tagPlatformRegistrationInformation pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetOwnPlatformId(out int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformServicesNames([In] int maxIn, out int serviceCount, [MarshalAs(UnmanagedType.BStr)] out string names, [MarshalAs(UnmanagedType.BStr)] out string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_AppendPlatformServicesNames([In][MarshalAs(UnmanagedType.BStr)] string names, [In][MarshalAs(UnmanagedType.BStr)] string options);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformEngineName([MarshalAs(UnmanagedType.BStr)] out string pVendorName, [MarshalAs(UnmanagedType.BStr)] out string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pStartupOptions, [MarshalAs(UnmanagedType.BStr)] out string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetPlatformEngineName([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [In][MarshalAs(UnmanagedType.LPWStr)] string pStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string pConfigOptions);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_CreateFilePath([In][MarshalAs(UnmanagedType.LPWStr)] string pVendorName, [In][MarshalAs(UnmanagedType.LPWStr)] string pFileName, [MarshalAs(UnmanagedType.BStr)] out string pbstrFilePath);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_UnregisterClusterInformation();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_RegisterClusterInformation([In] tagClusterRegistrationInformation clusterRegInfo);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetClusterInformation(out tagClusterRegistrationInformation pClusterInformation);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_ResetPlatformList(out int numPlatforms);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetNextPlatform(out int pId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_DeletePlatformIdentity([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetStartupState(out tagPlatformStartupSetting pStartupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetStartupState([In] tagPlatformStartupSetting startupState);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformRegister(out int pPlatformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetPlatformRegister([In] int platformId);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_DeletePlatformInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_DeleteObjectRuntimeInfo();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_DeletePlatformList();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetPlatformIdentity2([In] int platformId, [In] ref tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformIdentity2([In] int platformId, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformIdentityFromPlatformName2([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation2 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformList2(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetPlatformIdentity3([In] int platformId, [In] ref tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformIdentity3([In] int platformId, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformIdentityFromPlatformName3([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation3 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformList3(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_SetPlatformIdentity4([In] int platformId, [In] ref tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformIdentity4([In] int platformId, out tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformIdentityFromPlatformName4([In][MarshalAs(UnmanagedType.LPWStr)] string pPlatformName, out tagPlatformRegistrationInformation4 pPlatformIdentity);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void IPlatformInformationClerk5_GetPlatformList4(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
public virtual extern void GetPartnerPlatformSUPStatus([In] int platformId, [In] int partnerPlatformId, out int supStatus);
}
@@ -0,0 +1,12 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[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.NmxSvc;
[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.NmxSvc;
[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.NmxSvc;
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct _FILETIME
{
public uint dwLowDateTime;
public uint dwHighDateTime;
}
@@ -0,0 +1,9 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
public struct _LARGE_INTEGER
{
public long QuadPart;
}
@@ -0,0 +1,9 @@
using System.Runtime.InteropServices;
namespace Interop.NmxSvc;
[StructLayout(LayoutKind.Sequential, Pack = 8)]
public struct _ULARGE_INTEGER
{
public ulong QuadPart;
}
@@ -0,0 +1,55 @@
namespace Interop.NmxSvc;
public enum __MIDL___MIDL_itf_NmxSvc_0000_0006_0001
{
OPENCONNECTION = 0,
FMCACCEPTEDCONN = 1,
SECURE_OPEN_CONNECTION = 256,
NewConnectionReq = 257,
CheckpointData = 258,
FMTYPE_PLATFORM_INFO_REQ = 4096,
FMTYPE_PLATFORM_INFO_RESP = 4097,
FMTYPE_SUBSCRIBE_HEARTBEAT_REQ = 4098,
FMTYPE_SUBSCRIBE_HEARTBEAT_RESP = 4099,
FMTYPE_PLATFORM_HEARTBEAT = 4112,
FMTYPE_GET_PARTNER_ENGINE_INFO_REQ = 4352,
FMTYPE_GET_PARTNER_ENGINE_INFO_RESP = 4353,
FMTYPE_SET_HEARTBEAT_REQ = 4354,
FMTYPE_SET_HEARTBEAT_RESP = 4355,
FMTYPE_SET_PARTNER_HEARTBEAT_REQ = 4356,
FMTYPE_SET_PARTNER_HEARTBEAT_RESP = 4357,
FMTYPE_SET_PARTNER_INDIRECT_DETECT_TIMEOUT_REQ = 4358,
FMTYPE_SET_PARTNER_INDIRECT_DETECT_TIMEOUT_RESP = 4359,
FMTYPE_SUBSCRIBE_STATUS_RESQ = 4360,
FMTYPE_SUBSCRIBE_STATUS_RESP = 4361,
FMTYPE_UNSUBSCRIBE_STATUS_RESQ = 4362,
FMTYPE_UNSUBSCRIBE_STATUS_RESP = 4363,
FMTYPE_REFRESH_STATUS_RESQ = 4364,
FMTYPE_REFRESH_STATUS_RESP = 4365,
FMTYPE_REDUNDANCY_STATUS_REQ = 4366,
FMTYPE_REDUNDANCY_STATUS_RESP = 4367,
FMTYPE_PLATFORM_STATUS_REQ = 4368,
FMTYPE_PLATFORM_STATUS_RESP = 4369,
FMTYPE_REDUNDANCY_ENGINE_INFO_REQ = 4370,
FMTYPE_REDUNDANCY_ENGINE_INFO_RESP = 4371,
FMTYPE_ENGINE_FAILOVER_OPERATION_REQ = 4372,
FMTYPE_ENGINE_FAILOVER_OPERATION_RESP = 4373,
FMTYPE_ENGINE_SWITCHING_TO_ACTIVE_NOTIFICATION_REQ = 4374,
FMTYPE_ENGINE_FAILOVER_DATA = 4416,
FMTYPE_ENGINE_FAILOVER_DATA_ACK = 4417,
FMTYPE_ENGINE_SUBSCRIBER_LIST = 4418,
FMTYPE_ENGINE_SUBSCRIBER_LIST_ACK = 4419,
FMTYPE_ENGINE_FAILOVER_STATUS = 4480,
FMTYPE_ENGINE_FAILOVER_STATUS_ACK = 4481,
FMTYPE_ENGINE_PROCESS_STATUS = 4482,
FMTYPE_ENGINE_PROCESS_STATUS_ACK = 4483,
FMTYPE_PLATFORM_STATUS = 4484,
NMXMTYPE_ENGINE_DATA = 4608,
NMXMTYPE_SET_HEARTBEAT_RATE = 4609,
NMXMTYPE_PLATFORM_HEARTBEAT = 4610,
NMXMTYPE_GET_HEARTBEAT_RATE = 4611,
NMXMTYPE_HEARTBEAT_DISCONNECT_REQ = 4612,
NMXMTYPE_CONNECT_INFO = 4613,
NMXMTYPE_CONNECT_INFO_REQ = 4614,
NMXMTYPE_VERSION_ERROR = 4615
}

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