PORTS Forum

Ports and Interfaces => USB => Topic started by: ch3cooli on December 26, 2011, 09:33:34 am

Title: C# USB sample 50
Post by: ch3cooli 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);
Title: Re: C# USB sample 50
Post by: Jan Axelson on December 27, 2011, 11:23:03 am
Thank you!

Jan