コード例 #1
0
 public string GetErrorString(int error)
 {
     return(DoComCall(ComOpcServer, "IOpcCommon::GetErrorString", () =>
     {
         string ppString;
         ComOpcServer.GetErrorString(error, out ppString);
         return ppString;
     }, error));
 }
コード例 #2
0
 public int[] QueryAvailableLocaleIDs()
 {
     return(DoComCall(ComOpcServer, "IOpcCommon::QueryAvailableLocaleIDs", () =>
     {
         int dwCount;
         int[] pdwLcid;
         ComOpcServer.QueryAvailableLocaleIDs(out dwCount, out pdwLcid);
         return pdwLcid;
     }));
 }