To write a DWord value, the registry write after open the registry editor view, it is wrong to DWord value
To be multithreaded operations, but write place added protection, at the same time call API to write two consecutive key value, but for the first time to write error, (open the registry editor shows "error DWORD value") for the second time to write the value of the can see properly, so it can eliminate is a problem of multithreading