> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Rapha�l Junqueira > Sent: 10 November 2003 08:05 > To: Lionel Ulmer; Marcus Meissner > Cc: Alexandre Julliard; Wine Devel > Subject: Re: copy protection - was: Re: Is it time for playing games on > WINE? > > Well it's not really easy as the NT_HEADER only declare: > Characteristics: 0306 > EXECUTABLE_IMAGE > LINE_NUMS_STRIPPED > 32BIT_MACHINE > DEBUG_STRIPPED > > So we can only use the file extension (and maybe the imported > libs, .sys files > using kernel libs) to use the good "dll-entry" between .sys and > .exe files :( > > I don't think Alexandre will love the hack to support this :)
I think IMAGE_OPTIONAL_HEADER::Subsystem will be what we're looking for. BTW, I have got as far with loading secdrv.sys as crashing on unimplemented IoCreateDevice. I believe the Io* functions will be the biggest problems. Rob
