Hi! >From [EMAIL PROTECTED] Tue Oct 2 17:58:36 2001
>> i have a prototype patch for cdrecord to add ability to "lock" cd >>volume from being accessed by other programs on Windows NT. this >>prevents failed burns with BUSY status when user starts explorer >>during burning process and it tries to access cd drive. Thursday, 04 October, 2001 Joerg Schilling [EMAIL PROTECTED] wrote: >>From [EMAIL PROTECTED] Wed Oct 3 15:49:40 2001 >>Wednesday, 03 October, 2001 Joerg Schilling [EMAIL PROTECTED] wrote: >>>>rigth? i just wasn't sure that windows always assigns \device\cdrom* >>>>names in the same order as ASPI does. >>JS> BOOL TranslateASPI32Address( PDWORD pwdpath, PDWORD pwdDEVICE) >>i've tried this on WinNt4.0SP5 w/ ASPI 4.60 (the last one from >>Adaptec's site), and this function always returns 0. i've ensured that >>i'm calling GetASPI32SupportInfo and GetASPI32DLLVersion in the >>beginning of the program and they both return correct results. JS> Did you fill in 00bbttll bus tarhet lun) into the pwdpath ? JS> Did you do this in the expected byte order (I don't know it)? well, now i know what my version of wnaspi32.dll wants to perform TranslateASPI32Address() it tries to open 'Attachments' value in HKLM\Software\Adaptec\ASPI key. This value is supposed to be of REG_SZ type and contain ';'-separated list of dll names. for each dll name in list, wnaspi32.dll tries to get entry points named 'TranslateAddressAttachment', 'FreeBufferAttachment', 'FreeBufferAttachment', 'SendCommandAttachment' and 'GetSupportInfoAttachment'. if those entries are found in your dll, wnaspi32 will use them instead of internal ones. this looks like some kind of "plug-in" system. you can write your own implementation of wnaspi32.dll functions, and add your plugin dll name to HKLM\Software\Adaptec\ASPI\Attachments. For most functions, Adaptec provided their internal implementations, but, unfortunately, TranslateASPI32Address() isn't among them :( So, can anybody check if TranslateASPI32Address() works on one's system, and if yes, what does your registry contain in 'HKLM\Software\Adaptec\ASPI\Attachments' ? Egor. mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

