Lines Matching defs:usersid

745 UINT WINAPI MsiDeterminePatchSequenceA( const char *product, const char *usersid, MSIINSTALLCONTEXT context,
752 TRACE( "%s, %s, %d, %lu, %p\n", debugstr_a(product), debugstr_a(usersid), context, count, patchinfo );
756 if (usersid && !(usersidW = strdupAtoW( usersid )))
782 static UINT open_package( const WCHAR *product, const WCHAR *usersid,
789 r = MSIREG_OpenInstallProps( product, context, usersid, &props, FALSE );
801 MsiSourceListGetInfoW( product, usersid, context, MSICODE_PRODUCT,
804 MsiSourceListGetInfoW( product, usersid, context, MSICODE_PRODUCT,
814 UINT WINAPI MsiDeterminePatchSequenceW( const WCHAR *product, const WCHAR *usersid, MSIINSTALLCONTEXT context,
820 TRACE( "%s, %s, %d, %lu, %p\n", debugstr_w(product), debugstr_w(usersid), context, count, patchinfo );
823 r = open_package( product, usersid, context, &package );
1305 LPWSTR usersid = NULL;
1319 if (szUserSid) usersid = strdupAtoW(szUserSid);
1322 r = MsiGetProductInfoExW(product, usersid, dwContext, property,
1334 r = MsiGetProductInfoExW(product, usersid, dwContext, property,
1359 free(usersid);
1594 LPWSTR patch = NULL, product = NULL, usersid = NULL;
1608 if (szUserSid) usersid = strdupAtoW(szUserSid);
1612 r = MsiGetPatchInfoExW(patch, product, usersid, dwContext, property,
1624 r = MsiGetPatchInfoExW(patch, product, usersid, dwContext, property,
1651 free(usersid);
2059 LPWSTR prodcode = NULL, usersid = NULL, comp = NULL;
2068 if (szUserSid && !(usersid = strdupAtoW(szUserSid)))
2074 r = MsiQueryComponentStateW(prodcode, usersid, dwContext, comp, pdwState);
2077 free(usersid);
2752 static BOOL open_userdata_comp_key( const WCHAR *comp, const WCHAR *usersid, MSIINSTALLCONTEXT ctx,
2761 if (usersid && !wcsicmp( usersid, L"S-1-1-0" ))
2764 usersid = NULL;
2766 if (!MSIREG_OpenUserDataComponentKey( comp, usersid, hkey, FALSE )) return TRUE;
2846 INSTALLSTATE WINAPI MsiGetComponentPathExW( LPCWSTR product, LPCWSTR comp, LPCWSTR usersid,
2851 TRACE( "%s %s %s 0x%x %p %p\n", debugstr_w(product), debugstr_w(comp), debugstr_w(usersid),
2857 return MSI_GetComponentPath( product, comp, usersid, ctx, &path, buflen );
2860 INSTALLSTATE WINAPI MsiGetComponentPathExA( LPCSTR product, LPCSTR comp, LPCSTR usersid,
2867 TRACE( "%s %s %s 0x%x %p %p\n", debugstr_a(product), debugstr_a(comp), debugstr_a(usersid),
2872 if (usersid && !(usersidW = strdupAtoW( usersid ))) goto end;
2903 static UINT query_feature_state( const WCHAR *product, const WCHAR *squashed, const WCHAR *usersid,
2916 if (MSIREG_OpenFeaturesKey( product, usersid, ctx, &hkey, FALSE )) return ERROR_UNKNOWN_PRODUCT;
2927 r = MSIREG_OpenUserDataFeaturesKey( product, usersid, ctx, &hkey, FALSE );
2956 r = MSIREG_OpenUserDataComponentKey( comp, usersid, &hkey, FALSE );
2987 UINT WINAPI MsiQueryFeatureStateExA( LPCSTR product, LPCSTR usersid, MSIINSTALLCONTEXT ctx,
2994 if (usersid && !(usersidW = strdupAtoW( usersid )))
3012 UINT WINAPI MsiQueryFeatureStateExW( LPCWSTR product, LPCWSTR usersid, MSIINSTALLCONTEXT ctx,
3017 return query_feature_state( product, squashed, usersid, ctx, feature, state );