Hans Leidekker hans@it.vu.nl writes:
- if (!SetupFindFirstLineW( hinf, SourceDisksNames, source_id, context ) &&
!SetupFindFirstLineW( hinf, SourceDisksNames_x86, source_id, context ))
I believe x86 is supposed to take precedence. You may have to support nt and ntx86 prefixes too.
+@ stdcall SetupGetSourceFileLocationA(ptr ptr str ptr ptr long) +@ stdcall SetupGetSourceFileLocationW(ptr ptr wstr ptr ptr long)
This doesn't match the prototype.
On Monday 13 November 2006 14:26, Alexandre Julliard wrote:
- if (!SetupFindFirstLineW( hinf, SourceDisksNames, source_id, context ) &&
!SetupFindFirstLineW( hinf, SourceDisksNames_x86, source_id, context ))
I believe x86 is supposed to take precedence. You may have to support nt and ntx86 prefixes too.
Point taken on the precedence. FWIW, MSDN explicitly says that SourceDisksNames (and SourceDisksFiles) don't have nt prefixes:
"Note that, unlike other sections such as a DDInstall section, the platform extensions for a SourceDisksNames section are not .ntx86, .ntia64, or .ntamd64. For example, to specify a source disk names section for an x86-based system, use a SourceDisksNames.x86 section, not a SourceDisksNames.ntx86 section."
-Hans
Hans Leidekker hans@it.vu.nl writes:
Point taken on the precedence. FWIW, MSDN explicitly says that SourceDisksNames (and SourceDisksFiles) don't have nt prefixes:
"Note that, unlike other sections such as a DDInstall section, the platform extensions for a SourceDisksNames section are not .ntx86, .ntia64, or .ntamd64. For example, to specify a source disk names section for an x86-based system, use a SourceDisksNames.x86 section, not a SourceDisksNames.ntx86 section."
OK good, it would be too easy if all the functions behaved the same way ;-)
Note that you probably still want to make the x86 bit depend on the platform, the way InstallHinfSection does it for ntx86.