Lines Matching refs:tmp
99 std::string tmp = "CLSID\\"; in UnregisterComComponent() local
100 tmp += ClsidToString(Guid); in UnregisterComComponent()
101 return DeleteRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str()) ? S_OK : E_FAIL; in UnregisterComComponent()
109 std::string tmp = "Folder\\shellex\\ColumnHandlers\\"; in RegisterColumnHandler() local
110 tmp += ClsidToString(CLSID_COLUMN_HANDLER); in RegisterColumnHandler()
114 tmp.c_str(), in RegisterColumnHandler()
121 std::string tmp = "Folder\\shellex\\ColumnHandlers\\"; in UnregisterColumnHandler() local
122 tmp += ClsidToString(CLSID_COLUMN_HANDLER); in UnregisterColumnHandler()
124 if (!DeleteRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str())) in UnregisterColumnHandler()
136 std::string tmp; in RegisterInfotipHandler() local
140 tmp = SHELLEX_IID_ENTRY; in RegisterInfotipHandler()
141 SubstitutePlaceholder(tmp, EXTENSION_PLACEHOLDER, OOFileExtensionTable[i].ExtensionAnsi); in RegisterInfotipHandler()
142 SubstitutePlaceholder(tmp, GUID_PLACEHOLDER, iid); in RegisterInfotipHandler()
144 …if (!SetRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str(), "", ClsidToString(CLSID_INFOTIP_HANDLER).c_str… in RegisterInfotipHandler()
153 std::string tmp; in UnregisterInfotipHandler() local
157 tmp = SHELLEX_IID_ENTRY; in UnregisterInfotipHandler()
159 SubstitutePlaceholder(tmp, EXTENSION_PLACEHOLDER, OOFileExtensionTable[i].ExtensionAnsi); in UnregisterInfotipHandler()
160 SubstitutePlaceholder(tmp, GUID_PLACEHOLDER, iid); in UnregisterInfotipHandler()
162 DeleteRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str()); in UnregisterInfotipHandler()
166 tmp = SHELLEX_ENTRY; in UnregisterInfotipHandler()
167 SubstitutePlaceholder(tmp, EXTENSION_PLACEHOLDER, OOFileExtensionTable[i].ExtensionAnsi); in UnregisterInfotipHandler()
170 if (HasSubkeysRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str(), HasSubKeys) && !HasSubKeys) in UnregisterInfotipHandler()
171 DeleteRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str()); in UnregisterInfotipHandler()
231 std::string tmp; in RegisterThumbviewerHandler() local
235 tmp = SHELLEX_IID_ENTRY; in RegisterThumbviewerHandler()
237 SubstitutePlaceholder(tmp, EXTENSION_PLACEHOLDER, OOFileExtensionTable[i].ExtensionAnsi); in RegisterThumbviewerHandler()
238 SubstitutePlaceholder(tmp, GUID_PLACEHOLDER, iid); in RegisterThumbviewerHandler()
240 …if (!SetRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str(), "", ClsidToString(CLSID_THUMBVIEWER_HANDLER).c… in RegisterThumbviewerHandler()
249 std::string tmp; in UnregisterThumbviewerHandler() local
253 tmp = SHELLEX_IID_ENTRY; in UnregisterThumbviewerHandler()
255 SubstitutePlaceholder(tmp, EXTENSION_PLACEHOLDER, OOFileExtensionTable[i].ExtensionAnsi); in UnregisterThumbviewerHandler()
256 SubstitutePlaceholder(tmp, GUID_PLACEHOLDER, iid); in UnregisterThumbviewerHandler()
258 DeleteRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str()); in UnregisterThumbviewerHandler()
262 tmp = SHELLEX_ENTRY; in UnregisterThumbviewerHandler()
263 SubstitutePlaceholder(tmp, EXTENSION_PLACEHOLDER, OOFileExtensionTable[i].ExtensionAnsi); in UnregisterThumbviewerHandler()
266 if (HasSubkeysRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str(), HasSubKeys) && !HasSubKeys) in UnregisterThumbviewerHandler()
267 DeleteRegistryKey(HKEY_CLASSES_ROOT, tmp.c_str()); in UnregisterThumbviewerHandler()