The VirtualAlloc function reserves or commits a region of pages in the virtual address space of the calling process. Memory allocated by this function is automatically initialized to zero, unless the MEM_RESET flag is set.读这个意思是memory映射,如果是IO呢,也能用吗?我查了一下资料,据说有winio驱动包,可以调用。windowsNT以上真不是个好玩的系统,不能直接操作硬件。不知道我的PCI接口卡什么时候能配上个windows驱动。:hug: