using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.NmxAdptr; [ComImport] [Guid("361A8B77-C77A-4A70-B220-FB502D6F847E")] [ComConversionLoss] [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); }