Stops the guest service.
Syntax
uint32 StopService();
Parameters
This method has no parameters.
Return value
This method returns one of the following values.
| Return code/value | Description |
|---|---|
| Completed with No Error 0 | Success. |
| Not supported 1 |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8.1 [desktop apps only] |
| Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
| Namespace | \\Root\Virtualization\V2 |
| MOF | WindowsVirtualization.V2.mof |
| DLL | Vmms.exe |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
