Assume that you try to use the DeviceIoControl function together with the IOCTL_SFFDISK_DEVICE_PASSWORD control code to apply password protection toan SD card on a computer that is running Windows 7 or Windows Server 2008 R2. In this situation, the SD card is not protected with a password. Additionally, you receive an error message that resembles the following:
Error IOCTL_SFFDISK_DEVICE_PASSWORD to <SD card drive>.
Error: 3221225474
Error: 3221225474