Applies to: desktop apps only
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
| Value | Meaning |
|---|---|
|
An invalid parameter is passed to the function. This error returned if any of the parameters is NULL. |
|
The function succeeded. |
|
Insufficient memory was available. |
|
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 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 |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | MsiNotifySidChangeW (Unicode) and MsiNotifySidChangeA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012
As a part of the Open Protocol Specifications, the hex values for Win32 error codes can now be found at http://msdn2.microsoft.com/en-us/library/cc231199.aspx.