Jungo WinDriver
Official Documentation
|
DWORD WDC_CardCleanupSetup | ( | _In_ WDC_DEVICE_HANDLE | hDev, |
_In_ WD_TRANSFER * | pTransCmds, | ||
_In_ DWORD | dwCmds, | ||
_In_ BOOL | fForceCleanup | ||
) |
Sets a list of transfer cleanup commands to be performed for the specified card on any of the following occasions:
[in] | hDev | Handle to a WDC device, returned by WDC_xxxDeviceOpen() |
[in] | pTransCmds | Pointer to an array of cleanup transfer commands to be performed. |
[in] | dwCmds | Number of cleanup commands in the Cmd array. |
[in] | fForceCleanup | If FALSE: The cleanup transfer commands (Cmd) will be performed in either of the following cases: When the application exits abnormally. When the application exits normally without closing the card by calling one of the WDC_xxxDeviceClose() functions |
If TRUE: The cleanup transfer commands will be performed both in the two cases described above, as well as in the following case: When the relevant WD_xxxDeviceClose() function is called for the card.