| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| import "oaidl.idl"; |
| import "ocidl.idl"; |
| |
| [ |
| object, |
| oleautomation, |
| uuid(A949CB4E-C4F9-44C4-B213-6BF8AA9AC69C), |
| helpstring("IElevator Interface"), |
| pointer_default(unique) |
| ] |
| interface IElevator : IUnknown |
| { |
| // Returns the class factory for a specific elevator. |
| // |
| // @param elevator_id Unique id for the elevator. |
| HRESULT GetElevatorFactory([in, string] const WCHAR* elevator_id, |
| [out] IClassFactory** factory); |
| }; |
| |
| [ |
| uuid(0014D784-7012-4A79-8AB6-ADDB8193A06E), |
| version(1.0), |
| helpstring("Elevator 1.0 Type Library") |
| ] |
| library ElevatorLib { |
| importlib("stdole2.tlb"); |
| |
| interface IElevator; |
| }; |