AsyncInstallDistributionUnit function
Installs the specified component.
Syntax
HRESULT AsyncInstallDistributionUnit( LPCWSTR szDistUnit, LPCWSTR szTYPE, LPCWSTR szExt, DWORD dwFileVersionMS, DWORD dwFileVersionLS, LPCWSTR szURL, IBindCtx *pbc, _Reserved_ LPVOID pvReserved, DWORD flags );
Parameters
- szDistUnit
-
A pointer to a string that specifies the name of the component.
- szTYPE
-
A pointer to a string that specifies the MIME type of the component. This parameter is used to generate a CLSID for the component.
- szExt
-
A pointer to a string that specifies the extension. If szTYPE is not specified, this parameter is used to generate a CLSID for this component.
- dwFileVersionMS
-
A value of type DWORD that specifies the major version number of the component. When the version is indicated by four words,
#Version=a,b,c,d; dwFileVersionMS indicatesawith the high-order word andbwith the low-order word.DWORD dwFileVersionMS = (a << 16)|b;
- dwFileVersionLS
-
A value of type DWORD that specifies the minor version number of the component. When the version is indicated by four words,
#Version=a,b,c,d; dwFileVersionLS indicatescwith the high-order word anddwith the low-order word.DWORD dwFileVersionLS = (c << 16)|d;
- szURL
-
A pointer to a string that specifies the URL of the component.
- pbc
-
A pointer to an IBindCtx interface that specifies the binding context for this operation.
- pvReserved
- flags
-
A value of type DWORD that specifies one of the following flags.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows XP |
|---|---|
|
Minimum supported server |
Windows 2000 Server |
|
Product |
Internet Explorer 4.0 |
|
Header |
|
|
Library |
|
|
DLL |
|