MSIPATCHSEQUENCEINFOW structure (msi.h)
The MSIPATCHSEQUENCEINFO structure is used by the MsiDeterminePatchSequence and MsiDetermineApplicablePatches functions.
Syntax
typedef struct tagMSIPATCHSEQUENCEINFOW {
LPCWSTR szPatchData;
MSIPATCHDATATYPE ePatchDataType;
DWORD dwOrder;
UINT uStatus;
} MSIPATCHSEQUENCEINFOW, *PMSIPATCHSEQUENCEINFOW;
Members
szPatchData
Pointer to the path of a patch file, an XML blob, or an XML file.
ePatchDataType
Qualifies szPatchData as a patch file, an XML blob, or an XML file.
dwOrder
Set to an integer that indicates the sequence of the patch in the order of application. The sequence starts with 0. If a patch is not applicable to the specified .msi file, or if the function fails, dwOrder is set to -1.
uStatus
Set to ERROR_SUCCESS or the corresponding Win32 error code.
Remarks
Note
The msi.h header defines MSIPATCHSEQUENCEINFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | 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.0 or later on Windows Server 2003 or Windows XP. |
Header | msi.h |