On Mon, 26 Jul 2004, Robert Shearman wrote: [...]
size = sizeof(buffer);
- if (!RegQueryValueExA(hKey, "Drivers", 0, &type, (LPVOID)buffer, &size)) {
- BOOL keyQueried = !RegQueryValueExA(hKey, "Drivers", 0, &type,
^^^^ - all variable declarations must be done at the very
start of a block of code.
Actually this is the start of a block of code since the character preceeding 'BOOL' is '{'.