SOFTDISTINFO structure
Contains information about a software update.
Syntax
typedef struct _tagSOFTDISTINFO { ULONG cbSize; DWORD dwFlags; DWORD dwAdState; LPWSTR szTitle; LPWSTR szAbstract; LPWSTR szHREF; DWORD dwInstalledVersionMS; DWORD dwInstalledVersionLS; DWORD dwUpdateVersionMS; DWORD dwUpdateVersionLS; DWORD dwAdvertisedVersionMS; DWORD dwAdvertisedVersionLS; DWORD dwReserved; } SOFTDISTINFO, *LPSOFTDISTINFO;
Members
- cbSize
-
Type: ULONG
-
The size of the structure, in bytes.
- dwFlags
-
Type: DWORD
-
This parameter can take one of the following values.
- dwAdState
-
Type: DWORD
-
The advertised state. It can take one of the following values.
- szTitle
-
Type: LPWSTR
-
A string that contains the contents of the TITLE flag from the associated .cdf file.
- szAbstract
-
Type: LPWSTR
-
A string that contains the contents of the ABSTRACT flag from the associated .cdf file.
- szHREF
-
Type: LPWSTR
-
A string that contains the URL of the webpage to advertise or install the update.
- dwInstalledVersionMS
-
Type: DWORD
-
The most-significant unsigned long integer value of the installed version number.
- dwInstalledVersionLS
-
Type: DWORD
-
The least-significant unsigned long integer value of the installed version number.
- dwUpdateVersionMS
-
Type: DWORD
-
The most-significant unsigned long integer value of the update version number.
- dwUpdateVersionLS
-
Type: DWORD
-
The least-significant unsigned long integer value of the update version number.
- dwAdvertisedVersionMS
-
Type: DWORD
-
The most-significant unsigned long integer value of the advertised version number.
- dwAdvertisedVersionLS
-
Type: DWORD
-
The least-significant unsigned long integer value of the advertised version number.
- dwReserved
-
Type: DWORD
-
Reserved. Must be set to zero.
Remarks
The most-significant unsigned long integer of a version number contains the major and minor version numbers. The least-significant unsigned long integer of the version number contains the custom version and build numbers.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|