netripper

netripper

Jun 29th, 2009
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. //..snip..
  2.  
  3.     [StructLayout(LayoutKind.Sequential)]
  4.     public struct TagFMDEVINFO
  5.     {
  6.         public int Size;
  7.         public int APIVersion;
  8.         public int FMVersion;
  9.         public FMCAP dwCapabilities;
  10.         [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
  11.         public string DeviceName;
  12.     }
  13.  
  14. //..snip..
  15.  
  16.     [DllImport(DLL)]
  17.     public static extern ResultCode FMGetDevInfo(int FMDeviceIndex, ref TagFMDEVINFO FMDevInfo);
  18.  
  19. //..snip..
Add Comment
Please, Sign In to add comment