Lines Matching refs:hKey
85 static _signalRegError(long lRet, HKEY hKey, HKEY hDataKey) in _signalRegError() argument
87 if (hKey) in _signalRegError()
88 ::RegCloseKey(hKey); in _signalRegError()
100 HKEY hKey = NULL; in DllRegisterServer() local
115 lRet = ::RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("CLSID"), 0, KEY_ALL_ACCESS, &hKey); in DllRegisterServer()
117 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
120 …lRet = ::RegCreateKeyEx(hKey, CXMergeFilter::m_pszPSWExportCLSID, 0, _T(""), 0, KEY_ALL_ACCESS, NU… in DllRegisterServer()
122 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
124 lRet = ::RegSetValueEx(hKey, _T(""), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPSWExportShortDesc, in DllRegisterServer()
127 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
131 …lRet = ::RegCreateKeyEx(hKey, _T("DefaultIcon"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NU… in DllRegisterServer()
133 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
139 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
143 …lRet = ::RegCreateKeyEx(hKey, _T("InProcServer32"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey,… in DllRegisterServer()
145 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
149 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
156 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
163 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
168 …lRet = ::RegCreateKeyEx(hKey, _T("PegasusFilter"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, … in DllRegisterServer()
170 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
175 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
180 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
186 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
189 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer()
201 0, KEY_ALL_ACCESS, &hKey); in DllRegisterServer()
203 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
206 lRet = ::RegCreateKeyEx(hKey, _T(sTemp), in DllRegisterServer()
209 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
213 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
215 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer()
227 lRet = ::RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("CLSID"), 0, KEY_ALL_ACCESS, &hKey); in DllRegisterServer()
229 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
232 …lRet = ::RegCreateKeyEx(hKey, CXMergeFilter::m_pszPSWImportCLSID, 0, _T(""), 0, KEY_ALL_ACCESS, NU… in DllRegisterServer()
234 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
236 lRet = ::RegSetValueEx(hKey, _T(""), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPSWImportShortDesc, in DllRegisterServer()
239 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
243 …lRet = ::RegCreateKeyEx(hKey, _T("DefaultIcon"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NU… in DllRegisterServer()
245 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
251 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
256 …lRet = ::RegCreateKeyEx(hKey, _T("InProcServer32"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey,… in DllRegisterServer()
258 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
262 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
270 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
277 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
282 …lRet = ::RegCreateKeyEx(hKey, _T("PegasusFilter"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, … in DllRegisterServer()
284 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
289 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
294 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
300 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
303 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer()
312 0, KEY_ALL_ACCESS, &hKey); in DllRegisterServer()
314 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
318 lRet = ::RegCreateKeyEx(hKey, _T(sTemp), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NULL); in DllRegisterServer()
320 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
326 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
332 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
338 lRet = ::RegCreateKeyEx(hKey, _T(sTemp), in DllRegisterServer()
341 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
346 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
348 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer()
361 lRet = ::RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("CLSID"), 0, KEY_ALL_ACCESS, &hKey); in DllRegisterServer()
363 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
366 lRet = ::RegCreateKeyEx(hKey, CXMergeFilter::m_pszPXLExportCLSID, 0, _T(""), in DllRegisterServer()
367 0, KEY_ALL_ACCESS, NULL, &hKey, NULL); in DllRegisterServer()
369 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
371 lRet = ::RegSetValueEx(hKey, _T(""), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPXLExportShortDesc, in DllRegisterServer()
374 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
378 …lRet = ::RegCreateKeyEx(hKey, _T("DefaultIcon"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NU… in DllRegisterServer()
380 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
386 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
391 …lRet = ::RegCreateKeyEx(hKey, _T("InProcServer32"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey,… in DllRegisterServer()
393 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
397 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
405 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
412 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
417 …lRet = ::RegCreateKeyEx(hKey, _T("PegasusFilter"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, … in DllRegisterServer()
419 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
424 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
429 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
435 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
438 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer()
450 0, KEY_ALL_ACCESS, &hKey); in DllRegisterServer()
452 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
455 lRet = ::RegCreateKeyEx(hKey, _T(sTemp), in DllRegisterServer()
458 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
462 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
464 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer()
476 lRet = ::RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("CLSID"), 0, KEY_ALL_ACCESS, &hKey); in DllRegisterServer()
478 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
482 …lRet = ::RegCreateKeyEx(hKey, CXMergeFilter::m_pszPXLImportCLSID, 0, _T(""), 0, KEY_ALL_ACCESS, NU… in DllRegisterServer()
484 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
486 lRet = ::RegSetValueEx(hKey, _T(""), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPXLImportShortDesc, in DllRegisterServer()
489 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
492 …lRet = ::RegCreateKeyEx(hKey, _T("DefaultIcon"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NU… in DllRegisterServer()
494 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
500 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
505 …lRet = ::RegCreateKeyEx(hKey, _T("InProcServer32"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey,… in DllRegisterServer()
507 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
511 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
519 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
526 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
531 …lRet = ::RegCreateKeyEx(hKey, _T("PegasusFilter"), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, … in DllRegisterServer()
533 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
538 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
543 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
549 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
552 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer()
562 0, KEY_ALL_ACCESS, &hKey); in DllRegisterServer()
564 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
568 lRet = ::RegCreateKeyEx(hKey, _T(sTemp), 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NULL); in DllRegisterServer()
570 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
576 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
582 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
590 lRet = ::RegCreateKeyEx(hKey, _T(sTemp), in DllRegisterServer()
593 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
597 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
599 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer()
611 HKEY hKey = NULL; in DllUnregisterServer() local
625 lRet = ::RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("CLSID"), 0, KEY_ALL_ACCESS, &hKey); in DllUnregisterServer()
627 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
631 lRet = ::RegOpenKeyEx(hKey, CXMergeFilter::m_pszPSWExportCLSID, 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
633 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
650 lRet = ::RegDeleteKey(hKey, CXMergeFilter::m_pszPSWExportCLSID); in DllUnregisterServer()
652 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
657 lRet = ::RegOpenKeyEx(hKey, CXMergeFilter::m_pszPSWImportCLSID, 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
659 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
676 lRet = ::RegDeleteKey(hKey, CXMergeFilter::m_pszPSWImportCLSID); in DllUnregisterServer()
678 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
682 lRet = ::RegOpenKeyEx(hKey, CXMergeFilter::m_pszPXLExportCLSID, 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
684 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
701 lRet = ::RegDeleteKey(hKey, CXMergeFilter::m_pszPXLExportCLSID); in DllUnregisterServer()
703 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
707 lRet = ::RegOpenKeyEx(hKey, CXMergeFilter::m_pszPXLImportCLSID, 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
709 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
726 lRet = ::RegDeleteKey(hKey, CXMergeFilter::m_pszPXLImportCLSID); in DllUnregisterServer()
728 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
730 ::RegCloseKey(hKey); hKey = NULL; in DllUnregisterServer()
738 0, KEY_ALL_ACCESS, &hKey); in DllUnregisterServer()
740 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
745 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
747 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
751 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
759 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
761 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
765 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
773 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
775 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
780 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
788 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
790 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
794 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
801 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
803 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
807 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
815 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
817 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
822 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
829 ::RegCloseKey(hKey); hKey = NULL; in DllUnregisterServer()