Skip to content

Commit

Permalink
minidriver.c - GetContainerInfo return caller's dwVersion
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dengert committed Nov 25, 2024
1 parent 51ffffa commit 6a6f57c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/minidriver/minidriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a6f57c

Please sign in to comment.