Interface IGameUninstaller
- Namespace
- Hi3Helper.Plugin.Core.Management
- Assembly
- Hi3Helper.Plugin.Core.dll
Defines a method which handles the game's uninstallation process.
[GeneratedComInterface]
[Guid("436f6c6c-6170-7365-727f-000000000031")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[IUnknownDerived<InterfaceInformation, InterfaceImplementation>]
public interface IGameUninstaller : IInitializableTask, IFree
Remarks
This interface is intended to perform uninstallation process.
All methods included within this interface are mostly asynchronous which requires awaiting via ComAsyncResult.
Methods
Free()
void Free()
InitAsync(in Guid, out nint)
void InitAsync(in Guid cancelToken, out nint result)
Parameters
UninstallAsync(in Guid, out nint)
Perform uninstallation routine asynchronously.
void UninstallAsync(in Guid cancelToken, out nint result)
Parameters
cancelTokenGuidCancel token for the async operation.
resultnintA pointer to the ComAsyncResult instance.
Remarks
A pointer to the ComAsyncResult instance via result.
The pointer must be passed to AsTask(nint) in order to await the async function.
The function, however is not-returnable.