From 6a6f57cc7b65ce32ba0ff3e927ace409ea482cac Mon Sep 17 00:00:00 2001 From: Doug Engert Date: Mon, 25 Nov 2024 07:26:32 -0600 Subject: [PATCH] minidriver.c - GetContainerInfo return caller's dwVersion 7.06 says: The dwVersion member must be set by the caller. pContainerInfo->dwVersion On branch Minidriver-2 Changes to be committed: modified: minidriver.c --- src/minidriver/minidriver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/minidriver/minidriver.c b/src/minidriver/minidriver.c index 9bf91b70677..c3fdd40cfa4 100644 --- a/src/minidriver/minidriver.c +++ b/src/minidriver/minidriver.c @@ -3603,6 +3603,7 @@ DWORD WINAPI CardGetContainerInfo(__in PCARD_DATA pCardData, __in BYTE bContaine goto err; } + if (md_get_config_bool(pCardData, "md_container dont_change_dwversion", FALSE) == TRUE) { pContainerInfo->dwVersion = CONTAINER_INFO_CURRENT_VERSION; vs = (VENDOR_SPECIFIC*)(pCardData->pvVendorSpecific);