Ejemplo n.º 1
0
 public USBXpress.ReturnCodes SI_GetProductString(int dwDeviceNum, [MarshalAs(UnmanagedType.LPArray)] byte[] lpvDeviceString, USBXpress.ProductString dwFlags)
 {
     if (tipo == TypeOS.i64)
     {
         return(USBXpress64.SI_GetProductString(dwDeviceNum, lpvDeviceString, dwFlags));
     }
     else
     {
         return(USBXpress32.SI_GetProductString(dwDeviceNum, lpvDeviceString, dwFlags));
     }
 }
Ejemplo n.º 2
0
 public static extern USBXpress.ReturnCodes SI_GetProductString(int dwDeviceNum, [MarshalAs(UnmanagedType.LPArray)] byte[] lpvDeviceString, USBXpress.ProductString dwFlags);