CONFIGMG_Lock


CONFIGRET CONFIGMG_Lock(ULONG ulFlags)

Prevents Configuration Manager from sending events.

ulFlags

Must be zero.

This function increments a counting semaphore that prevents Configuration Manager from sending events. Since Configuration Manager processes events during the system task time but with interrupts disabled at the critical places, there is little need to bracket a linear piece of VxD code or an interrupt handler.

This function is asynchronous (that is, callable at interrupt time), reentrant, and fast.

See also CONFIGMG_Process_Events_Now, CONFIGMG_Unlock