WineFile: [PATCH] Implement part of Save Settings to registry
wine.dev at web.de
Wed Feb 22 15:00:30 CST 2006
Am Montag, den 20.02.2006, 12:57 -0500 schrieb Jason Green:
> > This patch adds the ability to save your window position to the
> > registry when using winefile.
> +static const WCHAR registry_key =
Native winfile uses winfile.ini on win9x and this is mapped to the
registry in WinNT.
(IniFileMapping does not work in wine yet
Can we make the settings compatible?
+static windowOptions load_registry_settings()
+ windowOptions opts;
+ return opts;
You used a struct on the stack.
That Memory is not valid after the return.
Use a pointer to the your struct as Parameter: ...(windowOptions * opts)
By By ...
More information about the wine-devel