zhang
2007-03-21 07:15:59 UTC
long ret0=(::RegOpenKeyEx(HKEY_CURRENT_USER,data_Set, 0, KEY_READ, &hKey));
ret0 is ERROR_SUCCESS
but next
long ret1::RegQueryValueEx(hKey, "LangType", NULL, &type_1, sType,
&cbData_1);
ret1 is 2
why??
of course I contained the name of the value "LangType"
ret0 is ERROR_SUCCESS
but next
long ret1::RegQueryValueEx(hKey, "LangType", NULL, &type_1, sType,
&cbData_1);
ret1 is 2
why??
of course I contained the name of the value "LangType"