Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005913 [JEDI VCL] 00 JVCL Components minor always 2012-06-18 06:50 2012-09-10 14:15
Reporter bflorac View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version 3.45
Summary 0005913: setupaip.pas missing default define for SP_DEVICE_INTERFACE_DETAIL_DATA
Description setupapi.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 Information I 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.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0020012)
obones (administrator)
2012-06-18 11:35

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker