View Issue Details

IDProjectCategoryView StatusLast Update
0005913JEDI VCL00 JVCL Componentspublic2012-09-10 14:15
ReporterbfloracAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.45 
Target VersionFixed in Version3.46 
Summary0005913: setupaip.pas missing default define for SP_DEVICE_INTERFACE_DETAIL_DATA
Descriptionsetupapi.pas should include a define for SP_DEVICE_INTERFACE_DETAIL_DATA that aligns with the default of ansi or unicode. When using TSPDeviceInterfaceData one need set the cbSize to the correct value. This needs to match with the define size. (ansi = 5, unicode = 6).


Additional InformationI added these at line 890
  {$IFDEF UNICODE}
  TSPDeviceInterfaceDetailData = TSPDeviceInterfaceDetailDataW;
  PSPDeviceInterfaceDetailData = PSPDeviceInterfaceDetailDataW;
  SP_DEVICE_INTERFACE_DETAIL_DATA = SP_DEVICE_INTERFACE_DETAIL_DATA_W; //WRF
  {$ELSE}
  TSPDeviceInterfaceDetailData = TSPDeviceInterfaceDetailDataA;
  PSPDeviceInterfaceDetailData = PSPDeviceInterfaceDetailDataA;
  SP_DEVICE_INTERFACE_DETAIL_DATA = SP_DEVICE_INTERFACE_DETAIL_DATA_A; //WRF
  {$ENDIF UNICODE}

I see setupapi.pas was changed to jvsetupapi.pas. I assume it would need the same fix.
TagsNo tags attached.

Activities

obones

2012-06-18 11:35

administrator   ~0020012

This is now in SVN

Issue History

Date Modified Username Field Change
2012-06-18 06:50 bflorac New Issue
2012-06-18 11:35 obones Note Added: 0020012
2012-06-18 11:35 obones Status new => resolved
2012-06-18 11:35 obones Fixed in Version => Daily / SVN
2012-06-18 11:35 obones Resolution open => fixed
2012-06-18 11:35 obones Assigned To => obones
2012-09-10 14:15 obones Fixed in Version Daily / SVN => 3.46