//
//
//
//
//
//
//
//
//
//
软件Tags:
易语言API取设备信息源码系统结构:SetupDiGetClassDevs,SetupDiEnumDeviceInfo,LocalSize,SetupDiGetDeviceRegistryProperty,GetLastError,SetupDiDestroyDeviceInfoList,HeapAlloc, ======程序集1 || ||------_启动子程序 || || ======窗口程序集1 || ||------_窗口1_创建完毕 || ||------_窗口1_可否被关闭 || || ======调用的Dll || ||---[dll]------SetupDiGetClassDevs || ||---[dll]------SetupDiEnumDeviceInfo || ||---[dll]------LocalSize || ||---[dll]------SetupDiGetDeviceRegistryProperty || ||---[dll]------GetLastError || ||---[dll]------SetupDiDestroyDeviceInfoList || ||---[dll]------HeapAlloc 调用的DLL命令: .DLL命令SetupDiGetClassDevs,整数型,"setupapi.dll","SetupDiGetClassDevsA" .参数PGUIDC,整数型 .参数PCTSTR,文本型 .参数HWND,整数型 .参数DWORD,整数型 .DLL命令SetupDiEnumDeviceInfo,整数型,"setupapi.dll","SetupDiEnumDeviceInfo" .参数DeviceInfoSet,整数型 .参数MemberIndex,整数型 .参数DeviceInfoData,SP_DEVINFO_DATA,传址 .DLL命令LocalSize,整数型,"kernel32","LocalSize" .参数hmem,SP_DEVINFO_DATA .DLL命令SetupDiGetDeviceRegistryProperty,整数型,"setupapi.dll","SetupDiGetDeviceRegistryPropertyA" .参数DeviceInfoSet,整数型 .参数DeviceInfoData,SP_DEVINFO_DATA .参数Property,整数型 .参数PropertyRegDataType,整数型,传址 .参数PropertyBuffer,整数型 .参数PropertyBufferSize,整数型 .参数RequiredSize,整数型,传址 .DLL命令GetLastError,整数型,"kernel32","GetLastError" .DLL命令SetupDiDestroyDeviceInfoList,整数型,"setupapi.dll","SetupDiDestroyDeviceInfoList" .参数DeviceInfoSet,整数型 .DLL命令HeapAlloc,整数型,"kernel32","GlobalAlloc" .参数wflags,整数型 .参数dwBytes,整数型
