Jungo WinDriver  
Official Documentation

◆ WDC_Sleep()

DWORD DLLCALLCONV WDC_Sleep ( _In_ DWORD  dwMicroSecs,
_In_ WDC_SLEEP_OPTIONS  options 
)

Delays execution for the specified duration of time (in microseconds).

By default the function performs a busy sleep (consumes CPU cycles).

Parameters
[in]dwMicroSecsThe number of microseconds to sleep.
[in]optionsSleep options.
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise