Your driver receives ICM_DECOMPRESSEX_END when the client application no longer needs data decompressed. For this message, your driver should free the resources it allocated for the ICM_DECOMPRESSEX_BEGIN message.