MFCreateRemoteDesktopPlugin function
Creates the remote desktop plug-in object. Use this object if the application is running in a Terminal Services client session.
Syntax
HRESULT MFCreateRemoteDesktopPlugin( IMFRemoteDesktopPlugin **ppPlugin );
Parameters
- ppPlugin
-
Receives a pointer to the IMFRemoteDesktopPlugin interface of the plug-in object. The caller must release the interface.
Return value
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The function succeeded. |
|
Remote desktop connections are not allowed by the current session policy. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also