Package installer interface.
More...
import "MiKTeX209-packagemanager.idl";
List of all members.
Public Member Functions |
HRESULT | Add ([in] BSTR packageName,[in] VARIANT_BOOL toBeInstalled) |
| Adds a package to the installer queue.
|
HRESULT | SetCallback ([in] IUnknown *callback) |
| Sets the client callback interface.
|
HRESULT | InstallRemove () |
| Installs/Uninstalls packages.
|
HRESULT | GetErrorInfo ([out, retval] ErrorInfo *errorInfo) |
| Gets information about the last error.
|
HRESULT | UpdateDb () |
| Updates the package database.
|
HRESULT | SetRepository ([in] BSTR repository) |
| Set the package repository.
|
Detailed Description
Package installer interface.
Member Function Documentation
HRESULT IPackageInstaller::Add |
( |
[in] BSTR |
packageName, |
|
|
[in] VARIANT_BOOL |
toBeInstalled |
|
) |
| |
Adds a package to the installer queue.
- Parameters:
-
[in] | packageName | Name of the package to be installed/uninstalled. |
[in] | toBeInstalled | Boolean value that determines whether the package shall be installed or uninstalled. |
HRESULT IPackageInstaller::GetErrorInfo |
( |
[out, retval] ErrorInfo * |
errorInfo | ) |
|
Gets information about the last error.
- Returns:
- Returns the error information.
HRESULT IPackageInstaller::SetCallback |
( |
[in] IUnknown * |
callback | ) |
|
Sets the client callback interface.
- Parameters:
-
HRESULT IPackageInstaller::SetRepository |
( |
[in] BSTR |
repository | ) |
|
Set the package repository.
- Parameters:
-
[in] | repository | The repository to be used. |
The documentation for this interface was generated from the following file: