ホーム › System.DesktopSharing › IRDPSRAPISharingSession
IRDPSRAPISharingSession
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 14
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT Open() |
| 8 | HRESULT Close() |
| 9 | HRESULT put_ColorDepth(INT colorDepth) |
| 10 | HRESULT get_ColorDepth(INT* pColorDepth) |
| 11 | HRESULT get_Properties(IRDPSRAPISessionProperties** ppVal) |
| 12 | HRESULT get_Attendees(IRDPSRAPIAttendeeManager** ppVal) |
| 13 | HRESULT get_Invitations(IRDPSRAPIInvitationManager** ppVal) |
| 14 | HRESULT get_ApplicationFilter(IRDPSRAPIApplicationFilter** ppVal) |
| 15 | HRESULT get_VirtualChannelManager(IRDPSRAPIVirtualChannelManager** ppVal) |
| 16 | HRESULT Pause() |
| 17 | HRESULT Resume() |
| 18 | HRESULT ConnectToClient(LPWSTR bstrConnectionString) |
| 19 | HRESULT SetDesktopSharedRect(INT left, INT top, INT right, INT bottom) |
| 20 | HRESULT GetDesktopSharedRect(INT* pleft, INT* ptop, INT* pright, INT* pbottom) |