From: SourceForge.net <no...@so...> - 2009-05-06 11:53:50
|
Patches item #2787769, was opened at 2009-05-06 06:07 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=2787769&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: w32api >Group: License conflict >Status: Deleted >Resolution: Invalid Priority: 5 Private: No Submitted By: Gennadiy Kupava (gena2x) Assigned to: Nobody/Anonymous (nobody) Summary: STORAGE_ADAPTER_DESCRIPTOR wrong Initial Comment: I've found problem in header file ddk\ntdstor.h This problem have half-of-line fix. In short, file ddk\ntdstor.h, line 262 in CVS, structure STORAGE_ADAPTER_DESCRIPTOR, have field BusType type STORAGE_BUS_TYPE. It should be UCHAR to work in M$ Windows. Detailed description: In DDK documentation for this stucture, type STORAGE_BUS_TYPE is declared, which have size 4, but in fact Windows returns 1 byte for this field. After checking M$ DDK headers, i've found that in win2k have BOOLEAN type, XP and NET have UCHAR. Most interesting with this structure is that Windows returns data of size 20 (field size), which is equal to size of structure with STORAGE_BUS_TYPE field. DDK sample "enumdisk1.exe" will fail to execute with wingw because of this issue. Patch attached. ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2009-05-06 07:53 Message: <quote>After checking M$ DDK headers</quote> For this reason your patch is rejected and the file removed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=2787769&group_id=2435 |