Beispiel #1
0
 public static Result DevInquire(UInt32 DeviceId, DevTypes InquireType, ref Int32 UserVar)
 {
     unsafe
     {
         fixed(Int32 *UserVarPtr = &UserVar)
         {
             return((Result)AlpDevInquire(DeviceId, (Int32)InquireType, UserVarPtr));
         }
     }
 }
Beispiel #2
0
 public static Result DevControl(UInt32 DeviceId, DevTypes ControlType, Int32 ControlValue)
 {
     unsafe {
         return((Result)AlpDevControl(DeviceId, (Int32)ControlType, ControlValue));
     }
 }