Пример #1
0
 public short QueryVersion()
 {
     using (var version = new MarshalledMemory<short>())
     {
         ExecuteAndCheckReturnValue(QueryVersionName, () => queryVersion(version.Pointer));
         return version.Value;
     }
 }
Пример #2
0
 public short QueryVersion()
 {
     using (var version = new MarshalledMemory <short>())
     {
         ExecuteAndCheckReturnValue(QueryVersionName, () => queryVersion(version.Pointer));
         return(version.Value);
     }
 }