search for: regqueryvalueex

Displaying 16 results from an estimated 16 matches for "regqueryvalueex".

Did you mean: regqueryvalueexa
2003 May 05
1
R-1.7.0: Rproxy.dll loadlibrary/freelibrary error (PR#2914)
...t;from reg:"); char DLLlocation[MAX_PATH]; LONG rc; HKEY hkey; DWORD keytype = REG_SZ; DWORD cbData = sizeof (DLLlocation); rc = RegOpenKeyEx (HKEY_LOCAL_MACHINE, "Software\\R-core\\R", 0, KEY_READ, &hkey); if (rc == ERROR_SUCCESS) { rc = RegQueryValueEx (hkey, "InstallPath", 0, &keytype, (LPBYTE)DLLlocation, &cbData); RegCloseKey (hkey); } if (rc == ERROR_SUCCESS) { // set R_HOME char *buf; buf = (char *) malloc ((strlen (DLLlocation) + 8) * sizeof (char)); strcpy (buf,...
2003 Dec 02
0
Access Registry Remotely
...ctions? I have written a application that collects performance information from a windows machine. This is done via registry calls, e.g. To get a buffer containing a list of all performance objects on a remote machine... RegConnectRegistry(theMachineName,HKEY_PERFORMANCE_DATA, &hRemoteKey); RegQueryValueEx( hRemoteKey, "Global", 0, 0, my.Buff, &useSize ); RegCloseKey(hRemoteKey); Can these calls work using wine/winelib? I imagine this is covered in the documentation somewhere but I haven't been able to find it.
2001 Nov 22
1
Getting Registry info and using it ????
...EY hKey; char szFullPath[200]; DWORD dwBufLen; //const unsigned short * temp; PCWSTR temp; HRESULT hRes; RegOpenKeyEx(HKEY_LOCAL_MACHINE, (LPCTSTR)lpSubKey, 0, KEY_QUERY_VALUE, &hKey ); /*the value of szFullPath is the correct value it shows while debugging*/ RegQueryValueEx(hKey, (LPCTSTR)"FullPath", NULL, NULL,(LPBYTE) &szFullPath, &dwBufLen); RegCloseKey( hKey ); printf( "The fullpath is %s \n", &szFullPath ); /*if i use this temp in the HrInstallNetComponent function then it installs the driver correctly*/ //temp = L"C:\\Pr...
2010 Jun 26
1
Problem in "porting" a function on windows to linux?
...licy is set in registry and False otherwise int isLogEnabled() { HKEY hKey; LONG lRes; DWORD dwType, dwSize = 0; int retVal = 0; if((RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\MyCorp", 0, KEY_ALL_ACCESS, &hKey)) == ERROR_SUCCESS) { lRes = RegQueryValueEx(hKey, "SpecialMode", 0, &dwType, NULL, &dwSize ); if(lRes == ERROR_SUCCESS) retVal = 1; RegCloseKey(hKey); } return retVal; } Since I think we don't have registry concept in linux and this function uses registry APIs, I'm confuse...
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...lue, - wchar_t *szData, - DWORD *nSize + HKEY hHive, + wchar_t *szKeyPath, + wchar_t *szValue, + wchar_t *szData, + DWORD *nSize ) { - HKEY hKey; - long lSuccess; - - lSuccess = RegOpenKey ( - hHive, - szKeyPath, - &hKey - ); - - if (lSuccess == ERROR_SUCCESS) { - lSuccess = RegQueryValueEx ( - hKey, - szValue, - NULL, - NULL, - (LPBYTE) szData, - nSize - ); - - if (lSuccess == ERROR_SUCCESS) { - return (TRUE); - } - } - - return (FALSE); + HKEY hKey; + long lSuccess; + + lSuccess = RegOpenKey ( + hHive, + szKeyPath, + &hKey + ); +...
2007 Dec 05
21
Fwd: win32/process problem
Any ideas? ---------- Forwarded message ---------- From: Christian Kerth <christian.ke... at dynamicmedia.at> Date: Dec 5, 8:28 am Subject: win32/process problem To: comp.lang.ruby I have an application that consists of serveral independent parts. I want to use the Windows Process API to spawn the different processes. e.g. require ''rubygems'' require
2009 Apr 15
0
roaming profile corruption with windows xp client and samba PDC
...? ---------------------------------------------------------------------------------------------------------------------------------------------------- USERENV(330.334) 12:37:13:343 CUserProfile::CleanupUserProfile: Ref Count is not 0 USERENV(330.334) 12:37:13:390 CUserProfile::GetRefCountAndFlags: RegQueryValueEx failed, key = S-1-5-21-2211716236-2719219400-558165280-22480, error = 00000002 USERENV(330.334) 12:37:13:390 CUserProfile::CleanupUserProfile: Can not get ref count and flags USERENV(330.334) 12:37:13:390 CUserProfile::CleanupUserProfile: Ref Count is not 0 USERENV(330.334) 12:37:13:390 CUserPro...
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...lue, - wchar_t *szData, - DWORD *nSize + HKEY hHive, + wchar_t *szKeyPath, + wchar_t *szValue, + wchar_t *szData, + DWORD *nSize ) { - HKEY hKey; - long lSuccess; - - lSuccess = RegOpenKey ( - hHive, - szKeyPath, - &hKey - ); - - if (lSuccess == ERROR_SUCCESS) { - lSuccess = RegQueryValueEx ( - hKey, - szValue, - NULL, - NULL, - (LPBYTE) szData, - nSize - ); - - if (lSuccess == ERROR_SUCCESS) { - return (TRUE); - } - } - - return (FALSE); + HKEY hKey; + long lSuccess; + + lSuccess = RegOpenKey ( + hHive, + szKeyPath, + &hKey + ); +...
2005 Sep 15
0
FW: XP Profile write ok, no read.
...53 GetUserGuid: Failed to get user guid with 1355. USERENV(27c.280) 16:28:17:984 GetSpecialFolderPath : ShGetSpecialFolderPath failed, hr = 800703F0 USERENV(6e0.6f4) 16:28:18:296 MigrateNT4ToNT5: Failed to get root registry key with 0 USERENV(28c.290) 16:29:02:421 CUserProfile::GetRefCountAndFlags: RegQueryValueEx failed, key = S-1-5-21-1569642236-1413433477-3613035652-5264, error = 00000002 USERENV(28c.290) 16:29:02:468 CUserProfile::CleanupUserProfile: Can not get ref count and flags USERENV(28c.290) 16:29:02:468 CUserProfile::CleanupUserProfile: Ref Count is not 0 USERENV(28c.290) 16:29:02:468 CUserProfil...
2005 Sep 14
4
XP Profile write ok, no read.
...53 GetUserGuid: Failed to get user guid with 1355. USERENV(27c.280) 16:28:17:984 GetSpecialFolderPath : ShGetSpecialFolderPath failed, hr = 800703F0 USERENV(6e0.6f4) 16:28:18:296 MigrateNT4ToNT5: Failed to get root registry key with 0 USERENV(28c.290) 16:29:02:421 CUserProfile::GetRefCountAndFlags: RegQueryValueEx failed, key = S-1-5-21-1569642236-1413433477-3613035652-5264, error = 00000002 USERENV(28c.290) 16:29:02:468 CUserProfile::CleanupUserProfile: Can not get ref count and flags USERENV(28c.290) 16:29:02:468 CUserProfile::CleanupUserProfile: Ref Count is not 0 USERENV(28c.290) 16:29:02:468 CUserProfil...
2017 May 12
0
Wine release 2.8
...rray(). d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHDot(). d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHEvalConeLight(). d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHEvalDirection(). Hugh McMaster (7): regedit: Add a missing 'break' statement (Coverity). regedit: Pass RegQueryValueEx() the actual buffer size (Coverity). regedit: Simplify clean-up in get_lineA/W(). regedit: Return a Unicode line from get_lineA(). regedit: Use a function pointer to read each registry line instead of calling get_lineA/W() directly. regedit: Merge header checks from processR...
2007 Apr 27
0
Wine release 0.9.36
...In_Unprepare. Eric Pouech (1): acledit: Stubbed out acledit DLL, needed by SysInternals process explorer. Fabian Bieler (2): d3d9/tests: Fix fog with shader test. wined3d: Remove usesFog flag from IWineD3DVertexShaderImpl. Francois Gouget (2): advapi32: Fix and extend the RegQueryValueEx() tests. advapi32/tests: Use memcmp() instead of strcmp() so that we can check 'intrazeroed' strings. Gerald Pfeifer (1): server: Silence compiler warning in fd_queue_async(). H. Verbeet (16): wined3d: Add a function for dumping FBO status codes. wined3d: Dump the...
2015 Jun 12
0
Wine release 1.7.45
...upport to the bind status callback. qmgr: Implement IBackgroundCopyError. Huw D. M. Davies (7): riched20: Append a final \par when writing the whole buffer. mmdevapi/tests: Link against advapi32. shlwapi/tests: Fix failing tests on Vista and Win 2008. wshom/tests: Use RegQueryValueEx so that the tests run on Win 2k and XP. shell32/tests: Fix failing test on Win 2k. wininet/tests: Fix tests on Win 2k. user32/tests: Use the correct codepage for WM_CHAR tests. Indrek Altpere (2): mshtml: Add NULL check to avoid crashing due to Gecko bug. mshtml: Add...
2017 Mar 31
0
Wine release 2.5
...and use that instead of StringValue_LocalName. xmllite: Allow reading from allocated strings in ReadValueChunk. xmllite: Allocate value in reader_add_attr. xmllite: Return local name stored in namespace for prefixed namespace attribute values. Jactry Zeng (2): devenum: Use RegQueryValueExW instead of RegQueryValueW. devenum: Implement IMoniker::IsEqual(). Józef Kucia (50): wined3d: Make wined3d samplers usable when ARB_sampler_objects is not available. wined3d: Create wined3d sampler for default sampler. wined3d: Create wined3d sampler for NULL sampler....
2015 Oct 16
0
Wine release 1.7.53
...ole32: Return OLE_E_NOTRUNNING on a cache-miss when the object isn't running. ole32: Call the cache's OnRun and OnStop methods. ole32: Defer calling Stop in an OnClose notification during an object call. ole32: Release interfaces as part of Stop. setupapi/tests: Use RegQueryValueEx so that tests run on Win XP. Iv?n Matellanes (9): msvcirt: Add stub of class stdiobuf. msvcirt: Implement stdiobuf constructors and destructor. msvcirt: Implement stdiobuf::overflow. msvcirt: Implement stdiobuf::underflow. msvcirt: Implement stdiobuf::sync. msvc...
2007 Oct 26
0
Wine release 0.9.48
...ons from path.c to url.c. shlwapi/test: Test dwSize for UrlCanonicalizeA/W. spoolss: Add a stub for SplIsUpgrade. spoolss: Add a stub for BuildOtherNamesFromMachineName. spoolss: Return a magic number as HANDLE in RevertToPrinterSelf. msi/tests: Do not leak a HKEY when RegQueryValueEx failed. spoolss/test: Add a test for BuildOtherNamesFromMachineName. shell32: Remove unused resource file. wineps: Remove unused resource file. comdlg32: Do not crash with PageSetupDlg(NULL). include/commdlg: Add more defines for PrintDlg/PrintDlgEx. ntdll: Dump...