Joined: 06 Jun 2010 Posts: 108 Location: Inside of my Kernel
Posted: Wed Mar 16, 2011 12:36 am Post subject: Warnings after compiled dbk32.sys driver
i get 37 warnings but... anyways the driver gets compiled without errors.
But... i want fix them...
this is one of several warnings i get:
Code:
dbkdrvr.c(340) : warning 28155: The function being assigned or passed should be a DRIVER_UNLOAD function: Add the declaration 'DRIVER_UNLOAD UnloadDriver;' before the current first declaration of UnloadDriver.
Found in function 'DriverEntry'
340
Why is this?... i think is by the version of WDK (7600.16385.1)... but i'm not sure.
So... exists some way for fix them?...
i have checked some warnings, looking for them in google, and i found than some functions are obsolete "Consider using 'ExAllocatePoolWithTag' instead of 'ExAllocatePool'." etc...
i'll let yours an picture.
And... sorry if you don't understand all i've say, but... i don't speak english...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum