wince5.0下SD client driver中sdmemory.def, DSK_Read=SMC_Read DSK_Write=SMC_Write 但是extern "C" DWORD WINAPI SMC_Read(DWORD hOpenContext, LPVOID pBuffer, DWORD Count) { DEBUGMSG(SDCARD_ZONE_FUNC, (TEXT("SDMemory: +-SMC_Read
"))); return 0; } 在SMC_IOControl中却有 ..... case IOCTL_DISK_READ: case DISK_IOCTL_READ: pSG = (PSG_REQ)pInBuf; Status = SDMemRead( pHandle, pSG ); break;
case IOCTL_DISK_WRITE: case DISK_IOCTL_WRITE: pSG = (PSG_REQ)pInBuf; Status = SDMemWrite( pHandle, pSG ); break; ....... 那位大大能说说。
|