Lines Matching refs:hDataKey
85 static _signalRegError(long lRet, HKEY hKey, HKEY hDataKey) in _signalRegError() argument
91 if (hDataKey) in _signalRegError()
92 ::RegCloseKey(hDataKey); in _signalRegError()
101 HKEY hDataKey = NULL; in DllRegisterServer() local
117 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
122 return _signalRegError(lRet, hKey, hDataKey); 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()
135 …lRet = ::RegSetValueEx(hDataKey, NULL, 0, REG_SZ, (LPBYTE)_T("C:\\Program Files\\Microsoft ActiveS… in DllRegisterServer()
139 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
140 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
147 lRet = ::RegSetValueEx(hDataKey, _T("ThreadingModel"), 0, REG_SZ, (LPBYTE)_T("Apartment"), 10); in DllRegisterServer()
149 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
156 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
160 lRet = ::RegSetValueEx(hDataKey, NULL, 0, REG_SZ, (LPBYTE)sTemp, in DllRegisterServer()
163 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
164 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
172 …lRet = ::RegSetValueEx(hDataKey, _T("Description"), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPSWExpo… in DllRegisterServer()
175 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
178 lRet = ::RegSetValueEx(hDataKey, _T("Export"), 0, REG_SZ, (LPBYTE)_T(""), (1 * sizeof(TCHAR))); in DllRegisterServer()
180 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
183 …lRet = ::RegSetValueEx(hDataKey, _T("NewExtension"), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPSWExp… in DllRegisterServer()
186 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
190 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllRegisterServer()
203 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
207 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NULL); in DllRegisterServer()
209 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
211 …lRet = ::RegSetValueEx(hDataKey, CXMergeFilter::m_pszPSWExportCLSID, 0, REG_SZ, (LPBYTE)_T(""), (1… in DllRegisterServer()
213 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
216 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllRegisterServer()
229 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
234 return _signalRegError(lRet, hKey, hDataKey); 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()
247 …lRet = ::RegSetValueEx(hDataKey, NULL, 0, REG_SZ, (LPBYTE)_T("C:\\Program Files\\Microsoft ActiveS… in DllRegisterServer()
251 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
252 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
260 lRet = ::RegSetValueEx(hDataKey, _T("ThreadingModel"), 0, REG_SZ, (LPBYTE)_T("Apartment"), 10); in DllRegisterServer()
262 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
270 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
274 lRet = ::RegSetValueEx(hDataKey, NULL, 0, REG_SZ, (LPBYTE)sTemp, in DllRegisterServer()
277 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
278 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
286 …lRet = ::RegSetValueEx(hDataKey, _T("Description"), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPSWImpo… in DllRegisterServer()
289 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
292 lRet = ::RegSetValueEx(hDataKey, _T("Import"), 0, REG_SZ, (LPBYTE)_T(""), (1 * sizeof(TCHAR))); in DllRegisterServer()
294 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
297 …lRet = ::RegSetValueEx(hDataKey, _T("NewExtension"), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPSWImp… in DllRegisterServer()
300 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
304 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
322 lRet = ::RegSetValueEx(hDataKey, _T("DefaultImport"), 0, REG_SZ, in DllRegisterServer()
326 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
329 lRet = ::RegSetValueEx(hDataKey, _T("DefaultExport"), 0, REG_SZ, (LPBYTE)_T("Binary Copy"), in DllRegisterServer()
332 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
334 ::RegCloseKey(hDataKey); in DllRegisterServer()
339 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NULL); in DllRegisterServer()
341 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
344 …lRet = ::RegSetValueEx(hDataKey, CXMergeFilter::m_pszPSWImportCLSID, 0, REG_SZ, (LPBYTE)_T(""), (1… in DllRegisterServer()
346 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
349 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllRegisterServer()
363 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
369 return _signalRegError(lRet, hKey, hDataKey); 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()
382 …lRet = ::RegSetValueEx(hDataKey, NULL, 0, REG_SZ, (LPBYTE)_T("C:\\Program Files\\Microsoft ActiveS… in DllRegisterServer()
386 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
387 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
395 lRet = ::RegSetValueEx(hDataKey, _T("ThreadingModel"), 0, REG_SZ, (LPBYTE)_T("Apartment"), 10); in DllRegisterServer()
397 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
405 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
409 lRet = ::RegSetValueEx(hDataKey, NULL, 0, REG_SZ, (LPBYTE)sTemp, in DllRegisterServer()
412 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
413 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
421 …lRet = ::RegSetValueEx(hDataKey, _T("Description"), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPXLExpo… in DllRegisterServer()
424 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
427 lRet = ::RegSetValueEx(hDataKey, _T("Export"), 0, REG_SZ, (LPBYTE)_T(""), (1 * sizeof(TCHAR))); in DllRegisterServer()
429 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
432 …lRet = ::RegSetValueEx(hDataKey, _T("NewExtension"), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPXLExp… in DllRegisterServer()
435 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
439 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllRegisterServer()
452 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
456 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NULL); in DllRegisterServer()
458 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
460 …lRet = ::RegSetValueEx(hDataKey, CXMergeFilter::m_pszPXLExportCLSID, 0, REG_SZ, (LPBYTE)_T(""), (1… in DllRegisterServer()
462 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
465 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllRegisterServer()
478 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
484 return _signalRegError(lRet, hKey, hDataKey); 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()
496 …lRet = ::RegSetValueEx(hDataKey, NULL, 0, REG_SZ, (LPBYTE)_T("C:\\Program Files\\Microsoft ActiveS… in DllRegisterServer()
500 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
501 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
509 lRet = ::RegSetValueEx(hDataKey, _T("ThreadingModel"), 0, REG_SZ, (LPBYTE)_T("Apartment"), 10); in DllRegisterServer()
511 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
519 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
523 lRet = ::RegSetValueEx(hDataKey, NULL, 0, REG_SZ, (LPBYTE)sTemp, in DllRegisterServer()
526 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
527 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
535 …lRet = ::RegSetValueEx(hDataKey, _T("Description"), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPXLImpo… in DllRegisterServer()
538 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
541 lRet = ::RegSetValueEx(hDataKey, _T("Import"), 0, REG_SZ, (LPBYTE)_T(""), (1 * sizeof(TCHAR))); in DllRegisterServer()
543 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
546 …lRet = ::RegSetValueEx(hDataKey, _T("NewExtension"), 0, REG_SZ, (LPBYTE)CXMergeFilter::m_pszPXLImp… in DllRegisterServer()
549 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
553 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
572 lRet = ::RegSetValueEx(hDataKey, _T("DefaultImport"), 0, REG_SZ, in DllRegisterServer()
576 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
579 lRet = ::RegSetValueEx(hDataKey, _T("DefaultExport"), 0, REG_SZ, (LPBYTE)_T("Binary Copy"), in DllRegisterServer()
582 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
584 ::RegCloseKey(hDataKey); in DllRegisterServer()
591 0, _T(""), 0, KEY_ALL_ACCESS, NULL, &hDataKey, NULL); in DllRegisterServer()
593 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
595 …lRet = ::RegSetValueEx(hDataKey, CXMergeFilter::m_pszPXLImportCLSID, 0, REG_SZ, (LPBYTE)_T(""), (1… in DllRegisterServer()
597 return _signalRegError(lRet, hKey, hDataKey); in DllRegisterServer()
600 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllRegisterServer()
612 HKEY hDataKey = NULL; in DllUnregisterServer() local
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()
636 …while ((lRet = ::RegEnumKeyEx(hDataKey, 0, szKeyName, &dwKeyName, 0, szClassName, &dwClassName, NU… in DllUnregisterServer()
639 lRet = ::RegDeleteKey(hDataKey, szKeyName); in DllUnregisterServer()
648 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
662 …while ((lRet = ::RegEnumKeyEx(hDataKey, 0, szKeyName, &dwKeyName, 0, szClassName, &dwClassName, NU… in DllUnregisterServer()
665 lRet = ::RegDeleteKey(hDataKey, szKeyName); in DllUnregisterServer()
674 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
687 …while ((lRet = ::RegEnumKeyEx(hDataKey, 0, szKeyName, &dwKeyName, 0, szClassName, &dwClassName, NU… in DllUnregisterServer()
690 lRet = ::RegDeleteKey(hDataKey, szKeyName); in DllUnregisterServer()
699 ::RegCloseKey(hDataKey); hDataKey = NULL; 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()
712 …while ((lRet = ::RegEnumKeyEx(hDataKey, 0, szKeyName, &dwKeyName, 0, szClassName, &dwClassName, NU… in DllUnregisterServer()
715 lRet = ::RegDeleteKey(hDataKey, szKeyName); in DllUnregisterServer()
724 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllUnregisterServer()
728 return _signalRegError(lRet, hKey, hDataKey); 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()
749 lRet = ::RegDeleteValue(hDataKey, CXMergeFilter::m_pszPSWExportCLSID); in DllUnregisterServer()
751 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
754 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllUnregisterServer()
759 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
761 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
763 lRet = ::RegDeleteValue(hDataKey, CXMergeFilter::m_pszPSWImportCLSID); in DllUnregisterServer()
765 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
768 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllUnregisterServer()
773 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
775 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
777 lRet = ::RegSetValueEx(hDataKey, _T("DefaultImport"), 0, REG_SZ, (LPBYTE)_T("Binary Copy"), in DllUnregisterServer()
780 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
783 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllUnregisterServer()
788 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
790 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
792 lRet = ::RegDeleteValue(hDataKey, CXMergeFilter::m_pszPXLExportCLSID); in DllUnregisterServer()
794 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
797 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllUnregisterServer()
801 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
803 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
805 lRet = ::RegDeleteValue(hDataKey, CXMergeFilter::m_pszPXLImportCLSID); in DllUnregisterServer()
807 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
810 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllUnregisterServer()
815 lRet = ::RegOpenKeyEx(hKey, _T(szKeyName), 0, KEY_ALL_ACCESS, &hDataKey); in DllUnregisterServer()
817 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
819 lRet = ::RegSetValueEx(hDataKey, _T("DefaultImport"), 0, REG_SZ, (LPBYTE)_T("Binary Copy"), in DllUnregisterServer()
822 return _signalRegError(lRet, hKey, hDataKey); in DllUnregisterServer()
825 ::RegCloseKey(hDataKey); hDataKey = NULL; in DllUnregisterServer()