ReactOS 0.4.16-dev-197-g92996da
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winerror.h"
#include "wine/debug.h"
#include "msi.h"
#include "msiquery.h"
#include "msipriv.h"
#include "objidl.h"
#include "winnls.h"
#include "ole2.h"
#include "winreg.h"
#include "shlwapi.h"
#include "query.h"
Go to the source code of this file.
Macros | |
#define | COBJMACROS |
#define | MSIFIELD_NULL 0 |
#define | MSIFIELD_INT 1 |
#define | MSIFIELD_WSTR 3 |
#define | MSIFIELD_STREAM 4 |
UINT copy_remote_record | ( | const struct wire_record * | in, |
MSIHANDLE | out | ||
) |
Definition at line 1052 of file record.c.
Referenced by MsiViewModify(), and unmarshal_record().
Definition at line 1028 of file record.c.
Referenced by MSI_FormatRecordW(), MSI_ProcessMessageVerbatim(), and table_load_transform().
Definition at line 868 of file record.c.
Referenced by MSI_RecordStreamToFile().
void free_remote_record | ( | struct wire_record * | rec | ) |
Definition at line 1149 of file record.c.
Referenced by MsiDatabaseGetPrimaryKeysW(), MsiViewFetch(), MsiViewGetColumnInfo(), and MsiViewModify().
Definition at line 500 of file record.c.
Referenced by MSI_RecordDataSize().
struct wire_record * marshal_record | ( | MSIHANDLE | handle | ) |
Definition at line 1109 of file record.c.
Referenced by s_remote_DatabaseGetPrimaryKeys(), s_remote_ViewFetch(), s_remote_ViewGetColumnInfo(), and s_remote_ViewModify().
Definition at line 921 of file record.c.
Referenced by iterate_properties(), merge_diff_row(), and MSI_FormatRecordW().
void MSI_CloseRecord | ( | MSIOBJECTHDR * | arg | ) |
Definition at line 67 of file record.c.
Referenced by MSI_CreateRecord(), and refresh_record().
Definition at line 76 of file record.c.
Referenced by ACTION_AllocateRegistrySpace(), ACTION_ExecuteAction(), ACTION_MsiPublishAssemblies(), ACTION_MsiUnpublishAssemblies(), ACTION_ProcessComponents(), ACTION_PublishFeatures(), ACTION_PublishProduct(), ACTION_RegisterClassInfo(), ACTION_RegisterExtensionInfo(), ACTION_RegisterMIMEInfo(), ACTION_RegisterProduct(), ACTION_RegisterProgIdInfo(), ACTION_RegisterUser(), ACTION_RemoveFiles(), ACTION_ResolveSource(), ACTION_ShowDialog(), ACTION_UnregisterClassInfo(), ACTION_UnregisterExtensionInfo(), ACTION_UnregisterMIMEInfo(), ACTION_UnregisterProgIdInfo(), add_stream(), arrange_record(), change_media(), construct_record(), deformat_string(), dialog_create(), dialog_seltree_handler(), event_set_target_path(), file_update_ui(), get_property_row(), get_transform_record(), internal_ui_handler(), ITERATE_AppSearch(), ITERATE_CreateFolders(), ITERATE_DeleteService(), ITERATE_DuplicateFiles(), ITERATE_FindRelatedProducts(), ITERATE_InstallODBCDataSource(), ITERATE_InstallODBCDriver(), ITERATE_InstallODBCTranslator(), ITERATE_MoveFiles(), ITERATE_PublishComponent(), ITERATE_RegisterFonts(), ITERATE_RemoveDuplicateFiles(), ITERATE_RemoveEnvironmentString(), ITERATE_RemoveFiles(), ITERATE_RemoveFolders(), ITERATE_RemoveIniValuesOnInstall(), ITERATE_RemoveIniValuesOnUninstall(), ITERATE_RemoveODBCDataSource(), ITERATE_RemoveODBCDriver(), ITERATE_RemoveODBCTranslator(), ITERATE_RemoveRegistryValuesOnInstall(), ITERATE_RemoveRegistryValuesOnUninstall(), ITERATE_SelfRegModules(), ITERATE_SelfUnregModules(), ITERATE_StartService(), ITERATE_StopService(), ITERATE_UnpublishComponent(), ITERATE_UnregisterFonts(), ITERATE_WriteEnvironmentString(), ITERATE_WriteIniValues(), ITERATE_WriteRegistryValues(), msi_clone_properties(), MSI_CloneRecord(), msi_create_table(), MSI_DatabaseGetPrimaryKeys(), MSI_OpenPackageW(), msi_query_merge_record(), msi_set_property(), msi_ui_progress(), msi_view_get_row(), MSI_ViewGetColumnInfo(), MsiCreateRecord(), patch_add_media(), patch_offset_get_filepatches(), patch_offset_get_files(), patch_offset_modify_db(), patch_update_filepatch_sequence(), SELECT_set_row(), TABLE_add_column(), TABLE_drop(), TABLE_remove_column(), translate_record(), ui_actioninfo(), ui_actionstart(), unpublish_feature(), UPDATE_execute(), and WHERE_set_row().
Definition at line 1002 of file record.c.
Referenced by get_ini_file_name(), get_key_value(), get_link_file(), get_signature(), internal_ui_handler(), iterate_load_verb(), ITERATE_RegisterFonts(), ITERATE_UnregisterFonts(), load_appid(), load_class(), load_component(), load_extension(), load_feature(), load_file(), load_folder(), load_mime(), load_progid(), MSI_FormatRecordW(), msi_get_error_message(), MSI_ProcessMessage(), patch_add_media(), patch_offset_get_filepatches(), patch_offset_get_files(), and search_ini().
Definition at line 49 of file record.c.
Referenced by copy_remote_record(), MSI_CloseRecord(), msi_record_set_string(), MSI_RecordSetInteger(), MSI_RecordSetIStream(), MSI_RecordSetStream(), and MsiRecordClearData().
Definition at line 420 of file record.c.
Referenced by get_table_value_from_record(), ITERATE_WriteRegistryValues(), MSI_RecordGetString(), msi_select_update(), MsiGetPropertyA(), MsiGetPropertyW(), record_to_row(), TABLE_set_row(), table_validate_new(), TransformView_Create(), and TransformView_create_table().
Definition at line 573 of file record.c.
Referenced by get_transform_record(), MSI_RecordSetStringW(), msi_set_property(), and msi_view_refresh_row().
Definition at line 166 of file record.c.
Referenced by arrange_record(), msi_clone_properties(), MSI_CloneRecord(), msi_query_merge_record(), refresh_record(), SELECT_set_row(), translate_record(), UPDATE_execute(), and WHERE_set_row().
Definition at line 511 of file record.c.
Referenced by MsiRecordDataSize().
Definition at line 108 of file record.c.
Referenced by arrange_record(), build_default_format(), create_diff_row_query(), export_record(), get_query_columns(), get_query_types(), get_table_labels(), join_modify_update(), merge_verify_colnames(), merge_verify_primary_keys(), MSI_CloneRecord(), MSI_FormatRecordW(), MsiRecordGetFieldCount(), refresh_record(), and UPDATE_execute().
Definition at line 213 of file record.c.
Referenced by ACTION_CustomAction(), ACTION_ProcessComponents(), dialog_add_control(), dialog_add_font(), dialog_adjust_dialog_pos(), dialog_bitmap_control(), dialog_button_control(), dialog_combo_control(), dialog_create(), dialog_create_window(), dialog_directory_combo(), dialog_directory_list(), dialog_handle_event(), dialog_hyperlink(), dialog_icon_control(), dialog_list_box(), dialog_listview(), dialog_oncreate(), dialog_pathedit_control(), dialog_progress_bar(), dialog_radiogroup_control(), dialog_selection_tree(), dialog_text_control(), dialog_volumeselect_combo(), get_signature(), get_table_value_from_record(), internal_ui_handler(), ITERATE_CostFinalizeConditions(), ITERATE_CreateShortcuts(), ITERATE_DeleteService(), ITERATE_FindRelatedProducts(), ITERATE_InstallODBCDataSource(), ITERATE_InstallService(), iterate_load_verb(), ITERATE_MigrateFeatureStates(), ITERATE_MoveFiles(), ITERATE_RemoveExistingProducts(), ITERATE_RemoveFiles(), ITERATE_RemoveIniValuesOnInstall(), ITERATE_RemoveIniValuesOnUninstall(), ITERATE_RemoveODBCDataSource(), ITERATE_RemoveRegistryValuesOnInstall(), ITERATE_RemoveRegistryValuesOnUninstall(), ITERATE_StartService(), ITERATE_StopService(), ITERATE_UnregisterTypeLibraries(), ITERATE_WriteIniValues(), ITERATE_WriteRegistryValues(), load_class(), load_component(), load_feature(), load_file(), load_file_disk_id(), load_file_hash(), load_media(), load_patch(), load_patch_disk_id(), load_progid(), msi_load_assembly(), msi_load_media_info(), MSI_ProcessMessage(), msi_select_update(), MsiRecordGetInteger(), patch_add_media(), patch_offset_get_filepatches(), patch_offset_get_files(), patch_set_offsets(), patch_update_file_sequence(), patch_update_filepatch_sequence(), primary_key_iterator(), record_to_row(), resolve_keypath(), search_components(), search_dr(), search_ini(), search_reg(), table_load_transform(), table_validate_new(), and WHERE_evaluate().
Definition at line 852 of file record.c.
Referenced by load_picture(), MSI_RecordStreamToFile(), msi_select_update(), STORAGES_set_row(), STREAMS_set_row(), and TABLE_set_row().
Definition at line 433 of file record.c.
Referenced by ACTION_CustomAction(), ACTION_PerformActionSequence(), combobox_add_item(), create_diff_row_query(), dialog_add_control(), dialog_add_font(), dialog_checkbox_control(), dialog_combo_control(), dialog_control_event(), dialog_create(), dialog_create_controls(), dialog_create_radiobutton(), dialog_create_window(), dialog_directory_combo(), dialog_directory_list(), dialog_edit_control(), dialog_get_uitext(), dialog_handle_event(), dialog_hyperlink(), dialog_list_box(), dialog_listview(), dialog_maskedit_control(), dialog_oncreate(), dialog_pathedit_control(), dialog_radiogroup_control(), dialog_scrolltext_control(), dialog_selection_tree(), dialog_seltree_handler(), dialog_set_control_condition(), dialog_text_control(), dialog_vcl_add_columns(), dialog_volumeselect_combo(), find_feature_children(), find_folder_children(), get_assembly_name_attribute(), get_assembly_record(), get_deformatted_field(), get_duplicate_filename(), get_ini_file_name(), get_key_value(), get_link_file(), get_property(), get_query_columns(), get_query_types(), get_table_labels(), HANDLE_CustomType19(), internal_ui_handler(), is_uninstallable(), ITERATE_Actions(), iterate_all_classes(), iterate_all_extensions(), iterate_all_mimes(), iterate_all_progids(), ITERATE_AppSearch(), ITERATE_BindImage(), ITERATE_CCPSearch(), ITERATE_CostFinalizeConditions(), ITERATE_CreateFolders(), ITERATE_CreateShortcuts(), ITERATE_DeleteService(), ITERATE_DuplicateFiles(), ITERATE_FindRelatedProducts(), ITERATE_InstallODBCDataSource(), ITERATE_InstallODBCDriver(), ITERATE_InstallODBCTranslator(), ITERATE_InstallService(), ITERATE_LaunchConditions(), iterate_load_featurecomponents(), iterate_load_verb(), ITERATE_MigrateFeatureStates(), ITERATE_MoveFiles(), iterate_patched_component(), ITERATE_PublishComponent(), ITERATE_PublishIcon(), ITERATE_RegisterFonts(), ITERATE_RegisterTypeLibraries(), ITERATE_RemoveDuplicateFiles(), ITERATE_RemoveEnvironmentString(), ITERATE_RemoveExistingProducts(), ITERATE_RemoveFiles(), ITERATE_RemoveFolders(), ITERATE_RemoveIniValuesOnInstall(), ITERATE_RemoveIniValuesOnUninstall(), ITERATE_RemoveODBCDataSource(), ITERATE_RemoveODBCDriver(), ITERATE_RemoveODBCTranslator(), ITERATE_RemoveRegistryValuesOnInstall(), ITERATE_RemoveRegistryValuesOnUninstall(), ITERATE_RemoveShortcuts(), ITERATE_SelfRegModules(), ITERATE_SelfUnregModules(), ITERATE_StartService(), ITERATE_StopService(), ITERATE_UnpublishComponent(), ITERATE_UnpublishIcon(), ITERATE_UnregisterFonts(), ITERATE_UnregisterTypeLibraries(), ITERATE_WriteEnvironmentString(), ITERATE_WriteIniValues(), ITERATE_WriteRegistryValues(), join_find_row(), listbox_add_item(), listview_add_item(), load_appid(), load_class(), load_extension(), load_file(), load_media(), load_mime(), load_patch(), load_progid(), map_event(), media_get_disk_info(), merge_diff_tables(), merge_verify_colnames(), merge_verify_primary_keys(), MSI_FormatRecordW(), msi_load_assembly(), msi_load_media_info(), MsiGetProductPropertyW(), patch_set_media_source_prop(), patch_update_file_sequence(), patch_update_filepatch_sequence(), primary_key_iterator(), resolve_keypath(), search_components(), search_dr(), search_reg(), storages_find_row(), STORAGES_set_row(), streams_find_row(), STREAMS_set_row(), STRING_evaluate(), and ui_actionstart().
Definition at line 351 of file record.c.
Referenced by export_field(), and MsiRecordGetStringA().
Definition at line 438 of file record.c.
Referenced by msi_dup_record_field(), and MsiRecordGetStringW().
Definition at line 321 of file record.c.
Referenced by deformat_index(), get_duplicate_filename(), get_table_value_from_record(), ITERATE_CreateShortcuts(), ITERATE_MoveFiles(), ITERATE_RegisterFonts(), ITERATE_RemoveRegistryValuesOnUninstall(), ITERATE_UnregisterFonts(), ITERATE_WriteRegistryValues(), load_appid(), load_class(), load_feature(), load_progid(), msi_dup_record_field(), MSI_ProcessMessage(), MsiRecordIsNull(), row_has_null_primary_keys(), search_dr(), and TABLE_set_row().
Definition at line 761 of file record.c.
Referenced by create_temp_binary(), export_stream(), HANDLE_CustomType5_6(), ITERATE_PublishIcon(), and MsiRecordReadStream().
Definition at line 986 of file record.c.
Referenced by merge_diff_row().
Definition at line 957 of file record.c.
Referenced by join_modify_update(), and MSI_RecordsAreEqual().
Definition at line 280 of file record.c.
Referenced by ACTION_AllocateRegistrySpace(), ACTION_ExecuteAction(), ACTION_ResolveSource(), ACTION_ShowDialog(), change_media(), construct_record(), copy_remote_record(), file_update_ui(), get_transform_record(), internal_ui_handler(), ITERATE_DuplicateFiles(), ITERATE_InstallODBCDataSource(), ITERATE_MoveFiles(), ITERATE_RemoveEnvironmentString(), ITERATE_RemoveODBCDataSource(), ITERATE_WriteEnvironmentString(), msi_create_table(), MSI_OpenPackageW(), msi_query_merge_record(), msi_ui_progress(), msi_view_refresh_row(), MSI_ViewFetch(), MsiRecordSetInteger(), patch_add_media(), patch_offset_get_filepatches(), patch_offset_get_files(), patch_offset_modify_db(), patch_set_offsets(), patch_update_file_sequence(), patch_update_filepatch_sequence(), TABLE_add_column(), table_load_transform(), TABLE_remove_column(), and ui_actioninfo().
Definition at line 836 of file record.c.
Referenced by add_stream(), copy_remote_record(), and msi_view_refresh_row().
Definition at line 671 of file record.c.
Referenced by get_transform_record(), and MSI_RecordSetStreamFromFileW().
Definition at line 683 of file record.c.
Referenced by construct_record(), and MsiRecordSetStreamW().
Definition at line 597 of file record.c.
Referenced by ACTION_ExecuteAction(), ACTION_MsiPublishAssemblies(), ACTION_MsiUnpublishAssemblies(), ACTION_ProcessComponents(), ACTION_PublishFeatures(), ACTION_PublishProduct(), ACTION_RegisterClassInfo(), ACTION_RegisterExtensionInfo(), ACTION_RegisterMIMEInfo(), ACTION_RegisterProduct(), ACTION_RegisterProgIdInfo(), ACTION_RegisterUser(), ACTION_RemoveFiles(), ACTION_ResolveSource(), ACTION_ShowDialog(), ACTION_UnregisterClassInfo(), ACTION_UnregisterExtensionInfo(), ACTION_UnregisterMIMEInfo(), ACTION_UnregisterProgIdInfo(), add_stream(), change_media(), construct_record(), copy_remote_record(), deformat_string(), dialog_create(), dialog_seltree_handler(), event_set_target_path(), file_update_ui(), get_property_row(), internal_ui_handler(), ITERATE_AppSearch(), ITERATE_CreateFolders(), ITERATE_DeleteService(), ITERATE_DuplicateFiles(), ITERATE_FindRelatedProducts(), ITERATE_InstallODBCDataSource(), ITERATE_InstallODBCDriver(), ITERATE_InstallODBCTranslator(), ITERATE_MoveFiles(), iterate_properties(), ITERATE_PublishComponent(), ITERATE_RegisterFonts(), ITERATE_RemoveDuplicateFiles(), ITERATE_RemoveEnvironmentString(), ITERATE_RemoveFiles(), ITERATE_RemoveFolders(), ITERATE_RemoveIniValuesOnInstall(), ITERATE_RemoveIniValuesOnUninstall(), ITERATE_RemoveODBCDataSource(), ITERATE_RemoveODBCDriver(), ITERATE_RemoveODBCTranslator(), ITERATE_RemoveRegistryValuesOnInstall(), ITERATE_RemoveRegistryValuesOnUninstall(), ITERATE_SelfRegModules(), ITERATE_SelfUnregModules(), ITERATE_StartService(), ITERATE_StopService(), ITERATE_UnpublishComponent(), ITERATE_UnregisterFonts(), ITERATE_WriteEnvironmentString(), ITERATE_WriteIniValues(), ITERATE_WriteRegistryValues(), msi_create_table(), MSI_DatabaseExport(), MSI_FormatRecordW(), MSI_OpenPackageW(), MSI_ProcessMessage(), msi_query_merge_record(), MSI_ViewGetColumnInfo(), MsiRecordSetStringA(), MsiRecordSetStringW(), patch_add_media(), patch_update_filepatch_sequence(), primary_key_iterator(), set_record_type_string(), TABLE_add_column(), TABLE_drop(), TABLE_remove_column(), ui_actioninfo(), ui_actionstart(), and unpublish_feature().
Definition at line 900 of file record.c.
Referenced by load_image().
Definition at line 155 of file record.c.
Referenced by ACTION_ExecuteAction(), msi_record_set_string(), MSI_RecordCopyField(), and parse_value().
Definition at line 92 of file record.c.
Referenced by __WINE_PRINTF_ATTR(), add_custom_dll(), generate_transform(), InstallerImpl_CreateRecord(), query_file_path(), test_binary(), test_customaction1(), test_db(), test_dbmerge(), test_externalui(), test_externalui_message(), test_fieldzero(), test_format_record(), test_formatrecord(), test_formatrecord2(), test_formatrecord_package(), test_formatrecord_tables(), test_icon_table(), test_markers(), test_msiinsert(), test_msirecord(), test_MsiRecordGetInteger(), test_MsiRecordGetString(), test_processmessage(), test_select_markers(), test_storages_table(), test_streamtable(), test_stringtable(), test_try_transform(), test_update(), test_view_get_error(), test_viewmodify(), test_viewmodify_assign(), test_viewmodify_delete_temporary(), test_viewmodify_insert(), test_viewmodify_merge(), test_viewmodify_update(), test_where(), test_where_viewmodify(), try_insert_query(), and unmarshal_record().
Definition at line 256 of file record.c.
Referenced by test_msirecord().
Definition at line 532 of file record.c.
Referenced by test_msirecord().
Definition at line 113 of file record.c.
Referenced by check_record_(), externalui_message_callback(), externalui_record_callback(), record_invoke(), test_db(), test_integers(), test_msiinsert(), test_msirecord(), and test_packagecoltypes().
Definition at line 237 of file record.c.
Referenced by externalui_record_callback(), get_columns_table_type(), get_integer(), MsiProcessMessage(), ok_callback(), record_invoke(), test_db(), test_dbmerge(), test_fieldzero(), test_insertorder(), test_integers(), test_msiinsert(), test_msirecord(), test_MsiRecordGetInteger(), test_order(), test_select_with_tablenames(), test_update(), test_viewfetch_wraparound(), test_viewmodify_delete_temporary(), test_viewmodify_update(), and test_where_viewmodify().
UINT WINAPI MsiRecordGetStringA | ( | MSIHANDLE | handle, |
UINT | iField, | ||
char * | szValue, | ||
DWORD * | pcchValue | ||
) |
Definition at line 403 of file record.c.
Referenced by check_record(), check_record_(), externalui_message_callback(), find_prop_in_property(), get_string(), ok_callback(), test_binary(), test_binary_import(), test_collation(), test_createtable(), test_db(), test_embedded_nulls(), test_emptypackage(), test_fieldzero(), test_longstrings(), test_msiinsert(), test_msirecord(), test_MsiRecordGetString(), test_primary_keys(), test_storages_table(), test_streamtable(), and test_try_transform().
UINT WINAPI MsiRecordGetStringW | ( | MSIHANDLE | handle, |
UINT | iField, | ||
WCHAR * | szValue, | ||
DWORD * | pcchValue | ||
) |
Definition at line 482 of file record.c.
Referenced by record_invoke(), test_collation(), and test_msirecord().
Definition at line 333 of file record.c.
Referenced by test_fieldzero(), test_msiinsert(), and test_msirecord().
Definition at line 819 of file record.c.
Referenced by test_binary(), test_binary_import(), test_db(), test_dbmerge(), test_msirecord(), test_storages_table(), test_streamtable(), and test_try_transform().
Definition at line 303 of file record.c.
Referenced by __WINE_PRINTF_ATTR(), generate_transform(), record_invoke(), test_db(), test_externalui(), test_externalui_message(), test_fieldzero(), test_format_record(), test_formatrecord(), test_markers(), test_msiinsert(), test_msirecord(), test_MsiRecordGetString(), test_processmessage(), test_select_markers(), test_stringtable(), test_try_transform(), test_update(), 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(), and test_where_viewmodify().
Definition at line 724 of file record.c.
Referenced by add_custom_dll(), generate_transform(), test_binary(), test_customaction1(), test_dbmerge(), test_icon_table(), test_msirecord(), test_storages_table(), test_streamtable(), and test_try_transform().
Definition at line 743 of file record.c.
Referenced by MsiRecordSetStreamA().
Definition at line 549 of file record.c.
Referenced by __WINE_PRINTF_ATTR(), query_file_path(), test_db(), test_externalui(), test_externalui_message(), test_fieldzero(), test_format_record(), test_formatrecord(), test_formatrecord2(), test_formatrecord_package(), test_formatrecord_tables(), test_join(), test_markers(), test_msiinsert(), test_msirecord(), test_MsiRecordGetInteger(), test_processmessage(), test_select_markers(), test_storages_table(), test_streamtable(), test_stringtable(), test_update(), test_viewmodify(), test_viewmodify_refresh(), test_where(), and try_insert_query().
Definition at line 604 of file record.c.
Referenced by record_invoke().
Definition at line 623 of file record.c.
Referenced by MSI_RecordSetStreamFromFileW().
UINT unmarshal_record | ( | const struct wire_record * | in, |
MSIHANDLE * | out | ||
) |
Definition at line 1095 of file record.c.
Referenced by MsiDatabaseGetPrimaryKeysW(), MsiViewFetch(), MsiViewGetColumnInfo(), s_remote_FormatRecord(), s_remote_ProcessMessage(), s_remote_ViewExecute(), and s_remote_ViewModify().
WINE_DEFAULT_DEBUG_CHANNEL | ( | msidb | ) |