Author Topic: C# USB sample 50  (Read 15096 times)

ch3cooli

  • Member
  • ***
  • Posts: 1
C# USB sample 50
« on: December 26, 2011, 09:33:34 am »
Correct declarations for 64-bit

FileIO:
internal static extern SafeFileHandle CreateFile(String lpFileName, UInt32 dwDesiredAccess, Int32 dwShareMode, IntPtr lpSecurityAttributes, Int32 dwCreationDisposition, Int32 dwFlagsAndAttributes, IntPtr hTemplateFile);

DeviceManagement:
internal static extern Int32 SetupDiCreateDeviceInfoList(ref Guid ClassGuid, IntPtr hwndParent);

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: C# USB sample 50
« Reply #1 on: December 27, 2011, 11:23:03 am »
Thank you!

Jan