-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le Lundi 10 Novembre 2003 16:18, Robert Shearman a écrit :
-----Original Message----- From: wine-devel-admin@winehq.org [mailto:wine-devel-admin@winehq.org]On 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.
Good, i haven't seen it :)
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.
Well, i don't think implementing simple (stupid?) Io* functions will be diffcult. For me, the problem is what secdrv want to do with this functions (maybe a voodoo test for safely check if the subsystem have a correct behavior): - - RtlQueryRegistryValues - - KeTickCount - - MmIsAddressValid - - RtlUnwind
Rob
Regards, Raphael