Exemple #1
0
 public LstK(int Flags, ref KLST_PATTERN_MATCH PatternMatch)
 {
     if (!AllKFunctions.LstK_InitEx(out mHandleStruct, Flags, ref PatternMatch))
     {
         throw new Exception();
     }
 }
Exemple #2
0
        public UsbK(KLST_DEVINFO_HANDLE DevInfo)
        {
            var success = AllKFunctions.LibK_LoadDriverAPI(out driverAPI, DevInfo.DriverID);

            if (!success)
            {
                throw new Exception();
            }
            success = driverAPI.Init(out mHandleStruct, DevInfo);
            if (!success)
            {
                throw new Exception();
            }
        }
Exemple #3
0
 public virtual bool MoveNext(out KLST_DEVINFO_HANDLE DeviceInfo) =>
 AllKFunctions.LstK_MoveNext(mHandleStruct, out DeviceInfo);