MSIPATCHSEQUENCEINFOA structure (msi.h)

The MSIPATCHSEQUENCEINFO structure is used by the MsiDeterminePatchSequence and MsiDetermineApplicablePatches functions.

Syntax

typedef struct tagMSIPATCHSEQUENCEINFOA {
  LPCSTR           szPatchData;
  MSIPATCHDATATYPE ePatchDataType;
  DWORD            dwOrder;
  UINT             uStatus;
} MSIPATCHSEQUENCEINFOA, *PMSIPATCHSEQUENCEINFOA;

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.

Value Meaning
MSIPATCH_DATATYPE_PATCHFILE
0
The szPatchData member refers to a path of a patch file.
MSIPATCH_DATATYPE_XMLPATH
1
The szPatchData member refers to a path of a XML file.
MSIPATCH_DATATYPE_XMLBLOB
2
The szPatchData member refers to an XML blob.

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

See also

MsiDetermineApplicablePatches

MsiDeterminePatchSequence

Not Supported in Windows Installer 2.0 and earlier