* fhandler.h (fhandler_registry::value_name): Convert to wchar_t*.

* fhandler_registry.cc: Call UNICODE registry functions throughout
	and convert to multibyte using current locale's charset.  Accommodate
	throughout.
	(must_encode): Take wchar_t.
	(encode_regname): Convert from wchar_t *.
	(decode_regname): Convert to wchar_t *.
This commit is contained in:
Corinna Vinschen
2009-12-18 17:14:21 +00:00
parent 70757043bf
commit 333a47d316
3 changed files with 96 additions and 56 deletions

View File

@ -1349,7 +1349,7 @@ class fhandler_netdrive: public fhandler_virtual
class fhandler_registry: public fhandler_proc
{
private:
char *value_name;
wchar_t *value_name;
DWORD wow64;
int prefix_len;
public: