You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
719 B
C#
22 lines
719 B
C#
namespace OPC.Common
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
[ComImport, Guid("F31DFDE2-07B6-11d2-B2D8-0060083BA1FB"), ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
internal interface IOPCCommon
|
|
{
|
|
[PreserveSig]
|
|
int SetLocaleID([In] int dwLcid);
|
|
[PreserveSig]
|
|
int GetLocaleID(out int pdwLcid);
|
|
[PreserveSig]
|
|
int QueryAvailableLocaleIDs(out int pdwCount, out IntPtr pdwLcid);
|
|
[PreserveSig]
|
|
int GetErrorString([In] int dwError, [MarshalAs(UnmanagedType.LPWStr)] out string ppString);
|
|
[PreserveSig]
|
|
int SetClientName([In, MarshalAs(UnmanagedType.LPWStr)] string szName);
|
|
}
|
|
}
|
|
|