Function replacement between different OS

Hi,
I have a driver working fine on Windows 2000, and I wanna port it to Windows
98. Since 98DDK doesn’t support the function MmGetSystemAddressForMdlSafe, I
wanna know whether it is right and safe to replace
MmGetSystemAddressForMdlSafe(win2kDDK) with
MmGetSystemAddressForMdl(win98DDK).

What’s more, 98DDK doesn’t support “Remove Lock” function. So if I remove
all the “Remove Lock” related functions, do you think the driver will still
work all right on Windows 98?

if not, how to resolve these questions?

Best Regards.

http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡

http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû

>> What’s more, 98DDK doesn’t support “Remove Lock” function. So if I
remove all the “Remove Lock” related functions, do you think the driver will
still work all right on Windows 98?<<

It has been a while since I looked at 9x, but I think you are OK. Since 9x
is not a true asynchronous OS, the locks should not be required.

Then again, I could be wrong.

Jamey