ReactOS 0.4.16-dev-852-gcfcc8d8
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "winnls.h"
#include "shlwapi.h"
#include "wine/debug.h"
#include "msi.h"
#include "msipriv.h"
#include "wincrypt.h"
#include "winver.h"
#include "winuser.h"
#include "sddl.h"
Go to the source code of this file.
Macros | |
#define | COBJMACROS |
Variables | |
static const unsigned char | table_dec85 [0x80] |
static const char | table_enc85 [] |
#define COBJMACROS |
Definition at line 24 of file registry.c.
|
static |
Definition at line 1734 of file registry.c.
Referenced by enum_patches().
Definition at line 132 of file registry.c.
Referenced by MSI_ProvideQualifiedComponentEx(), MsiDecomposeDescriptorW(), and query_feature_state().
Definition at line 165 of file registry.c.
Referenced by ACTION_MsiPublishAssemblies(), ACTION_PublishFeatures(), and msi_create_component_advertise_string().
|
static |
Definition at line 1266 of file registry.c.
Referenced by ciffile_EnumComponents(), group_EnumComponents(), InstallEngine_EnumDownloadIDs(), and MsiEnumComponentsExW().
|
static |
Definition at line 1900 of file registry.c.
Referenced by MsiEnumPatchesExW(), and MsiEnumPatchesW().
|
static |
Definition at line 2273 of file registry.c.
Referenced by MsiEnumProductsExW().
|
static |
Definition at line 1151 of file registry.c.
Referenced by enum_components().
|
static |
Definition at line 2137 of file registry.c.
Referenced by enum_products().
|
static |
Definition at line 1196 of file registry.c.
Referenced by enum_components().
|
static |
Definition at line 2188 of file registry.c.
Referenced by enum_products().
|
static |
Definition at line 1690 of file registry.c.
Referenced by check_product_patches().
Definition at line 269 of file registry.c.
Referenced by enum_components(), enum_patches(), enum_products(), MSIREG_DeleteUserDataComponentKey(), MSIREG_DeleteUserDataPatchKey(), MSIREG_DeleteUserDataProductKey(), MSIREG_OpenFeaturesKey(), MSIREG_OpenInstallProps(), MSIREG_OpenProductKey(), MSIREG_OpenUserDataComponentKey(), MSIREG_OpenUserDataFeaturesKey(), MSIREG_OpenUserDataPatchKey(), MSIREG_OpenUserDataProductKey(), and MSIREG_OpenUserDataProductPatchesKey().
|
static |
Definition at line 1412 of file registry.c.
Referenced by MsiEnumComponentQualifiersA(), and MsiEnumComponentQualifiersW().
Definition at line 262 of file registry.c.
Referenced by MSI_GetComponentPath(), MsiQueryProductStateW(), and reg_get_value().
Definition at line 243 of file registry.c.
Definition at line 230 of file registry.c.
Referenced by ACTION_RegisterClassInfo(), ACTION_RegisterMIMEInfo(), register_progid(), and register_verb().
Definition at line 225 of file registry.c.
Referenced by publish_install_properties(), publish_product_properties(), and write_shared_dlls_count().
Definition at line 217 of file registry.c.
Referenced by ITERATE_PublishComponent(), publish_product_properties(), and register_verb().
Definition at line 209 of file registry.c.
Referenced by ACTION_ForceReboot(), ACTION_ProcessComponents(), ACTION_PublishFeatures(), ACTION_RegisterClassInfo(), ACTION_RegisterExtensionInfo(), ACTION_RegisterProduct(), ACTION_RegisterUser(), ITERATE_RegisterFonts(), msi_reg_set_subkey_val(), MsiSourceListSetInfoW(), publish_install_properties(), publish_product_properties(), publish_upgrade_code(), register_appid(), register_progid(), and register_verb().
Definition at line 188 of file registry.c.
Referenced by ITERATE_FindRelatedProducts(), publish_install_properties(), and publish_product_properties().
UINT WINAPI MsiDecomposeDescriptorA | ( | LPCSTR | szDescriptor, |
LPSTR | szProduct, | ||
LPSTR | szFeature, | ||
LPSTR | szComponent, | ||
LPDWORD | pUsed | ||
) |
Definition at line 984 of file registry.c.
UINT WINAPI MsiDecomposeDescriptorW | ( | LPCWSTR | szDescriptor, |
LPWSTR | szProduct, | ||
LPWSTR | szFeature, | ||
LPWSTR | szComponent, | ||
LPDWORD | pUsed | ||
) |
Definition at line 927 of file registry.c.
Referenced by MSI_EnumComponentQualifiers(), MSI_ProvideQualifiedComponentEx(), MsiDecomposeDescriptorA(), and MsiGetShortcutTargetW().
Definition at line 1328 of file registry.c.
Referenced by test_MsiEnumClients().
UINT WINAPI MsiEnumClientsExA | ( | const char * | component, |
const char * | usersid, | ||
DWORD | ctx, | ||
DWORD | index, | ||
char | installed_product[GUID_SIZE], | ||
MSIINSTALLCONTEXT * | installed_ctx, | ||
char * | sid, | ||
DWORD * | sid_len | ||
) |
Definition at line 1394 of file registry.c.
UINT WINAPI MsiEnumClientsExW | ( | const WCHAR * | component, |
const WCHAR * | usersid, | ||
DWORD | ctx, | ||
DWORD | index, | ||
WCHAR | installed_product[GUID_SIZE], | ||
MSIINSTALLCONTEXT * | installed_ctx, | ||
WCHAR * | sid, | ||
DWORD * | sid_len | ||
) |
Definition at line 1403 of file registry.c.
Definition at line 1355 of file registry.c.
Referenced by MsiEnumClientsA().
UINT WINAPI MsiEnumComponentQualifiersA | ( | const char * | szComponent, |
DWORD | iIndex, | ||
char * | lpQualifierBuf, | ||
DWORD * | pcchQualifierBuf, | ||
char * | lpApplicationDataBuf, | ||
DWORD * | pcchApplicationDataBuf | ||
) |
Definition at line 1505 of file registry.c.
UINT WINAPI MsiEnumComponentQualifiersW | ( | const WCHAR * | szComponent, |
DWORD | iIndex, | ||
WCHAR * | lpQualifierBuf, | ||
DWORD * | pcchQualifierBuf, | ||
WCHAR * | lpApplicationDataBuf, | ||
DWORD * | pcchApplicationDataBuf | ||
) |
Definition at line 1535 of file registry.c.
Definition at line 1099 of file registry.c.
Referenced by test_MsiEnumComponents().
UINT WINAPI MsiEnumComponentsExA | ( | const char * | user_sid, |
DWORD | ctx, | ||
DWORD | index, | ||
CHAR | guid[39], | ||
MSIINSTALLCONTEXT * | installed_ctx, | ||
char * | sid, | ||
DWORD * | sid_len | ||
) |
Definition at line 1124 of file registry.c.
Referenced by test_MsiEnumComponentsEx().
UINT WINAPI MsiEnumComponentsExW | ( | const WCHAR * | user_sid, |
DWORD | ctx, | ||
DWORD | index, | ||
WCHAR | guid[39], | ||
MSIINSTALLCONTEXT * | installed_ctx, | ||
WCHAR * | sid, | ||
DWORD * | sid_len | ||
) |
Definition at line 1301 of file registry.c.
Referenced by MsiEnumComponentsExA(), and MsiEnumComponentsW().
Definition at line 1115 of file registry.c.
Referenced by MsiEnumComponentsA().
UINT WINAPI MsiEnumFeaturesA | ( | const char * | szProduct, |
DWORD | index, | ||
char * | szFeature, | ||
char * | szParent | ||
) |
Definition at line 1051 of file registry.c.
UINT WINAPI MsiEnumFeaturesW | ( | const WCHAR * | szProduct, |
DWORD | index, | ||
WCHAR * | szFeature, | ||
WCHAR * | szParent | ||
) |
Definition at line 1078 of file registry.c.
Referenced by MsiEnumFeaturesA(), and test_null().
UINT WINAPI MsiEnumPatchesA | ( | const char * | szProduct, |
DWORD | iPatchIndex, | ||
char * | lpPatchBuf, | ||
char * | lpTransformsBuf, | ||
DWORD * | pcchTransformsBuf | ||
) |
Definition at line 2000 of file registry.c.
Referenced by test_MsiEnumPatches().
UINT WINAPI MsiEnumPatchesExA | ( | const char * | szProductCode, |
const char * | szUserSid, | ||
DWORD | dwContext, | ||
DWORD | dwFilter, | ||
DWORD | dwIndex, | ||
char * | szPatchCode, | ||
char * | szTargetProductCode, | ||
MSIINSTALLCONTEXT * | pdwTargetProductContext, | ||
char * | szTargetUserSid, | ||
DWORD * | pcchTargetUserSid | ||
) |
Definition at line 1618 of file registry.c.
Referenced by test_MsiEnumPatchesEx(), test_MsiEnumPatchesEx_machine(), test_MsiEnumPatchesEx_usermanaged(), test_MsiEnumPatchesEx_userunmanaged(), and test_patch_registration().
UINT WINAPI MsiEnumPatchesExW | ( | const WCHAR * | szProductCode, |
const WCHAR * | szUserSid, | ||
DWORD | dwContext, | ||
DWORD | dwFilter, | ||
DWORD | dwIndex, | ||
WCHAR * | szPatchCode, | ||
WCHAR * | szTargetProductCode, | ||
MSIINSTALLCONTEXT * | pdwTargetProductContext, | ||
WCHAR * | szTargetUserSid, | ||
DWORD * | pcchTargetUserSid | ||
) |
Definition at line 1949 of file registry.c.
Referenced by MSI_OpenPackageW(), and MsiEnumPatchesExA().
UINT WINAPI MsiEnumPatchesW | ( | const WCHAR * | szProduct, |
DWORD | iPatchIndex, | ||
WCHAR * | lpPatchBuf, | ||
WCHAR * | lpTransformsBuf, | ||
DWORD * | pcchTransformsBuf | ||
) |
Definition at line 2054 of file registry.c.
Referenced by MsiEnumPatchesA(), and test_MsiEnumPatches().
Definition at line 1024 of file registry.c.
Referenced by test_MsiEnumProducts().
UINT WINAPI MsiEnumProductsExA | ( | const char * | product, |
const char * | usersid, | ||
DWORD | ctx, | ||
DWORD | index, | ||
char | installed_product[GUID_SIZE], | ||
MSIINSTALLCONTEXT * | installed_ctx, | ||
char * | sid, | ||
DWORD * | sid_len | ||
) |
Definition at line 2100 of file registry.c.
Referenced by test_MsiEnumProductsEx().
UINT WINAPI MsiEnumProductsExW | ( | const WCHAR * | product, |
const WCHAR * | usersid, | ||
DWORD | ctx, | ||
DWORD | index, | ||
WCHAR | installed_product[GUID_SIZE], | ||
MSIINSTALLCONTEXT * | installed_ctx, | ||
WCHAR * | sid, | ||
DWORD * | sid_len | ||
) |
Definition at line 2309 of file registry.c.
Referenced by MsiEnumProductsExA(), and MsiEnumProductsW().
Definition at line 1040 of file registry.c.
Referenced by create_list(), get_products_count(), MsiEnumProductsA(), and MsiGetPatchInfoW().
UINT WINAPI MsiEnumRelatedProductsA | ( | const char * | szUpgradeCode, |
DWORD | dwReserved, | ||
DWORD | iProductIndex, | ||
char * | lpProductBuf | ||
) |
Definition at line 1588 of file registry.c.
UINT WINAPI MsiEnumRelatedProductsW | ( | const WCHAR * | szUpgradeCode, |
DWORD | dwReserved, | ||
DWORD | iProductIndex, | ||
WCHAR * | lpProductBuf | ||
) |
Definition at line 1557 of file registry.c.
Referenced by create_list(), get_products_count(), and MsiEnumRelatedProductsA().
Definition at line 890 of file registry.c.
Referenced by remove_product_upgrade_code().
Definition at line 858 of file registry.c.
Referenced by ACTION_UnpublishProduct().
Definition at line 841 of file registry.c.
Referenced by ACTION_UnpublishProduct().
Definition at line 751 of file registry.c.
Referenced by ACTION_UnpublishProduct().
Definition at line 319 of file registry.c.
Definition at line 812 of file registry.c.
Referenced by remove_product_upgrade_code().
Definition at line 552 of file registry.c.
Referenced by ACTION_ProcessComponents().
UINT MSIREG_DeleteUserDataPatchKey | ( | LPCWSTR | patch, |
MSIINSTALLCONTEXT | context | ||
) |
Definition at line 636 of file registry.c.
Referenced by ACTION_UnpublishProduct().
UINT MSIREG_DeleteUserDataProductKey | ( | LPCWSTR | szProduct, |
MSIINSTALLCONTEXT | context | ||
) |
Definition at line 720 of file registry.c.
Referenced by ACTION_RegisterUser(), and ACTION_UnpublishProduct().
Definition at line 445 of file registry.c.
Referenced by ACTION_UnpublishProduct().
Definition at line 378 of file registry.c.
Referenced by ACTION_UnpublishProduct().
Definition at line 829 of file registry.c.
Referenced by remove_product_upgrade_code().
Definition at line 875 of file registry.c.
Referenced by ITERATE_MigrateFeatureStates(), publish_upgrade_code(), and remove_product_upgrade_code().
UINT MSIREG_OpenFeaturesKey | ( | LPCWSTR | szProduct, |
LPCWSTR | szUserSid, | ||
MSIINSTALLCONTEXT | context, | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 404 of file registry.c.
Referenced by ACTION_PublishFeatures(), query_feature_state(), and unpublish_feature().
Definition at line 457 of file registry.c.
Referenced by MsiEnumFeaturesW().
UINT MSIREG_OpenInstallProps | ( | LPCWSTR | szProduct, |
MSIINSTALLCONTEXT | dwContext, | ||
LPCWSTR | szUserSid, | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 692 of file registry.c.
Referenced by ACTION_RegisterProduct(), ACTION_RegisterUser(), comp_find_package(), get_install_location(), get_registered_local_package(), MSI_GetComponentPath(), MSI_GetProductInfo(), MSI_GetUserInfo(), MSI_OpenProductW(), MsiGetPatchInfoExW(), MsiGetProductInfoExW(), MsiQueryProductStateW(), and open_package().
Definition at line 768 of file registry.c.
Referenced by OpenSourceKey().
UINT MSIREG_OpenProductKey | ( | LPCWSTR | szProduct, |
LPCWSTR | szUserSid, | ||
MSIINSTALLCONTEXT | context, | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 338 of file registry.c.
Referenced by ACTION_PublishProduct(), check_product_patches(), comp_find_prod_key(), ITERATE_FindRelatedProducts(), MSI_GetComponentPath(), MSI_GetProductInfo(), MSI_GetUserInfo(), msi_locate_product(), MsiEnumPatchesW(), MsiGetPatchInfoExW(), MsiGetProductCodeW(), MsiGetProductInfoExW(), MsiQueryProductStateW(), MsiSourceListAddSourceW(), OpenSourceKey(), and publish_patches().
UINT MSIREG_OpenUninstallKey | ( | const WCHAR * | product, |
enum platform platform | , | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 302 of file registry.c.
Definition at line 783 of file registry.c.
Referenced by ACTION_RegisterProduct(), ITERATE_FindRelatedProducts(), MsiEnumRelatedProductsW(), and remove_product_upgrade_code().
Definition at line 505 of file registry.c.
Referenced by ITERATE_PublishComponent(), MSI_EnumComponentQualifiers(), and MSI_ProvideQualifiedComponentEx().
UINT MSIREG_OpenUserDataComponentKey | ( | LPCWSTR | szComponent, |
LPCWSTR | szUserSid, | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 526 of file registry.c.
Referenced by ACTION_ProcessComponents(), comp_find_prodcode(), get_client_counts(), MsiEnumClientsW(), MsiGetProductCodeW(), open_userdata_comp_key(), and query_feature_state().
UINT MSIREG_OpenUserDataFeaturesKey | ( | LPCWSTR | szProduct, |
LPCWSTR | szUserSid, | ||
MSIINSTALLCONTEXT | context, | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 472 of file registry.c.
Referenced by ACTION_PublishFeatures(), MSI_ProvideQualifiedComponentEx(), query_feature_state(), and unpublish_feature().
UINT MSIREG_OpenUserDataPatchKey | ( | LPCWSTR | szPatch, |
MSIINSTALLCONTEXT | dwContext, | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 610 of file registry.c.
Referenced by check_product_patches(), MsiGetPatchInfoExW(), and publish_patches().
UINT MSIREG_OpenUserDataProductKey | ( | LPCWSTR | szProduct, |
MSIINSTALLCONTEXT | dwContext, | ||
LPCWSTR | szUserSid, | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 582 of file registry.c.
Referenced by ACTION_PublishProduct(), check_product_patches(), get_patch_state(), MSI_GetComponentPath(), and MsiGetPatchInfoExW().
UINT MSIREG_OpenUserDataProductPatchesKey | ( | LPCWSTR | product, |
MSIINSTALLCONTEXT | context, | ||
HKEY * | key, | ||
BOOL | create | ||
) |
Definition at line 666 of file registry.c.
Referenced by publish_patches().
Definition at line 390 of file registry.c.
Referenced by OpenSourceKey().
Definition at line 798 of file registry.c.
Referenced by ITERATE_MigrateFeatureStates(), publish_upgrade_code(), and remove_product_upgrade_code().
Definition at line 74 of file registry.c.
Referenced by ACTION_ForceReboot(), ACTION_ProcessComponents(), ACTION_PublishProduct(), ACTION_RegisterProduct(), compose_base85_guid(), create_test_guid(), ITERATE_UnpublishComponent(), MSI_GetComponentPath(), MSI_GetProductInfo(), MSI_GetUserInfo(), MsiEnumPatchesExW(), MsiEnumPatchesW(), MsiGetPatchInfoExW(), MsiGetProductCodeW(), MsiGetProductInfoExW(), MsiOpenProductW(), MsiQueryComponentStateW(), MsiQueryFeatureStateExW(), MsiQueryFeatureStateW(), MSIREG_DeleteClassesUpgradeCodesKey(), MSIREG_DeleteLocalClassesFeaturesKey(), MSIREG_DeleteLocalClassesProductKey(), MSIREG_DeleteProductKey(), MSIREG_DeleteUpgradeCodesKey(), MSIREG_DeleteUserDataComponentKey(), MSIREG_DeleteUserDataPatchKey(), MSIREG_DeleteUserDataProductKey(), MSIREG_DeleteUserFeaturesKey(), MSIREG_DeleteUserProductKey(), MSIREG_DeleteUserUpgradeCodesKey(), MSIREG_OpenClassesUpgradeCodesKey(), MSIREG_OpenFeaturesKey(), MSIREG_OpenInstallerFeaturesKey(), MSIREG_OpenInstallProps(), MSIREG_OpenPatchesKey(), MSIREG_OpenProductKey(), MSIREG_OpenUpgradeCodesKey(), MSIREG_OpenUserComponentsKey(), MSIREG_OpenUserDataComponentKey(), MSIREG_OpenUserDataFeaturesKey(), MSIREG_OpenUserDataPatchKey(), MSIREG_OpenUserDataProductKey(), MSIREG_OpenUserDataProductPatchesKey(), MSIREG_OpenUserPatchesKey(), MSIREG_OpenUserUpgradeCodesKey(), MsiSourceListAddMediaDiskW(), MsiSourceListAddSourceExW(), MsiSourceListAddSourceW(), MsiSourceListEnumMediaDisksW(), MsiSourceListEnumSourcesW(), MsiSourceListGetInfoW(), MsiSourceListSetInfoW(), publish_patches(), publish_product_properties(), publish_upgrade_code(), and remove_product_upgrade_code().
Definition at line 41 of file registry.c.
Referenced by check_product_patches(), fetch_machine_component(), fetch_machine_product(), fetch_user_component(), fetch_user_product(), ITERATE_FindRelatedProducts(), MSI_GetProductInfo(), MsiEnumClientsW(), MsiEnumRelatedProductsW(), and MsiGetProductCodeW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | msi | ) |
Definition at line 110 of file registry.c.
Referenced by decode_base85_guid().
Definition at line 121 of file registry.c.
Referenced by encode_base85_guid().