Add ntoskrnl.exe.so

Steven Edwards steven_ed4153 at yahoo.com
Wed Dec 22 15:29:35 CST 2004


Hi,

--- Ivan Leo Puoti <ivanleo at gmail.com> wrote:
> Add ntoskrnl, only a few stub functions for now, so we have something to 
> work on.
> All the functions needed by safedisc are in the spec, we can't implement 
> them all
> as stubs ATM because for two of them we need defines from the ddk,
> I'll be sending a patch to add ntddk.h in the near future.

Check the ReactOS or w32api DDK. Its public domain.

> +MODULE    = ntoskrnl.exe
> +IMPORTS   = kernel32
> +DLLMODE   = native

kernel32 can't be a dependancy on ntoskrnl. We are going to need to redesign Wine if we are going
to have a ntoskrnl implementation.

> +BOOLEAN WINAPI PsGetVersion(PULONG  MajorVersion  OPTIONAL, PULONG  MinorVersion  OPTIONAL,
> +                            PULONG  BuildNumber  OPTIONAL, PUNICODE_STRING  CSDVersion 
> +    OSVERSIONINFOA version;
> +    version.dwOSVersionInfoSize=sizeof(OSVERSIONINFOA);
> +    GetVersionExA(&version);

We need to either duplicate or move the version code in to ntoskrnl.exe.

Thanks
Steven



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail



More information about the wine-patches mailing list