Lines Matching refs:szBuffer
102 CHAR szBuffer[1024]; in CheckExtensionInRegistry() local
103 DWORD nSize = sizeof( szBuffer ); in CheckExtensionInRegistry()
105 lResult = RegQueryValueExA( hKey, "", NULL, NULL, (LPBYTE)szBuffer, &nSize ); in CheckExtensionInRegistry()
108 szBuffer[nSize] = '\0'; in CheckExtensionInRegistry()
109 OutputDebugStringFormat( "Found value [%s] for key [%s].\n", szBuffer, lpSubKey ); in CheckExtensionInRegistry()
111 if ( strncmp( szBuffer, "WordPad.Document.1", 18 ) == 0 ) in CheckExtensionInRegistry()
115 else if ( strncmp( szBuffer, "OpenOffice.org.", 15 ) == 0 ) in CheckExtensionInRegistry()
119 else if ( strncmp( szBuffer, "OpenOffice.", 11 ) == 0 ) in CheckExtensionInRegistry()
123 else if ( strncmp( szBuffer, "ooostub.", 8 ) == 0 ) in CheckExtensionInRegistry()
137 nSize = sizeof( szBuffer ); in CheckExtensionInRegistry()
138 … lResult = RegEnumKeyExA( hSubKey, nIndex++, szBuffer, &nSize, NULL, NULL, NULL, NULL ); in CheckExtensionInRegistry()
141 … OutputDebugStringFormat( " Found value [%s] in OpenWithList of [%s].\n", szBuffer, lpSubKey ); in CheckExtensionInRegistry()
142 if ( strncmp( szBuffer, "WordPad.exe", 11 ) == 0 ) in CheckExtensionInRegistry()
218 CHAR szBuffer[4096]; in RemoveExtensionInRegistry() local
219 DWORD nSize = sizeof( szBuffer ); in RemoveExtensionInRegistry()
231 szBuffer[0] = '\0'; in RemoveExtensionInRegistry()
235 lResult = RegQueryValueExA( hSubKey, "", NULL, NULL, (LPBYTE)szBuffer, &nSize ); in RemoveExtensionInRegistry()
242 if ( strncmp( szBuffer, "opendocument.", 13 ) == 0 ) in RemoveExtensionInRegistry()