| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 import "oaidl.idl"; | 5 import "oaidl.idl"; |
| 6 import "ocidl.idl"; | 6 import "ocidl.idl"; |
| 7 | 7 |
| 8 [ | 8 [ |
| 9 object, | 9 object, |
| 10 uuid(b59b96da-83cb-40ee-9b91-c377400fc3e3), | 10 uuid(b59b96da-83cb-40ee-9b91-c377400fc3e3), |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 object, | 26 object, |
| 27 uuid(6a7699f0-ee43-43e7-aa30-a6738f9bd470), | 27 uuid(6a7699f0-ee43-43e7-aa30-a6738f9bd470), |
| 28 nonextensible, | 28 nonextensible, |
| 29 helpstring("IRdpDesktopSession Interface"), | 29 helpstring("IRdpDesktopSession Interface"), |
| 30 pointer_default(unique) | 30 pointer_default(unique) |
| 31 ] | 31 ] |
| 32 interface IRdpDesktopSession : IUnknown { | 32 interface IRdpDesktopSession : IUnknown { |
| 33 [ id(1), helpstring("Initiates a loopback RDP connection to spawn a new " | 33 [ id(1), helpstring("Initiates a loopback RDP connection to spawn a new " |
| 34 "Windows session. |width| and |height| specify the " | 34 "Windows session. |width| and |height| specify the " |
| 35 "initial screen resolution. |terminal_id| specifies a " | 35 "initial screen resolution. |terminal_id| specifies a " |
| 36 "unique value to be used to identify this connection.") ] | 36 "unique value to be used to identify this connection." |
| 37 "|port_number| specifies the RDP port number to use.") ] |
| 37 HRESULT Connect([in] long width, [in] long height, [in] BSTR terminal_id, | 38 HRESULT Connect([in] long width, [in] long height, [in] BSTR terminal_id, |
| 39 [in] DWORD port_number, |
| 38 [in] IRdpDesktopSessionEventHandler* event_handler); | 40 [in] IRdpDesktopSessionEventHandler* event_handler); |
| 39 | 41 |
| 40 [ id(2), helpstring("Shuts down the connection created by Connect().") ] | 42 [ id(2), helpstring("Shuts down the connection created by Connect().") ] |
| 41 HRESULT Disconnect(); | 43 HRESULT Disconnect(); |
| 42 | 44 |
| 43 [ id(3), helpstring("Changes the screen resolution.") ] | 45 [ id(3), helpstring("Changes the screen resolution.") ] |
| 44 HRESULT ChangeResolution([in] long width, [in] long height); | 46 HRESULT ChangeResolution([in] long width, [in] long height); |
| 45 | 47 |
| 46 [ id(4), helpstring("Sends Secure Attention Sequence to the session.") ] | 48 [ id(4), helpstring("Sends Secure Attention Sequence to the session.") ] |
| 47 HRESULT InjectSas(); | 49 HRESULT InjectSas(); |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 [ | 52 [ |
| 51 uuid(b6396c45-b0cc-456b-9f49-f12964ee6df4), | 53 uuid(b6396c45-b0cc-456b-9f49-f12964ee6df4), |
| 52 version(1.0), | 54 version(1.0), |
| 53 helpstring("Chromoting 1.0 Type Library") | 55 helpstring("Chromoting 1.0 Type Library") |
| 54 ] | 56 ] |
| 55 library ChromotingLib { | 57 library ChromotingLib { |
| 56 importlib("stdole2.tlb"); | 58 importlib("stdole2.tlb"); |
| 57 | 59 |
| 58 [ | 60 [ |
| 59 uuid(@RDP_DESKTOP_SESSION_CLSID@), | 61 uuid(@RDP_DESKTOP_SESSION_CLSID@), |
| 60 helpstring("RdpDesktopSession Class") | 62 helpstring("RdpDesktopSession Class") |
| 61 ] | 63 ] |
| 62 coclass RdpDesktopSession { | 64 coclass RdpDesktopSession { |
| 63 [default] interface IRdpDesktopSession; | 65 [default] interface IRdpDesktopSession; |
| 64 }; | 66 }; |
| 65 }; | 67 }; |
| OLD | NEW |