Expand Minimize

MsiNotifySidChange function

The MsiNotifySidChange function notifies and updates the Windows Installer internal information with changes to user SIDs.

Syntax


UINT MsiNotifySidChange(
  _In_  LPCTSTR szOldSid,
  _In_  LPCTSTR szNewSid

);

Parameters

szOldSid [in]

Null-terminated string that specifies the string value of the previous security identifier(SID).

szNewSid [in]

Null-terminated string that specifies the string value of the new security identifier(SID).

Return value

ValueMeaning
ERROR_INVALID_PARAMETER

An invalid parameter is passed to the function. This error returned if any of the parameters is NULL.

ERROR_SUCCESS

The function succeeded.

ERROR_OUTOFMEMORY

Insufficient memory was available.

ERROR_FUNCTION_FAILED

Internal failure during execution.

 

Remarks

Windows Installer 2.0 and Windows Installer 3.0:  Not supported. This function is available beginning with Windows Installer 3.1.

Requirements

Version

Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer 3.1 on Windows Server 2003, Windows XP, and Windows 2000. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

Header

Msi.h

Library

Msi.lib

DLL

Msi.dll

Unicode and ANSI names

MsiNotifySidChangeW (Unicode) and MsiNotifySidChangeA (ANSI)

See also

Not Supported in Windows Installer 3.0 and earlier

 

 

Community Additions

ADD
Show:
© 2014 Microsoft