Jungo WinDriver  
Official Documentation

◆ WD_AgentClose()

DWORD WD_AgentClose ( void )

Close the WinDriver Agent that allows validating the license string in the running WinDriver-based process.

Call this function only when using the WinDriver Low Level API in WinDriver version 16.40 and above. Call this function right before calling WD_Close().

Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise: WD_OPERATION_ALREADY_DONE - If agent was already closed for this process. See the documentation of WD_License() for a usage code snippet.