IWorkspaceRegistration::RemoveResource method (workspaceruntime.h)
Notifies the RemoteApp and Desktop Connection runtime that the client is disconnecting the connection.
Syntax
HRESULT RemoveResource(
[in] DWORD dwCookieConnection
);
Parameters
[in] dwCookieConnection
A DWORD value that contains a connection cookie returned by the AddResource method.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | workspaceruntime.h |