次の方法で共有


IWorkspaceRegistration::RemoveResource メソッド (workspaceruntime.h)

クライアントが接続を切断していることを RemoteApp とデスクトップ接続ランタイムに通知します。

構文

HRESULT RemoveResource(
  [in] DWORD dwCookieConnection
);

パラメーター

[in] dwCookieConnection

AddResource メソッドによって返される接続 Cookie を含む DWORD 値。

戻り値

このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。

要件

   
サポートされている最小のクライアント Windows 7
サポートされている最小のサーバー Windows Server 2008 R2
対象プラットフォーム Windows
ヘッダー workspaceruntime.h

関連項目

IWorkspaceRegistration

IWorkspaceRegistration2