Overview
| Artifact ID: | 78f21a9670ce0bbfcf9a8dbf640cc7c64d7d5e24 |
|---|---|
| Ticket: | 3362446fffffffffffffffffffffffffffffffff
registry keys command fails with 8.5/8.6 |
| User & Date: | nijtmans on 2012-06-19 20:22:20 |
Changes
- icomment:
See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724862%28v=vs.85%29.aspx This recommends just calling RegEnumKeyEx until the function returns ERROR_NO_MORE_ITEMS. Further on, it's not worth to query the buffersize, if the maximum length is not more than 256. This eliminates the need for RegQueryInfoKey altogether, and it eliminates the possibility for race consitions. This suggestion is commited to branch bug-3362446 now. All test-cases pass. Agreed with this solution?
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"