Fix the dwDataLen parameter of CryptImportKey().