title | description | ms.assetid | ms.tgt_platform | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RegisterVMMPlugin method of the Win32_SessionDirectoryVMMPlugin class |
Registers a new VMM plug-in. |
8fa6109e-6320-4ad1-b313-f100d8383f85 |
multiple |
|
|
|
|
|
reference |
05/31/2018 |
Registers a new VMM plug-in.
uint32 RegisterVMMPlugin(
[in] string sName,
[in] string sProvider,
[in] string sServiceLocation,
[in] string sClassID,
[in] sint32 Priority = ,
[in] boolean Enabled =
);
-
sName [in]
-
The name of the plug-in.
-
sProvider [in]
-
The name of the plug-in provider.
-
sServiceLocation [in]
-
The service location that the plug-in should contact.
-
sClassID [in]
-
The class identifier of the plug-in.
-
Priority [in]
-
The priority of the plug-in. The higher the value, the higher the priority of the plug-in.
-
Enabled [in]
-
Indicates whether the plug-in is enabled or disabled. True if the plug-in is enabled or false otherwise.
Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|