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