CONFIGMG_Yield


CONFIGRET CONFIGMG_Yield(ULONG ulMicroseconds, ULONG ulFlags)

Waits a specified number of microseconds.

ulMicroseconds

The number of microseconds to wait. This value cannot be larger than 60000000L (60 seconds).

ulFlags

Flags controlling the resumption of execution. This parameter can be one of the following:

CM_YIELD_RESUME_EXEC

Enable software simulation of interrupts.

CM_YIELD_NO_RESUME_EXEC

Ensures no other VxD gets control (other than hardware interrupts).


A device driver calls this function during any configuration-handler function in which the adapter needs a delay. For example, some PCMCIA IO cards require a delay of several seconds before being configured or reconfigured to a specified IO space.