1 /* Copyright (c) 2014 Dr David H. Akehurst (itemis), All Rights Reserved
2  *
3  * The contents of this file is dual-licensed under 2
4  * alternative Open Source/Free licenses: LGPL 2.1 or later and
5  * Apache License 2.0. (starting with JNA version 4.0.0).
6  *
7  * You can freely decide which license you want to apply to
8  * the project.
9  *
10  * You may obtain a copy of the LGPL License at:
11  *
12  * http://www.gnu.org/licenses/licenses.html
13  *
14  * A copy is also included in the downloadable source code package
15  * containing JNA, in file "LGPL2.1".
16  *
17  * You may obtain a copy of the Apache License at:
18  *
19  * http://www.apache.org/licenses/
20  *
21  * A copy is also included in the downloadable source code package
22  * containing JNA, in file "AL2.0".
23  */
24 package com.sun.jna.platform.win32.COM.util.annotation;
25 
26 import java.lang.annotation.ElementType;
27 import java.lang.annotation.Inherited;
28 import java.lang.annotation.Retention;
29 import java.lang.annotation.RetentionPolicy;
30 import java.lang.annotation.Target;
31 
32 @Retention(RetentionPolicy.RUNTIME)
33 @Target({ ElementType.METHOD })
34 @Inherited
35 public @interface ComProperty {
name()36     String name() default "";
dispId()37     int dispId() default -1; //default to dispid unknown
38 }
39