예제 #1
0
 private static extern bool UsbK_SetPipePolicy(KUSB_HANDLE InterfaceHandle, byte PipeID,
                                               [MarshalAs(UnmanagedType.U4)] UsbKPipePolicy PolicyType,
                                               UInt32 ValueLength, IntPtr Value);
예제 #2
0
 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));
 }