msi: Fix a copy and paste error.

This commit is contained in:
James Hawkins 2007-07-12 11:35:57 -07:00 committed by Alexandre Julliard
parent 46df2fa9da
commit cf3f442754
1 changed files with 1 additions and 1 deletions

View File

@ -1666,7 +1666,7 @@ HRESULT WINAPI mrp_GetComponentState( IWineMsiRemotePackage *iface, BSTR compone
HRESULT WINAPI mrp_SetComponentState( IWineMsiRemotePackage *iface, BSTR component, INSTALLSTATE state )
{
msi_remote_package_impl* This = mrp_from_IWineMsiRemotePackage( iface );
UINT r = MsiSetFeatureStateW(This->package, (LPWSTR)component, state);
UINT r = MsiSetComponentStateW(This->package, (LPWSTR)component, state);
return HRESULT_FROM_WIN32(r);
}