How can I force a CreateFile call to hang, in order to test something? June 12, 2015 Jun 12, 2015 06/12/15 Raymond Chen Opportunistic locks again.