ReactOS 0.4.16-dev-319-g6cf4263
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wine/debug.h"
#include "wine/exception.h"
#include "msi.h"
#include "msiquery.h"
#include "objbase.h"
#include "objidl.h"
#include "winnls.h"
#include "msipriv.h"
#include "query.h"
#include "winemsi_s.h"
#include "initguid.h"
Go to the source code of this file.
Classes | |
struct | primary_key_record_info |
Macros | |
#define | COBJMACROS |
#define COBJMACROS |
Definition at line 23 of file msiquery.c.
|
static |
Definition at line 44 of file msiquery.c.
Referenced by MSI_DatabaseOpenViewW().
UINT MSI_DatabaseApplyTransformW | ( | MSIDATABASE * | db, |
const WCHAR * | transform, | ||
int | error_cond | ||
) |
Definition at line 877 of file msiquery.c.
Referenced by MsiDatabaseApplyTransformW().
UINT MSI_DatabaseGetPrimaryKeys | ( | MSIDATABASE * | db, |
const WCHAR * | table, | ||
MSIRECORD ** | prec | ||
) |
Definition at line 1043 of file msiquery.c.
Referenced by MsiDatabaseGetPrimaryKeysW().
UINT MSI_DatabaseOpenViewW | ( | MSIDATABASE * | db, |
const WCHAR * | szQuery, | ||
MSIQUERY ** | pView | ||
) |
Definition at line 110 of file msiquery.c.
Referenced by MSI_OpenQuery(), MSI_QueryGetRecord(), and MsiDatabaseOpenViewW().
UINT MSI_IterateRecords | ( | MSIQUERY * | view, |
LPDWORD | count, | ||
record_func | func, | ||
LPVOID | param | ||
) |
Definition at line 163 of file msiquery.c.
Referenced by ACTION_AppSearch(), ACTION_BindImage(), ACTION_CCPSearch(), ACTION_CostFinalize(), ACTION_CreateFolders(), ACTION_CreateShortcuts(), ACTION_DeleteServices(), ACTION_DuplicateFiles(), ACTION_ExecuteAction(), ACTION_FindRelatedProducts(), ACTION_InstallODBC(), ACTION_InstallServices(), ACTION_InstallValidate(), ACTION_LaunchConditions(), ACTION_MigrateFeatureStates(), ACTION_MoveFiles(), ACTION_ProcessExecSequence(), ACTION_ProcessUISequence(), ACTION_PublishComponents(), ACTION_RegisterFonts(), ACTION_RegisterTypeLibraries(), ACTION_RemoveDuplicateFiles(), ACTION_RemoveEnvironmentStrings(), ACTION_RemoveExistingProducts(), ACTION_RemoveFiles(), ACTION_RemoveFolders(), ACTION_RemoveIniValues(), ACTION_RemoveODBC(), ACTION_RemoveRegistryValues(), ACTION_RemoveShortcuts(), ACTION_SelfRegModules(), ACTION_SelfUnregModules(), ACTION_SetODBCFolders(), ACTION_StartServices(), ACTION_StopServices(), ACTION_UnpublishComponents(), ACTION_UnregisterFonts(), ACTION_UnregisterTypeLibraries(), ACTION_WriteEnvironmentStrings(), ACTION_WriteIniValues(), ACTION_WriteRegistryValues(), combobox_add_items(), dialog_build_font_list(), dialog_button_handler(), dialog_evaluate_control_conditions(), dialog_fill_controls(), dialog_map_events(), dialog_radiogroup_control(), gather_merge_data(), get_assembly_display_name(), listbox_add_items(), listview_add_items(), load_all_classes(), load_all_extensions(), load_all_files(), load_all_folders(), load_all_media(), load_all_mimes(), load_all_patches(), load_all_progids(), load_all_verbs(), load_feature(), mark_patched_components(), merge_diff_tables(), MSI_DatabaseExport(), MSI_DatabaseGetPrimaryKeys(), msi_load_all_components(), msi_load_all_features(), MSI_Sequence(), publish_icons(), ui_sequence_exists(), unimplemented_action_stub(), and unpublish_icons().
UINT WINAPIV MSI_OpenQuery | ( | MSIDATABASE * | db, |
MSIQUERY ** | view, | ||
LPCWSTR | fmt, | ||
... | |||
) |
Definition at line 138 of file msiquery.c.
Referenced by ACTION_AppSearch(), ACTION_CCPSearch(), ACTION_ExecuteAction(), ACTION_ProcessExecSequence(), add_records_to_table(), combobox_add_items(), dialog_build_font_list(), dialog_button_handler(), dialog_evaluate_control_conditions(), dialog_fill_controls(), dialog_map_events(), dialog_radiogroup_control(), get_assembly_display_name(), get_assembly_record(), get_merge_table(), listbox_add_items(), listview_add_items(), load_feature(), load_file_hash(), load_folder_persistence(), mark_patched_components(), merge_diff_tables(), MSI_DatabaseExport(), MSI_DatabaseGetPrimaryKeys(), MSI_Sequence(), MsiGetProductPropertyW(), unimplemented_action_stub(), and update_merge_errors().
MSIRECORD *WINAPIV MSI_QueryGetRecord | ( | MSIDATABASE * | db, |
LPCWSTR | fmt, | ||
... | |||
) |
Definition at line 201 of file msiquery.c.
Referenced by ACTION_CustomAction(), ACTION_PerformActionSequence(), ACTION_ProcessComponents(), create_temp_binary(), dialog_get_uitext(), dialog_seltree_handler(), get_checkbox_value(), get_dialog_record(), get_signature(), HANDLE_CustomType19(), HANDLE_CustomType5_6(), ITERATE_InstallService(), load_file_disk_id(), load_given_appid(), load_given_class(), load_given_extension(), load_given_mime(), load_given_progid(), load_image(), load_patch_disk_id(), load_picture(), media_get_disk_info(), msi_get_error_message(), msi_load_media_info(), resolve_keypath(), search_components(), search_dr(), search_ini(), search_reg(), and ui_actionstart().
UINT msi_view_get_row | ( | MSIDATABASE * | db, |
MSIVIEW * | view, | ||
UINT | row, | ||
MSIRECORD ** | rec | ||
) |
Definition at line 353 of file msiquery.c.
Referenced by join_modify_update(), MSI_ViewFetch(), TABLE_get_row(), TransformView_delete_row(), and TransformView_set_row().
UINT msi_view_refresh_row | ( | MSIDATABASE * | db, |
MSIVIEW * | view, | ||
UINT | row, | ||
MSIRECORD * | rec | ||
) |
Definition at line 287 of file msiquery.c.
Referenced by msi_view_get_row(), and SELECT_modify().
Definition at line 454 of file msiquery.c.
Referenced by add_table_to_db(), create_temp_property_table(), get_property(), get_property_row(), msi_clone_properties(), MSI_IterateRecords(), MSI_QueryGetRecord(), msi_set_property(), msi_table_apply_transform(), MsiGetProductPropertyW(), MsiViewClose(), and TransformView_Create().
Definition at line 502 of file msiquery.c.
Referenced by add_stream(), add_table_to_db(), create_temp_property_table(), get_assembly_record(), get_property(), get_property_row(), is_uninstallable(), load_file_hash(), load_folder_persistence(), mark_patched_components(), merge_diff_row(), msi_clone_properties(), MSI_IterateRecords(), MSI_QueryGetRecord(), msi_set_property(), msi_table_apply_transform(), MsiGetProductPropertyW(), MsiViewExecute(), patch_add_media(), patch_offset_get_filepatches(), patch_offset_get_files(), patch_offset_modify_db(), patch_set_media_source_prop(), patch_set_offsets(), patch_update_filepatch_sequence(), TransformView_add_column(), TransformView_Create(), TransformView_create_table(), TransformView_delete_row(), TransformView_drop_table(), TransformView_insert_row(), TransformView_set_row(), and update_merge_errors().
Definition at line 377 of file msiquery.c.
Referenced by add_records_to_table(), get_assembly_record(), get_property(), get_property_row(), is_uninstallable(), load_file_hash(), load_folder_persistence(), merge_diff_row(), msi_clone_properties(), MSI_IterateRecords(), MSI_QueryGetRecord(), MsiGetProductPropertyW(), MsiViewFetch(), patch_add_media(), patch_offset_get_filepatches(), patch_offset_get_files(), patch_offset_modify_db(), patch_set_media_source_prop(), patch_set_offsets(), and TransformView_Create().
UINT MSI_ViewGetColumnInfo | ( | MSIQUERY * | query, |
MSICOLINFO | info, | ||
MSIRECORD ** | prec | ||
) |
Definition at line 602 of file msiquery.c.
Referenced by get_key_value(), get_query_columns(), get_query_types(), merge_verify_colnames(), MSI_DatabaseExport(), and MsiViewGetColumnInfo().
Definition at line 697 of file msiquery.c.
Referenced by add_records_to_table(), MsiViewModify(), patch_set_offsets(), and patch_update_file_sequence().
Definition at line 932 of file msiquery.c.
Referenced by test_invalid_functions(), and test_try_transform().
Definition at line 917 of file msiquery.c.
Referenced by MsiDatabaseApplyTransformA().
Definition at line 962 of file msiquery.c.
Referenced by create_database_suminfo(), create_database_wordcount(), create_db(), create_package_db(), generate_transform(), helper_createpackage(), set_admin_summary_info(), test_access(), test_binary(), test_costs(), test_createtable(), test_customaction1(), test_defaultdatabase(), test_deleterow(), test_emptypackage(), test_forcecodepage(), test_icon_table(), test_int_widths(), test_integers(), test_invalid_functions(), test_longstrings(), test_msibadqueries(), test_msidatabase(), test_MsiDatabaseCommit(), test_MsiGetProductProperty(), test_MsiGetSourcePath(), test_msiinsert(), test_MsiOpenDatabase(), test_shortlongsource(), test_states(), test_storages_table(), test_streamtable(), test_stringtable(), test_suminfo(), test_top_level_action(), test_try_transform(), and test_update().
UINT WINAPI MsiDatabaseGenerateTransformA | ( | MSIHANDLE | hdb, |
MSIHANDLE | hdbref, | ||
const char * | szTransformFile, | ||
int | iReserved1, | ||
int | iReserved2 | ||
) |
Definition at line 948 of file msiquery.c.
Referenced by generate_transform(), and test_invalid_functions().
UINT WINAPI MsiDatabaseGenerateTransformW | ( | MSIHANDLE | hdb, |
MSIHANDLE | hdbref, | ||
const WCHAR * | szTransformFile, | ||
int | iReserved1, | ||
int | iReserved2 | ||
) |
Definition at line 955 of file msiquery.c.
Definition at line 1127 of file msiquery.c.
Referenced by test_db(), test_fieldzero(), and test_primary_keys().
Definition at line 1078 of file msiquery.c.
Referenced by MsiDatabaseGetPrimaryKeysA(), and s_remote_DatabaseGetPrimaryKeys().
MSICONDITION WINAPI MsiDatabaseIsTablePersistentA | ( | MSIHANDLE | hDatabase, |
const char * | szTableName | ||
) |
Definition at line 1146 of file msiquery.c.
Referenced by test_alter(), test_db(), test_emptypackage(), and test_temporary_table().
MSICONDITION WINAPI MsiDatabaseIsTablePersistentW | ( | MSIHANDLE | hDatabase, |
const WCHAR * | szTableName | ||
) |
Definition at line 1165 of file msiquery.c.
Referenced by MsiDatabaseIsTablePersistentA(), and s_remote_DatabaseIsTablePersistent().
Definition at line 88 of file msiquery.c.
Referenced by do_query(), find_entry(), find_prop_in_property(), get_column_info(), get_columns_table_type(), get_integer(), get_string(), run_query(), test_carriagereturn(), test_collation(), test_columnorder(), test_createtable(), test_db(), test_dbmerge(), test_deleterow(), test_droptable(), test_emptypackage(), test_fieldzero(), test_getcolinfo(), test_handle_limit(), test_insertorder(), test_integers(), test_join(), test_longstrings(), test_msiexport(), test_msiimport(), test_msiinsert(), test_noquotes(), test_order(), test_packagecoltypes(), test_quotes(), test_rows_order(), test_select_column_names(), test_select_markers(), test_select_with_tablenames(), test_simple_patch(), test_storages_table(), test_streamtable(), test_stringtable(), test_suminfo_import(), test_system_tables(), test_tables_order(), test_temporary_table(), test_try_transform(), test_update(), test_view_get_error(), test_viewfetch_wraparound(), test_viewmodify(), test_viewmodify_assign(), test_viewmodify_delete(), test_viewmodify_delete_temporary(), test_viewmodify_insert(), test_viewmodify_merge(), test_viewmodify_refresh(), test_viewmodify_update(), test_where(), test_where_not_in_selected(), test_where_viewmodify(), and try_query_param().
Definition at line 236 of file msiquery.c.
Referenced by database_invoke(), find_entryW(), MsiDatabaseOpenViewA(), run_queryW(), s_remote_DatabaseOpenView(), and test_collation().
Definition at line 871 of file msiquery.c.
Definition at line 469 of file msiquery.c.
Referenced by do_query(), find_entry(), find_entryW(), find_prop_in_property(), get_column_info(), get_columns_table_type(), get_integer(), get_string(), run_query(), run_queryW(), s_remote_ViewClose(), test_carriagereturn(), test_collation(), test_columnorder(), test_createtable(), test_db(), test_dbmerge(), test_deleterow(), test_droptable(), test_emptypackage(), test_fieldzero(), test_getcolinfo(), test_handle_limit(), test_insertorder(), test_integers(), test_join(), test_longstrings(), test_msiexport(), test_msiimport(), test_msiinsert(), test_noquotes(), test_order(), test_quotes(), test_rows_order(), test_select_column_names(), test_select_markers(), test_select_with_tablenames(), test_simple_patch(), test_storages_table(), test_streamtable(), test_stringtable(), test_system_tables(), test_tables_order(), test_temporary_table(), test_try_transform(), test_update(), test_viewfetch_wraparound(), test_viewmodify(), test_viewmodify_assign(), test_viewmodify_delete(), test_viewmodify_delete_temporary(), test_viewmodify_refresh(), test_viewmodify_update(), test_where(), test_where_not_in_selected(), test_where_viewmodify(), try_query_param(), and view_invoke().
Definition at line 518 of file msiquery.c.
Referenced by do_query(), find_entry(), find_entryW(), find_prop_in_property(), get_column_info(), get_columns_table_type(), get_integer(), get_string(), run_query(), run_queryW(), s_remote_ViewExecute(), test_carriagereturn(), test_collation(), test_columnorder(), test_createtable(), test_db(), test_dbmerge(), test_deleterow(), test_droptable(), test_emptypackage(), test_fieldzero(), test_getcolinfo(), test_insertorder(), test_integers(), test_join(), test_longstrings(), test_msiexport(), test_msiimport(), test_msiinsert(), test_noquotes(), test_order(), test_quotes(), test_rows_order(), test_select_column_names(), test_select_markers(), test_select_with_tablenames(), test_simple_patch(), test_storages_table(), test_streamtable(), test_stringtable(), test_system_tables(), test_tables_order(), test_try_transform(), test_update(), test_view_get_error(), test_viewfetch_wraparound(), test_viewmodify(), test_viewmodify_assign(), test_viewmodify_delete(), test_viewmodify_delete_temporary(), test_viewmodify_insert(), test_viewmodify_merge(), test_viewmodify_refresh(), test_viewmodify_update(), test_where(), test_where_not_in_selected(), test_where_viewmodify(), try_query_param(), and view_invoke().
Definition at line 404 of file msiquery.c.
Referenced by do_query(), find_entry(), find_entryW(), find_prop_in_property(), get_columns_table_type(), get_integer(), get_string(), s_remote_ViewFetch(), test_carriagereturn(), test_collation(), test_columnorder(), test_db(), test_dbmerge(), test_deleterow(), test_droptable(), test_emptypackage(), test_fieldzero(), test_insertorder(), test_join(), test_longstrings(), test_msiimport(), test_msiinsert(), test_noquotes(), test_order(), test_quotes(), test_rows_order(), test_select_column_names(), test_select_markers(), test_select_with_tablenames(), test_simple_patch(), test_storages_table(), test_streamtable(), test_stringtable(), test_system_tables(), test_tables_order(), test_try_transform(), test_update(), test_viewfetch_wraparound(), test_viewmodify(), test_viewmodify_assign(), test_viewmodify_delete(), test_viewmodify_delete_temporary(), test_viewmodify_insert(), test_viewmodify_merge(), test_viewmodify_refresh(), test_viewmodify_update(), test_where(), test_where_not_in_selected(), test_where_viewmodify(), and view_invoke().
UINT WINAPI MsiViewGetColumnInfo | ( | MSIHANDLE | hView, |
MSICOLINFO | info, | ||
MSIHANDLE * | hRec | ||
) |
Definition at line 641 of file msiquery.c.
Referenced by get_column_info(), s_remote_ViewGetColumnInfo(), test_columnorder(), test_createtable(), test_db(), test_dbmerge(), test_getcolinfo(), test_integers(), test_msiimport(), test_packagecoltypes(), test_select_column_names(), test_temporary_table(), and test_try_transform().
MSIDBERROR WINAPI MsiViewGetErrorA | ( | MSIHANDLE | handle, |
char * | buffer, | ||
DWORD * | buflen | ||
) |
Definition at line 820 of file msiquery.c.
Referenced by test_view_get_error(), and test_viewmodify().
MSIDBERROR WINAPI MsiViewGetErrorW | ( | MSIHANDLE | handle, |
WCHAR * | buffer, | ||
DWORD * | buflen | ||
) |
Definition at line 769 of file msiquery.c.
Referenced by s_remote_ViewGetError().
Definition at line 719 of file msiquery.c.
Referenced by s_remote_ViewModify(), test_db(), test_join(), test_stringtable(), test_view_get_error(), test_viewmodify(), test_viewmodify_assign(), test_viewmodify_delete(), test_viewmodify_delete_temporary(), test_viewmodify_insert(), test_viewmodify_merge(), test_viewmodify_refresh(), test_viewmodify_update(), test_where_viewmodify(), and view_invoke().
Definition at line 1017 of file msiquery.c.
Referenced by MSI_DatabaseGetPrimaryKeys().
Definition at line 1200 of file msiquery.c.
UINT __cdecl s_remote_ViewExecute | ( | MSIHANDLE | view, |
struct wire_record * | remote_rec | ||
) |
Definition at line 1205 of file msiquery.c.
UINT __cdecl s_remote_ViewFetch | ( | MSIHANDLE | view, |
struct wire_record ** | rec | ||
) |
Definition at line 1219 of file msiquery.c.
UINT __cdecl s_remote_ViewGetColumnInfo | ( | MSIHANDLE | view, |
MSICOLINFO | info, | ||
struct wire_record ** | rec | ||
) |
Definition at line 1230 of file msiquery.c.
MSIDBERROR __cdecl s_remote_ViewGetError | ( | MSIHANDLE | view, |
LPWSTR * | column | ||
) |
Definition at line 1241 of file msiquery.c.
UINT __cdecl s_remote_ViewModify | ( | MSIHANDLE | view, |
MSIMODIFY | mode, | ||
struct wire_record * | remote_rec, | ||
struct wire_record ** | remote_refreshed | ||
) |
Definition at line 1257 of file msiquery.c.
|
static |
Definition at line 567 of file msiquery.c.
Referenced by MSI_ViewGetColumnInfo().
Definition at line 59 of file msiquery.c.
Referenced by SELECT_AddColumn().
WINE_DEFAULT_DEBUG_CHANNEL | ( | msi | ) |