private static extern bool OvlK_Init(ref KOVL_POOL_HANDLE PoolHandle, KUSB_HANDLE UsbHandle, Int32 MaxOverlappedCount, KOVL_POOL_FLAG Flags);
private static extern bool UsbK_SetPipePolicy(KUSB_HANDLE InterfaceHandle, byte PipeID, [MarshalAs(UnmanagedType.U4)] UsbKPipePolicy PolicyType, UInt32 ValueLength, IntPtr Value);
private static extern bool UsbK_SetPowerPolicy(KUSB_HANDLE InterfaceHandle, [MarshalAs(UnmanagedType.U4)] UsbKPowerPolicy PolicyType, uint ValueLength, IntPtr Value);
private bool SetPowerPolicy(KUSB_HANDLE InterfaceHandle, UsbKPowerPolicy PolicyType, uint ValueLength, IntPtr Value) { return(UsbK_SetPowerPolicy(InterfaceHandle, PolicyType, ValueLength, Value)); }
public bool SetPipePolicy(KUSB_HANDLE InterfaceHandle, byte PipeID, [MarshalAs(UnmanagedType.U4)] UsbKPipePolicy PolicyType, UInt32 ValueLength, IntPtr Value) { return(UsbK_SetPipePolicy(InterfaceHandle, PipeID, PolicyType, ValueLength, Value)); }
public bool OverlappedInit(ref KOVL_POOL_HANDLE PoolHandle, KUSB_HANDLE UsbHandle, Int32 MaxOverlappedCount, KOVL_POOL_FLAG Flags) { return(OvlK_Init(ref PoolHandle, UsbHandle, MaxOverlappedCount, Flags)); }