ReactOS 0.4.16-dev-13-ge2fc578
|
#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 | msi_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 878 of file msiquery.c.
Referenced by MsiDatabaseApplyTransformW().
UINT MSI_DatabaseGetPrimaryKeys | ( | MSIDATABASE * | db, |
LPCWSTR | table, | ||
MSIRECORD ** | prec | ||
) |
Definition at line 1044 of file msiquery.c.
Referenced by create_diff_row_query(), merge_verify_primary_keys(), MSI_DatabaseExport(), msi_get_table_labels(), and 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(), dialog_map_events(), gather_merge_data(), get_assembly_display_name(), 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_combobox_add_items(), MSI_DatabaseExport(), MSI_DatabaseGetPrimaryKeys(), msi_dialog_build_font_list(), msi_dialog_button_handler(), msi_dialog_evaluate_control_conditions(), msi_dialog_fill_controls(), msi_dialog_radiogroup_control(), msi_listbox_add_items(), msi_listview_add_items(), msi_load_all_components(), msi_load_all_features(), msi_publish_icons(), MSI_Sequence(), msi_unimplemented_action_stub(), msi_unpublish_icons(), and ui_sequence_exists().
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(), dialog_map_events(), get_assembly_display_name(), get_assembly_record(), load_feature(), load_file_hash(), load_folder_persistence(), mark_patched_components(), merge_diff_tables(), msi_add_records_to_table(), msi_combobox_add_items(), MSI_DatabaseExport(), MSI_DatabaseGetPrimaryKeys(), msi_dialog_build_font_list(), msi_dialog_button_handler(), msi_dialog_evaluate_control_conditions(), msi_dialog_fill_controls(), msi_dialog_radiogroup_control(), msi_get_merge_table(), msi_listbox_add_items(), msi_listview_add_items(), MSI_Sequence(), msi_unimplemented_action_stub(), MsiGetProductPropertyW(), and update_merge_errors().
Definition at line 1018 of file msiquery.c.
Referenced by MSI_DatabaseGetPrimaryKeys().
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(), 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_patch_disk_id(), msi_dialog_get_uitext(), msi_dialog_seltree_handler(), msi_get_checkbox_value(), msi_get_dialog_record(), msi_get_error_message(), msi_load_image(), msi_load_media_info(), msi_load_picture(), msi_media_get_disk_info(), resolve_keypath(), search_components(), search_dr(), search_ini(), search_reg(), and ui_actionstart().
|
static |
Definition at line 567 of file msiquery.c.
Referenced by MSI_ViewGetColumnInfo().
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 create_temp_property_table(), get_property(), msi_add_table_to_db(), msi_clone_properties(), msi_get_property_row(), 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(), create_temp_property_table(), get_assembly_record(), get_property(), is_uninstallable(), load_file_hash(), load_folder_persistence(), mark_patched_components(), merge_diff_row(), msi_add_table_to_db(), msi_clone_properties(), msi_get_property_row(), 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 get_assembly_record(), get_property(), is_uninstallable(), load_file_hash(), load_folder_persistence(), merge_diff_row(), msi_add_records_to_table(), msi_clone_properties(), msi_get_property_row(), 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 603 of file msiquery.c.
Referenced by get_key_value(), merge_verify_colnames(), MSI_DatabaseExport(), msi_get_query_columns(), msi_get_query_types(), and MsiViewGetColumnInfo().
Definition at line 698 of file msiquery.c.
Referenced by msi_add_records_to_table(), MsiViewModify(), patch_set_offsets(), and patch_update_file_sequence().
Definition at line 933 of file msiquery.c.
Referenced by test_invalid_functions(), and test_try_transform().
Definition at line 918 of file msiquery.c.
Referenced by MsiDatabaseApplyTransformA().
Definition at line 963 of file msiquery.c.
Referenced by create_database(), 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 949 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 956 of file msiquery.c.
Definition at line 1129 of file msiquery.c.
Referenced by test_db(), test_fieldzero(), and test_primary_keys().
Definition at line 1080 of file msiquery.c.
Referenced by MsiDatabaseGetPrimaryKeysA(), and s_remote_DatabaseGetPrimaryKeys().
MSICONDITION WINAPI MsiDatabaseIsTablePersistentA | ( | MSIHANDLE | hDatabase, |
const char * | szTableName | ||
) |
Definition at line 1148 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 1167 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 872 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 642 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 821 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 770 of file msiquery.c.
Referenced by s_remote_ViewGetError().
Definition at line 720 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 1202 of file msiquery.c.
UINT __cdecl s_remote_ViewExecute | ( | MSIHANDLE | view, |
struct wire_record * | remote_rec | ||
) |
Definition at line 1207 of file msiquery.c.
UINT __cdecl s_remote_ViewFetch | ( | MSIHANDLE | view, |
struct wire_record ** | rec | ||
) |
Definition at line 1221 of file msiquery.c.
UINT __cdecl s_remote_ViewGetColumnInfo | ( | MSIHANDLE | view, |
MSICOLINFO | info, | ||
struct wire_record ** | rec | ||
) |
Definition at line 1232 of file msiquery.c.
MSIDBERROR __cdecl s_remote_ViewGetError | ( | MSIHANDLE | view, |
LPWSTR * | column | ||
) |
Definition at line 1243 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 1259 of file msiquery.c.
Definition at line 59 of file msiquery.c.
Referenced by SELECT_AddColumn().
WINE_DEFAULT_DEBUG_CHANNEL | ( | msi | ) |