* query is required to be synchronous) or CreateThread failed.
* Either way, we need a synchronous request.
*/
- id = SendMessage(hwnd, WM_COPYDATA, (WPARAM) NULL, (LPARAM) & cds);
+ id = SendMessage(hwnd, WM_COPYDATA, (WPARAM) NULL, (LPARAM) &cds);
if (id > 0) {
retlen = 4 + GET_32BIT(p);
ret = snewn(retlen, unsigned char);
{
if (handle)
RegSetValueEx((HKEY) handle, key, 0, REG_DWORD,
- (CONST BYTE *) & value, sizeof(value));
+ (CONST BYTE *) &value, sizeof(value));
}
void close_settings_w(void *handle)
if (!handle ||
RegQueryValueEx((HKEY) handle, key, 0, &type,
- (BYTE *) & val, &size) != ERROR_SUCCESS ||
+ (BYTE *) &val, &size) != ERROR_SUCCESS ||
size != sizeof(val) || type != REG_DWORD)
return defvalue;
else