Lines Matching refs:lpSubKey
94 static BOOL CheckExtensionInRegistry( LPCSTR lpSubKey ) in CheckExtensionInRegistry() argument
98 LONG lResult = RegOpenKeyExA( HKEY_CLASSES_ROOT, lpSubKey, 0, KEY_QUERY_VALUE, &hKey ); in CheckExtensionInRegistry()
109 OutputDebugStringFormat( "Found value [%s] for key [%s].\n", szBuffer, lpSubKey ); in CheckExtensionInRegistry()
129 OutputDebugStringFormat( " Checking OpenWithList of [%s].\n", lpSubKey ); in CheckExtensionInRegistry()
141 … OutputDebugStringFormat( " Found value [%s] in OpenWithList of [%s].\n", szBuffer, lpSubKey ); in CheckExtensionInRegistry()
176 LPCSTR lpSubKey; in DeleteSubKeyTree() local
181 lpSubKey = reinterpret_cast<CHAR*>( _alloca( nMaxSubKeyLen*sizeof(CHAR) ) ); in DeleteSubKeyTree()
186 rc = RegEnumKeyExA( hKey, 0, (LPSTR)lpSubKey, &nLen, 0, 0, 0, 0); // always index zero in DeleteSubKeyTree()
199 rc = DeleteSubKeyTree( hKey, lpSubKey ); in DeleteSubKeyTree()
201 OutputDebugStringFormat( "RegDeleteKeyA %s returned %ld.\n", lpSubKey, rc ); in DeleteSubKeyTree()
216 static BOOL RemoveExtensionInRegistry( LPCSTR lpSubKey ) in RemoveExtensionInRegistry() argument
226 lResult = RegOpenKeyExA( hKey, lpSubKey, 0, KEY_QUERY_VALUE, &hSubKey ); in RemoveExtensionInRegistry()
246 DeleteSubKeyTree( hKey, lpSubKey ); in RemoveExtensionInRegistry()
250 lResult = RegOpenKeyExA( hKey, lpSubKey, 0, KEY_SET_VALUE, &hSubKey ); in RemoveExtensionInRegistry()
254 …ingFormat( "Could not open key %s for deleting: RegOpenKeyEx returned %ld.\n", lpSubKey, lResult ); in RemoveExtensionInRegistry()