Peter Stuge wrote: > On Thu, Jun 07, 2007 at 12:12:45AM +0700, Darmawan Salihun wrote: > >> NTSTATUS MapMmio(PDEVICE_OBJECT pDO, PIRP pIrp) >> > [..] > >> pDO - pointer to the device object of this driver. >> pIrp - pointer to an I/O Request Packet. >> > > Uff. What's wrong with void * ? I guess it's not the Windows way. > > Yeah. That's how it is. So much Microsoft-defined data structures in the device driver. It's just not save to use void * because of it. Almost everything has their "accessor" functions, i.e. predefined way of using. If we don't conform it may not work.
--Darmawan Salihun -- linuxbios mailing list [email protected] http://www.linuxbios.org/mailman/listinfo/linuxbios
