Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the highest priority plug-in that is enabled.
Syntax
uint32 GetCurrentVMMPlugin(
[out] string sName,
[out] string sProvider,
[out] string sServiceLocation,
[out] string sClassID,
[out] sint32 Priority,
[out] boolean Enabled
);
Parameters
-
sName [out]
-
The name of the plug-in.
-
sProvider [out]
-
The name of the plug-in provider.
-
sServiceLocation [out]
-
The service location that the plug-in should contact.
-
sClassID [out]
-
The class identifier of the plug-in.
-
Priority [out]
-
The priority of the plug-in. The higher the value, the higher the priority of the plug-in.
-
Enabled [out]
-
Indicates whether the plug-in is enabled or disabled. True if the plug-in is enabled or false otherwise.
Return value
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.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2008 R2 |
| Namespace |
Root\CIMv2\TerminalServices |
| MOF |
|
| DLL |
|